build: pin pnpm 12.3.4 in package.json and route just recipes through corepack

This commit is contained in:
Lucas Oskorep
2026-09-07 15:05:52 -04:00
parent 29813f841b
commit 234a682103
3 changed files with 744 additions and 238 deletions
+6 -5
View File
@@ -2,13 +2,14 @@ set dotenv-load
NAME:="ddcbrightness"
DOMAIN:="lucaso.io"
FULL_NAME:=NAME + "@" + DOMAIN
PNPM:="npx --yes corepack pnpm"
packages:
pnpm install
{{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
@@ -37,13 +38,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
+1
View File
@@ -2,6 +2,7 @@
"name": "ddcbrightness",
"version": "0.1.0",
"description": "A GNOME Extension to control display brightness via DDC/CI using ddcutil",
"packageManager": "pnpm@12.3.4",
"type": "module",
"private": true,
"author": "Lucas Oskorep <lucas.oskorep@gmail.com>",
+737 -233
View File
File diff suppressed because it is too large Load Diff