build: pin pnpm 12.3.4 in package.json and route just recipes through corepack
This commit is contained in:
@@ -2,13 +2,14 @@ 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
|
{{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
|
||||||
@@ -37,13 +38,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
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
"name": "ddcbrightness",
|
"name": "ddcbrightness",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"description": "A GNOME Extension to control display brightness via DDC/CI using ddcutil",
|
"description": "A GNOME Extension to control display brightness via DDC/CI using ddcutil",
|
||||||
|
"packageManager": "pnpm@12.3.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
"author": "Lucas Oskorep <lucas.oskorep@gmail.com>",
|
"author": "Lucas Oskorep <lucas.oskorep@gmail.com>",
|
||||||
|
|||||||
Generated
+737
-233
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user