Merge pull request #3590 from halkeye/halkeye/chore/pnpm
Some checks are pending
Node.js CI / build (mysql, 18.18) (push) Waiting to run
Node.js CI / build (postgresql, 18.18) (push) Waiting to run

chore: finish migration of yarn/npm to pnpm everywhere
This commit is contained in:
Mike Cao 2025-08-27 22:29:51 -07:00 committed by GitHub
commit df786d1fbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 10 deletions

View file

@ -29,10 +29,10 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'yarn' cache: 'pnpm'
env: env:
DATABASE_TYPE: ${{ matrix.db-type }} DATABASE_TYPE: ${{ matrix.db-type }}
- run: npm install --global yarn - run: npm install --global pnpm
- run: yarn install - run: pnpm install
- run: yarn test - run: pnpm test
- run: yarn build - run: pnpm build

1
.gitignore vendored
View file

@ -4,6 +4,7 @@
node_modules node_modules
.pnp .pnp
.pnp.js .pnp.js
.pnpm-store
# testing # testing
/coverage /coverage

View file

@ -43,7 +43,7 @@ A detailed getting started guide can be found at [umami.is/docs](https://umami.i
```bash ```bash
git clone https://github.com/umami-software/umami.git git clone https://github.com/umami-software/umami.git
cd umami cd umami
npm install pnpm install
``` ```
### Configure Umami ### Configure Umami
@ -64,7 +64,7 @@ mysql://username:mypassword@localhost:3306/mydb
### Build the Application ### Build the Application
```bash ```bash
npm run build pnpm run build
``` ```
_The build step will create tables in your database if you are installing for the first time. It will also create a login user with username **admin** and password **umami**._ _The build step will create tables in your database if you are installing for the first time. It will also create a login user with username **admin** and password **umami**._
@ -72,7 +72,7 @@ _The build step will create tables in your database if you are installing for th
### Start the Application ### Start the Application
```bash ```bash
npm run start pnpm run start
``` ```
_By default, this will launch the application on `http://localhost:3000`. You will need to either [proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/) requests from your web server or change the [port](https://nextjs.org/docs/api-reference/cli#production) to serve the application directly._ _By default, this will launch the application on `http://localhost:3000`. You will need to either [proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/) requests from your web server or change the [port](https://nextjs.org/docs/api-reference/cli#production) to serve the application directly._
@ -107,8 +107,8 @@ To get the latest features, simply do a pull, install any new dependencies, and
```bash ```bash
git pull git pull
npm install pnpm install
npm run build pnpm run build
``` ```
To update the Docker image, simply pull the new images and rebuild: To update the Docker image, simply pull the new images and rebuild: