chore: use pnpm for builds

This commit is contained in:
Min Idzelis 2025-07-05 18:48:10 +00:00
parent 2baf58c808
commit 82ef467f64
2 changed files with 9 additions and 5 deletions

View File

@ -6,8 +6,10 @@ Please see the [Immich CLI documentation](https://immich.app/docs/features/comma
Before building the CLI, you must build the immich server and the open-api client. To build the server run the following in the server folder:
$ npm install
$ npm run build
# if you don't have node installed
$ npm install -g pnpm
$ pnpm install
$ pnpm build
Then, to build the open-api client run the following in the open-api folder:
@ -15,8 +17,10 @@ Then, to build the open-api client run the following in the open-api folder:
To run the Immich CLI from source, run the following in the cli folder:
$ npm install
$ npm run build
# if you don't have node installed
$ npm install -g pnpm
$ pnpm install
$ pnpm build
$ ts-node .
You'll need ts-node, the easiest way to install it is to use npm:

View File

@ -34,7 +34,7 @@ function typescript {
# requires server to be built
(
cd ..
cd ..
pnpm --filter immich install
pnpm --filter immich build
pnpm --filter immich sync:open-api