build: only use npx corepack in packages recipe, use pnpm directly elsewhere
This commit is contained in:
@@ -2,14 +2,13 @@ set dotenv-load
|
|||||||
NAME:="ddcbrightness"
|
NAME:="ddcbrightness"
|
||||||
DOMAIN:="lucaso.io"
|
DOMAIN:="lucaso.io"
|
||||||
FULL_NAME:=NAME + "@" + DOMAIN
|
FULL_NAME:=NAME + "@" + DOMAIN
|
||||||
PNPM:="npx --yes corepack pnpm"
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
{{PNPM}} install
|
npx --yes corepack pnpm install
|
||||||
|
|
||||||
build: packages && build-schemas
|
build: packages && build-schemas
|
||||||
rm -rf dist/*
|
rm -rf dist/*
|
||||||
{{PNPM}} run build
|
pnpm run build
|
||||||
cp metadata.json dist/
|
cp metadata.json dist/
|
||||||
cp stylesheet.css dist/
|
cp stylesheet.css dist/
|
||||||
mkdir -p dist/schemas
|
mkdir -p dist/schemas
|
||||||
@@ -38,13 +37,13 @@ live-debug:
|
|||||||
journalctl /usr/bin/gnome-shell -f -o cat | tee debug.log
|
journalctl /usr/bin/gnome-shell -f -o cat | tee debug.log
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
{{PNPM}} run lint
|
pnpm run lint
|
||||||
|
|
||||||
lint-fix:
|
lint-fix:
|
||||||
{{PNPM}} run lint --fix
|
pnpm run lint --fix
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
{{PNPM}} run clean
|
pnpm run clean
|
||||||
|
|
||||||
analyze: build-package
|
analyze: build-package
|
||||||
uv pip install -U shexli
|
uv pip install -U shexli
|
||||||
|
|||||||
Reference in New Issue
Block a user