From e7941dbe34445151a82ad68a4465f02bcbc96337 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 9 Mar 2026 19:49:48 +0100 Subject: [PATCH] fix: migrate JSR dependency from legacy npm:@jsr/ to native jsr: protocol Replace the legacy npm compatibility layer approach with pnpm's native jsr: protocol support (available since pnpm 10.9.0) to fix 404 errors when fetching @jsr/std__assert tarballs from npm.jsr.io. - package.json: use jsr:@std/expect specifier instead of npm:@jsr/std__expect - package.json, ui/web/package.json: bump engines.pnpm to >=10.9.0 - .npmrc: remove @jsr:registry=https://npm.jsr.io (no longer needed) - pnpm-lock.yaml: regenerated with native JSR resolution --- .npmrc | 1 - package.json | 4 ++-- pnpm-lock.yaml | 55 ++++----------------------------------------- ui/web/package.json | 2 +- 4 files changed, 7 insertions(+), 55 deletions(-) diff --git a/.npmrc b/.npmrc index ca35ab2e..521a9f7c 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ -@jsr:registry=https://npm.jsr.io legacy-peer-deps=true diff --git a/package.json b/package.json index c49a7e65..aef78a1e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "3.0.0", "engines": { "node": ">=22.0.0", - "pnpm": ">=9.0.0" + "pnpm": ">=10.9.0" }, "volta": { "node": "24.14.0", @@ -104,7 +104,7 @@ "@cspell/eslint-plugin": "^9.7.0", "@eslint/js": "^9.39.4", "@mikro-orm/cli": "^6.6.9", - "@std/expect": "npm:@jsr/std__expect@^1.0.18", + "@std/expect": "jsr:@std/expect@^1.0.18", "@types/node": "^24.12.0", "@types/semver": "^7.7.1", "@types/ws": "^8.18.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f3e4a19c..b34659b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -92,7 +92,7 @@ importers: specifier: ^6.6.9 version: 6.6.9(better-sqlite3@11.10.0)(mariadb@3.4.5) '@std/expect': - specifier: npm:@jsr/std__expect@^1.0.18 + specifier: jsr:@std/expect@^1.0.18 version: '@jsr/std__expect@1.0.18' '@types/node': specifier: ^24.12.0 @@ -1493,27 +1493,15 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@vue/compiler-core@3.5.29': - resolution: {integrity: sha512-cuzPhD8fwRHk8IGfmYaR4eEe4cAyJEL66Ove/WZL7yWNL134nqLddSLwNRIsFlnnW1kK+p8Ck3viFnC0chXCXw==} - '@vue/compiler-core@3.5.30': resolution: {integrity: sha512-s3DfdZkcu/qExZ+td75015ljzHc6vE+30cFMGRPROYjqkroYI5NV2X1yAMX9UeyBNWB9MxCfPcsjpLS11nzkkw==} - '@vue/compiler-dom@3.5.29': - resolution: {integrity: sha512-n0G5o7R3uBVmVxjTIYcz7ovr8sy7QObFG8OQJ3xGCDNhbG60biP/P5KnyY8NLd81OuT1WJflG7N4KWYHaeeaIg==} - '@vue/compiler-dom@3.5.30': resolution: {integrity: sha512-eCFYESUEVYHhiMuK4SQTldO3RYxyMR/UQL4KdGD1Yrkfdx4m/HYuZ9jSfPdA+nWJY34VWndiYdW/wZXyiPEB9g==} - '@vue/compiler-sfc@3.5.29': - resolution: {integrity: sha512-oJZhN5XJs35Gzr50E82jg2cYdZQ78wEwvRO6Y63TvLVTc+6xICzJHP1UIecdSPPYIbkautNBanDiWYa64QSFIA==} - '@vue/compiler-sfc@3.5.30': resolution: {integrity: sha512-LqmFPDn89dtU9vI3wHJnwaV6GfTRD87AjWpTWpyrdVOObVtjIuSeZr181z5C4PmVx/V3j2p+0f7edFKGRMpQ5A==} - '@vue/compiler-ssr@3.5.29': - resolution: {integrity: sha512-Y/ARJZE6fpjzL5GH/phJmsFwx3g6t2KmHKHx5q+MLl2kencADKIrhH5MLF6HHpRMmlRAYBRSvv347Mepf1zVNw==} - '@vue/compiler-ssr@3.5.30': resolution: {integrity: sha512-NsYK6OMTnx109PSL2IAyf62JP6EUdk4Dmj6AkWcJGBvN0dQoMYtVekAmdqgTtWQgEJo+Okstbf/1p7qZr5H+bA==} @@ -1540,9 +1528,6 @@ packages: peerDependencies: vue: 3.5.30 - '@vue/shared@3.5.29': - resolution: {integrity: sha512-w7SR0A5zyRByL9XUkCfdLs7t9XOHUyJ67qPGQjOou3p6GvBeBW+AVjUUmlxtZ4PIYaRvE+1LmK44O4uajlZwcg==} - '@vue/shared@3.5.30': resolution: {integrity: sha512-YXgQ7JjaO18NeK2K9VTbDHaFy62WrObMa6XERNfNOkAhD1F1oDSf3ZJ7K6GqabZ0BvSDHajp8qfS5Sa2I9n8uQ==} @@ -7381,7 +7366,7 @@ snapshots: '@vue-macros/common@3.1.2(vue@3.5.30(typescript@5.9.3))': dependencies: - '@vue/compiler-sfc': 3.5.29 + '@vue/compiler-sfc': 3.5.30 ast-kit: 2.2.0 local-pkg: 1.1.2 magic-string-ast: 1.0.3 @@ -7401,7 +7386,7 @@ snapshots: '@babel/types': 7.29.0 '@vue/babel-helper-vue-transform-on': 2.0.1 '@vue/babel-plugin-resolve-type': 2.0.1(@babel/core@7.29.0) - '@vue/shared': 3.5.29 + '@vue/shared': 3.5.30 optionalDependencies: '@babel/core': 7.29.0 transitivePeerDependencies: @@ -7414,18 +7399,10 @@ snapshots: '@babel/helper-module-imports': 7.28.6 '@babel/helper-plugin-utils': 7.28.6 '@babel/parser': 7.29.0 - '@vue/compiler-sfc': 3.5.29 + '@vue/compiler-sfc': 3.5.30 transitivePeerDependencies: - supports-color - '@vue/compiler-core@3.5.29': - dependencies: - '@babel/parser': 7.29.0 - '@vue/shared': 3.5.29 - entities: 7.0.1 - estree-walker: 2.0.2 - source-map-js: 1.2.1 - '@vue/compiler-core@3.5.30': dependencies: '@babel/parser': 7.29.0 @@ -7434,28 +7411,11 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.1 - '@vue/compiler-dom@3.5.29': - dependencies: - '@vue/compiler-core': 3.5.29 - '@vue/shared': 3.5.29 - '@vue/compiler-dom@3.5.30': dependencies: '@vue/compiler-core': 3.5.30 '@vue/shared': 3.5.30 - '@vue/compiler-sfc@3.5.29': - dependencies: - '@babel/parser': 7.29.0 - '@vue/compiler-core': 3.5.29 - '@vue/compiler-dom': 3.5.29 - '@vue/compiler-ssr': 3.5.29 - '@vue/shared': 3.5.29 - estree-walker: 2.0.2 - magic-string: 0.30.21 - postcss: 8.5.8 - source-map-js: 1.2.1 - '@vue/compiler-sfc@3.5.30': dependencies: '@babel/parser': 7.29.0 @@ -7468,11 +7428,6 @@ snapshots: postcss: 8.5.8 source-map-js: 1.2.1 - '@vue/compiler-ssr@3.5.29': - dependencies: - '@vue/compiler-dom': 3.5.29 - '@vue/shared': 3.5.29 - '@vue/compiler-ssr@3.5.30': dependencies: '@vue/compiler-dom': 3.5.30 @@ -7513,8 +7468,6 @@ snapshots: '@vue/shared': 3.5.30 vue: 3.5.30(typescript@5.9.3) - '@vue/shared@3.5.29': {} - '@vue/shared@3.5.30': {} '@vue/test-utils@2.4.6': diff --git a/ui/web/package.json b/ui/web/package.json index 2d719f11..db1f69aa 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -5,7 +5,7 @@ "readme": "README.md", "engines": { "node": ">=22.0.0", - "pnpm": ">=9.0.0" + "pnpm": ">=10.9.0" }, "volta": { "node": "24.14.0", -- 2.43.0