From 64e69edab717fa961ece6427880615754e8656c6 Mon Sep 17 00:00:00 2001 From: moreal Date: Wed, 11 Dec 2024 16:24:00 +0900 Subject: [PATCH] fix(js): use published `@planetarium/lib9c` --- integrations/javascript/@planetarium/.npmrc | 1 + .../9c-headless-provider/package.json | 14 +++++++------- .../javascript/@planetarium/pnpm-lock.yaml | 18 ++++++++++++++++-- 3 files changed, 24 insertions(+), 9 deletions(-) create mode 100644 integrations/javascript/@planetarium/.npmrc diff --git a/integrations/javascript/@planetarium/.npmrc b/integrations/javascript/@planetarium/.npmrc new file mode 100644 index 0000000000..41583e36ca --- /dev/null +++ b/integrations/javascript/@planetarium/.npmrc @@ -0,0 +1 @@ +@jsr:registry=https://npm.jsr.io diff --git a/integrations/javascript/@planetarium/9c-headless-provider/package.json b/integrations/javascript/@planetarium/9c-headless-provider/package.json index 98c09b82f7..37cd6d284d 100644 --- a/integrations/javascript/@planetarium/9c-headless-provider/package.json +++ b/integrations/javascript/@planetarium/9c-headless-provider/package.json @@ -16,22 +16,22 @@ "license": "AGPL-3.0-only", "dependencies": { "@planetarium/account": "^5.4.1", - "@planetarium/tx": "^5.4.1", "@planetarium/bencodex": "^0.2.2", - "@planetarium/lib9c": "workspace:^", + "@planetarium/lib9c": "npm:@jsr/planetarium__lib9c@^0.4.0", + "@planetarium/tx": "^5.4.1", "graphql-request": "^6.0.0", "graphql-tag": "^2.12.6" }, "devDependencies": { "@biomejs/biome": "^1.7.1", + "@graphql-codegen/cli": "^5.0.2", + "@graphql-codegen/typescript": "^4.0.0", + "@graphql-codegen/typescript-graphql-request": "^6.2.0", + "@graphql-codegen/typescript-operations": "^4.2.0", "@types/node": "^22.10.1", "tsup": "^8.0.2", "tsx": "^4.7.3", "typescript": "^5.4.5", - "vitest": "^1.5.2", - "@graphql-codegen/cli": "^5.0.2", - "@graphql-codegen/typescript": "^4.0.0", - "@graphql-codegen/typescript-graphql-request": "^6.2.0", - "@graphql-codegen/typescript-operations": "^4.2.0" + "vitest": "^1.5.2" } } diff --git a/integrations/javascript/@planetarium/pnpm-lock.yaml b/integrations/javascript/@planetarium/pnpm-lock.yaml index 1e6d109cbd..7a74cbcd68 100644 --- a/integrations/javascript/@planetarium/pnpm-lock.yaml +++ b/integrations/javascript/@planetarium/pnpm-lock.yaml @@ -6,6 +6,8 @@ settings: importers: + .: {} + 9c-headless-provider: dependencies: '@planetarium/account': @@ -15,8 +17,8 @@ importers: specifier: ^0.2.2 version: 0.2.2 '@planetarium/lib9c': - specifier: workspace:^ - version: link:../lib9c + specifier: npm:@jsr/planetarium__lib9c@^0.4.0 + version: '@jsr/planetarium__lib9c@0.4.0' '@planetarium/tx': specifier: ^5.4.1 version: 5.4.1(@planetarium/account@5.4.1) @@ -1104,6 +1106,9 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + '@jsr/planetarium__lib9c@0.4.0': + resolution: {integrity: sha512-bzMzIxdzuRkxwO03TgjTHNvgnhCrqxVF6Bbn3MY8yejOQ6JJeK/qlF5yf0Fk17sSjYtMOmAGSHP5V88HtMaXOg==, tarball: https://npm.jsr.io/~/11/@jsr/planetarium__lib9c/0.4.0.tgz} + '@kamilkisiela/fast-url-parser@1.1.4': resolution: {integrity: sha512-gbkePEBupNydxCelHCESvFSFM8XPh1Zs/OAVRW/rKpEqPAl5PbOM90Si8mv9bvnR53uPD2s/FiRxdvSejpRJew==} @@ -4190,6 +4195,15 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.4.15 + '@jsr/planetarium__lib9c@0.4.0': + dependencies: + '@planetarium/account': 5.4.1 + '@planetarium/bencodex': 0.2.2 + '@planetarium/tx': 5.4.1(@planetarium/account@5.4.1) + buffer: 6.0.3 + decimal.js: 10.4.3 + uuid: 9.0.1 + '@kamilkisiela/fast-url-parser@1.1.4': {} '@noble/hashes@1.4.0': {}