fix: use correct JSR specifier for @meshtastic/protobufs (#1028)
* fix: use correct JSR specifier for @meshtastic/protobufs Pin pnpm version in CI workflows, remove unused .npmrc, and fix the protobufs dependency specifier to use the full JSR format. * updating lock file * debug fix * tried removing and re-adding protobuf package * updating pnpm version * moar fixes * add npmrc back * update lock file
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: 10.32.1
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
|||||||
@@ -26,20 +26,28 @@ jobs:
|
|||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 10.32.1
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
cache-dependency-path: "**/pnpm-lock.yaml"
|
cache-dependency-path: pnpm-lock.yaml
|
||||||
|
|
||||||
- name: Prefetch dependencies
|
- name: Debug dependency state
|
||||||
run: pnpm fetch
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
echo "GITHUB_SHA=${GITHUB_SHA}"
|
||||||
|
git log --oneline -1
|
||||||
|
pnpm --version
|
||||||
|
node --version
|
||||||
|
grep -n "meshtastic__protobufs" pnpm-lock.yaml || true
|
||||||
|
grep -n "2.7.18" pnpm-lock.yaml || true
|
||||||
|
grep -n "2.7.20" pnpm-lock.yaml || true
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile --prefer-offline
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: pnpm run lint
|
run: pnpm run lint
|
||||||
|
|||||||
+2
-1
@@ -34,7 +34,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bufbuild/protobuf": "^2.9.0",
|
"@bufbuild/protobuf": "^2.9.0",
|
||||||
"@meshtastic/protobufs": "jsr:^2.7.18",
|
"@meshtastic/protobufs": "jsr:^2.7.20",
|
||||||
"ste-simple-events": "^3.0.11",
|
"ste-simple-events": "^3.0.11",
|
||||||
"tslog": "^4.9.3"
|
"tslog": "^4.9.3"
|
||||||
},
|
},
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
"typescript": "^5.9.2",
|
"typescript": "^5.9.2",
|
||||||
"vitest": "^3.2.4"
|
"vitest": "^3.2.4"
|
||||||
},
|
},
|
||||||
|
"packageManager": "pnpm@10.32.1",
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"onlyBuiltDependencies": [
|
"onlyBuiltDependencies": [
|
||||||
"@serialport/bindings-cpp",
|
"@serialport/bindings-cpp",
|
||||||
|
|||||||
@@ -108,14 +108,14 @@
|
|||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"gzipper": "^8.2.1",
|
"gzipper": "^8.2.1",
|
||||||
"happy-dom": "^20.0.2",
|
"happy-dom": "^20.0.2",
|
||||||
|
"oxfmt": "^0.16.0",
|
||||||
|
"oxlint": "^1.41.0",
|
||||||
"tailwind-merge": "^3.3.1",
|
"tailwind-merge": "^3.3.1",
|
||||||
"tailwindcss": "^4.1.14",
|
"tailwindcss": "^4.1.14",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
"tar": "^7.5.11",
|
"tar": "^7.5.11",
|
||||||
"testing-library": "^0.0.2",
|
"testing-library": "^0.0.2",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^5.9.3",
|
||||||
"vitest": "^3.2.4",
|
"vitest": "^3.2.4"
|
||||||
"oxfmt": "^0.16.0",
|
|
||||||
"oxlint": "^1.41.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+3445
-4481
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user