mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
build(web): use pnpm from corepack (#935)
* feat(web): use pnpm packageManager on package.json * build(web): add frozen-lockfile to Makefile * build(docker): use the same node version as Docker image * build(docker): enable corepack * build(makefile): use --dir instead of cd for pnpm
This commit is contained in:
parent
8925266104
commit
1f76aa38f4
4 changed files with 16 additions and 11 deletions
4
Makefile
4
Makefile
|
@ -15,7 +15,7 @@ BINDIR = bin
|
|||
all: clean build
|
||||
|
||||
deps:
|
||||
cd web && pnpm install
|
||||
pnpm --dir web install --frozen-lockfile
|
||||
go mod download
|
||||
|
||||
test:
|
||||
|
@ -30,7 +30,7 @@ build/ctl:
|
|||
go build -ldflags $(GOFLAGS) -o bin/autobrrctl cmd/autobrrctl/main.go
|
||||
|
||||
build/web:
|
||||
cd web && pnpm run build
|
||||
pnpm --dir web run build
|
||||
|
||||
build/docker:
|
||||
docker build -t autobrr:dev -f Dockerfile . --build-arg GIT_TAG=$(GIT_TAG) --build-arg GIT_COMMIT=$(GIT_COMMIT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue