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"
|
||||
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
|
||||
|
||||
@@ -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>",
|
||||
|
||||
Generated
+737
-233
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user