build: only use npx corepack in packages recipe, use pnpm directly elsewhere

This commit is contained in:
Lucas Oskorep
2026-09-07 15:14:58 -04:00
parent 234a682103
commit d4b31fd2fd
+5 -6
View File
@@ -2,14 +2,13 @@ set dotenv-load
NAME:="ddcbrightness"
DOMAIN:="lucaso.io"
FULL_NAME:=NAME + "@" + DOMAIN
PNPM:="npx --yes corepack pnpm"
packages:
{{PNPM}} install
npx --yes corepack pnpm install
build: packages && build-schemas
rm -rf dist/*
{{PNPM}} run build
pnpm run build
cp metadata.json dist/
cp stylesheet.css dist/
mkdir -p dist/schemas
@@ -38,13 +37,13 @@ live-debug:
journalctl /usr/bin/gnome-shell -f -o cat | tee debug.log
lint:
{{PNPM}} run lint
pnpm run lint
lint-fix:
{{PNPM}} run lint --fix
pnpm run lint --fix
clean:
{{PNPM}} run clean
pnpm run clean
analyze: build-package
uv pip install -U shexli