Skip to content

Commit 6db1195

Browse files
committed
fix: install nRF Cloud libraries from NPM instead of JSR
These libraries are published to NPM now, so consume them as ordinary registry dependencies instead of through JSR's NPM compatibility layer (`npm:@jsr/nrfcloud__…`). This also removes `@jsr:registry` and `allow-remote` from `.npmrc`. Nothing is installed from JSR anymore, and `allow-remote` only existed to permit JSR's remote tarball URLs, which NPM v12 blocks by default. Keeping it would leave remote tarball fetches enabled for every dependency in the tree for no reason.
1 parent 367a7c1 commit 6db1195

3 files changed

Lines changed: 20 additions & 20 deletions

File tree

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

package-lock.json

Lines changed: 18 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"devDependencies": {
3636
"@bifravst/prettier-config": "1.1.17",
37-
"@nrfcloud/validate-with-typebox": "npm:@jsr/nrfcloud__validate-with-typebox@^1.0.5",
37+
"@nrfcloud/validate-with-typebox": "^1.0.6",
3838
"@swc/core": "1.15.47",
3939
"@types/aws-lambda": "8.10.162",
4040
"@types/node": "25.9.5",
@@ -69,7 +69,7 @@
6969
"@aws-lambda-powertools/metrics": "2.34.0",
7070
"@middy/core": "7.7.2",
7171
"@middy/input-output-logger": "7.7.2",
72-
"@nrfcloud/problem-detail": "npm:@jsr/nrfcloud__problem-detail@1.4.2",
72+
"@nrfcloud/problem-detail": "1.4.3",
7373
"@sinclair/typebox": "0.34.52"
7474
}
7575
}

0 commit comments

Comments
 (0)