From 17a42902582481e2424fe7f3c3eb10dd1851e24a Mon Sep 17 00:00:00 2001 From: Tim Shamilov Date: Thu, 19 Sep 2024 12:47:36 -0400 Subject: [PATCH] use workspace for deps (#903) * use workspace for deps * add changesets --- .changeset/tasty-years-argue.md | 12 ++++ .changeset/twelve-humans-doubt.md | 5 ++ packages/agent/package.json | 2 +- packages/api/package.json | 4 +- packages/credentials/package.json | 4 +- packages/crypto-aws-kms/package.json | 2 +- packages/crypto/package.json | 2 +- packages/dids/package.json | 2 +- packages/identity-agent/package.json | 4 +- packages/proxy-agent/package.json | 4 +- packages/user-agent/package.json | 4 +- pnpm-lock.yaml | 104 ++++++++------------------- 12 files changed, 59 insertions(+), 90 deletions(-) create mode 100644 .changeset/tasty-years-argue.md create mode 100644 .changeset/twelve-humans-doubt.md diff --git a/.changeset/tasty-years-argue.md b/.changeset/tasty-years-argue.md new file mode 100644 index 000000000..db7f9afb2 --- /dev/null +++ b/.changeset/tasty-years-argue.md @@ -0,0 +1,12 @@ +--- +"@web5/crypto-aws-kms": patch +"@web5/identity-agent": patch +"@web5/credentials": patch +"@web5/proxy-agent": patch +"@web5/user-agent": patch +"@web5/crypto": patch +"@web5/agent": patch +"@web5/dids": patch +--- + +use workspace for deps diff --git a/.changeset/twelve-humans-doubt.md b/.changeset/twelve-humans-doubt.md new file mode 100644 index 000000000..d7eac5fd8 --- /dev/null +++ b/.changeset/twelve-humans-doubt.md @@ -0,0 +1,5 @@ +--- +"@web5/api": patch +--- + +use workspace for deps diff --git a/packages/agent/package.json b/packages/agent/package.json index f7b5f64db..2a8620c46 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -72,7 +72,7 @@ "@noble/ciphers": "0.5.3", "@scure/bip39": "1.2.2", "@tbd54566975/dwn-sdk-js": "0.4.7", - "@web5/common": "1.0.0", + "@web5/common": "workspace:*", "@web5/crypto": "workspace:*", "@web5/dids": "workspace:*", "abstract-level": "1.0.4", diff --git a/packages/api/package.json b/packages/api/package.json index a5da39837..adf6cfb25 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -78,9 +78,9 @@ }, "dependencies": { "@web5/agent": "workspace:*", - "@web5/common": "1.0.0", + "@web5/common": "workspace:*", "@web5/crypto": "workspace:*", - "@web5/dids": "1.1.0", + "@web5/dids": "workspace:*", "@web5/user-agent": "workspace:*" }, "devDependencies": { diff --git a/packages/credentials/package.json b/packages/credentials/package.json index 9cb28426a..ecedd9c54 100644 --- a/packages/credentials/package.json +++ b/packages/credentials/package.json @@ -76,9 +76,9 @@ }, "dependencies": { "@sphereon/pex": "3.3.3", - "@web5/common": "1.0.1", + "@web5/common": "workspace:*", "@web5/crypto": "workspace:*", - "@web5/dids": "1.1.1", + "@web5/dids": "workspace:*", "jsonschema": "1.4.1", "pako": "^2.1.0" }, diff --git a/packages/crypto-aws-kms/package.json b/packages/crypto-aws-kms/package.json index c494db7b1..ccb4d2060 100644 --- a/packages/crypto-aws-kms/package.json +++ b/packages/crypto-aws-kms/package.json @@ -85,7 +85,7 @@ "@typescript-eslint/parser": "7.14.1", "@web/test-runner": "0.18.2", "@web/test-runner-playwright": "0.11.0", - "@web5/common": "1.0.1", + "@web5/common": "workspace:*", "c8": "9.1.0", "chai": "5.1.1", "chai-as-promised": "8.0.0", diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 309ef1ae0..225ad6e6d 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -73,7 +73,7 @@ "@noble/ciphers": "0.5.3", "@noble/curves": "1.3.0", "@noble/hashes": "1.4.0", - "@web5/common": "1.0.1" + "@web5/common": "workspace:*" }, "devDependencies": { "@playwright/test": "1.45.3", diff --git a/packages/dids/package.json b/packages/dids/package.json index 88cab6639..b6eb51ba7 100644 --- a/packages/dids/package.json +++ b/packages/dids/package.json @@ -78,7 +78,7 @@ "dependencies": { "@decentralized-identity/ion-sdk": "1.0.4", "@dnsquery/dns-packet": "6.1.1", - "@web5/common": "1.0.0", + "@web5/common": "workspace:*", "@web5/crypto": "workspace:*", "abstract-level": "1.0.4", "bencode": "4.0.0", diff --git a/packages/identity-agent/package.json b/packages/identity-agent/package.json index 600caaf95..b520b4abb 100644 --- a/packages/identity-agent/package.json +++ b/packages/identity-agent/package.json @@ -70,9 +70,9 @@ }, "dependencies": { "@web5/agent": "workspace:*", - "@web5/common": "1.0.0", + "@web5/common": "workspace:*", "@web5/crypto": "workspace:*", - "@web5/dids": "1.1.0" + "@web5/dids": "workspace:*" }, "devDependencies": { "@playwright/test": "1.45.3", diff --git a/packages/proxy-agent/package.json b/packages/proxy-agent/package.json index c81637341..95a48606a 100644 --- a/packages/proxy-agent/package.json +++ b/packages/proxy-agent/package.json @@ -70,9 +70,9 @@ }, "dependencies": { "@web5/agent": "workspace:*", - "@web5/common": "1.0.0", + "@web5/common": "workspace:*", "@web5/crypto": "workspace:*", - "@web5/dids": "1.1.0" + "@web5/dids": "workspace:*" }, "devDependencies": { "@playwright/test": "1.45.3", diff --git a/packages/user-agent/package.json b/packages/user-agent/package.json index 4880d3d76..f1bd0df62 100644 --- a/packages/user-agent/package.json +++ b/packages/user-agent/package.json @@ -70,9 +70,9 @@ }, "dependencies": { "@web5/agent": "workspace:*", - "@web5/common": "1.0.0", + "@web5/common": "workspace:*", "@web5/crypto": "workspace:*", - "@web5/dids": "1.1.0" + "@web5/dids": "workspace:*" }, "devDependencies": { "@playwright/test": "1.45.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d2af32d77..acf5b49c2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,8 +67,8 @@ importers: specifier: 0.4.7 version: 0.4.7 '@web5/common': - specifier: 1.0.0 - version: 1.0.0 + specifier: workspace:* + version: link:../common '@web5/crypto': specifier: workspace:* version: link:../crypto @@ -176,14 +176,14 @@ importers: specifier: workspace:* version: link:../agent '@web5/common': - specifier: 1.0.0 - version: 1.0.0 + specifier: workspace:* + version: link:../common '@web5/crypto': specifier: workspace:* version: link:../crypto '@web5/dids': - specifier: 1.1.0 - version: 1.1.0 + specifier: workspace:* + version: link:../dids '@web5/user-agent': specifier: workspace:* version: link:../user-agent @@ -352,14 +352,14 @@ importers: specifier: 3.3.3 version: 3.3.3 '@web5/common': - specifier: 1.0.1 - version: 1.0.1 + specifier: workspace:* + version: link:../common '@web5/crypto': specifier: workspace:* version: link:../crypto '@web5/dids': - specifier: 1.1.1 - version: 1.1.1 + specifier: workspace:* + version: link:../dids jsonschema: specifier: 1.4.1 version: 1.4.1 @@ -452,8 +452,8 @@ importers: specifier: 1.4.0 version: 1.4.0 '@web5/common': - specifier: 1.0.1 - version: 1.0.1 + specifier: workspace:* + version: link:../common devDependencies: '@playwright/test': specifier: 1.45.3 @@ -571,8 +571,8 @@ importers: specifier: 0.11.0 version: 0.11.0 '@web5/common': - specifier: 1.0.1 - version: 1.0.1 + specifier: workspace:* + version: link:../common c8: specifier: 9.1.0 version: 9.1.0 @@ -619,8 +619,8 @@ importers: specifier: 6.1.1 version: 6.1.1 '@web5/common': - specifier: 1.0.0 - version: 1.0.0 + specifier: workspace:* + version: link:../common '@web5/crypto': specifier: workspace:* version: link:../crypto @@ -725,14 +725,14 @@ importers: specifier: workspace:* version: link:../agent '@web5/common': - specifier: 1.0.0 - version: 1.0.0 + specifier: workspace:* + version: link:../common '@web5/crypto': specifier: workspace:* version: link:../crypto '@web5/dids': - specifier: 1.1.0 - version: 1.1.0 + specifier: workspace:* + version: link:../dids devDependencies: '@playwright/test': specifier: 1.45.3 @@ -813,14 +813,14 @@ importers: specifier: workspace:* version: link:../agent '@web5/common': - specifier: 1.0.0 - version: 1.0.0 + specifier: workspace:* + version: link:../common '@web5/crypto': specifier: workspace:* version: link:../crypto '@web5/dids': - specifier: 1.1.0 - version: 1.1.0 + specifier: workspace:* + version: link:../dids devDependencies: '@playwright/test': specifier: 1.45.3 @@ -898,14 +898,14 @@ importers: specifier: workspace:* version: link:../agent '@web5/common': - specifier: 1.0.0 - version: 1.0.0 + specifier: workspace:* + version: link:../common '@web5/crypto': specifier: workspace:* version: link:../crypto '@web5/dids': - specifier: 1.1.0 - version: 1.1.0 + specifier: workspace:* + version: link:../dids devDependencies: '@playwright/test': specifier: 1.45.3 @@ -1726,9 +1726,6 @@ packages: '@noble/ciphers@0.3.0': resolution: {integrity: sha512-ldbrnOjmNRwFdXcTM6uXDcxpMIFrbzAWNnpBPp4oTJTFF0XByGD6vf45WrehZGXRQTRVV+Zm8YP+EgEf+e4cWA==} - '@noble/ciphers@0.4.1': - resolution: {integrity: sha512-QCOA9cgf3Rc33owG0AYBB9wszz+Ul2kramWN8tXG44Gyciud/tbkEqvxRF/IpqQaBpRBNi9f4jdNxqB2CQCIXg==} - '@noble/ciphers@0.5.3': resolution: {integrity: sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==} @@ -2491,22 +2488,10 @@ packages: resolution: {integrity: sha512-dxczXqzWt6HCwuNyOVBeakg6GgOpP74tVEVxBeKkb+D3XcSP96mYaDtky5ZnjY4iBYb16SaCgwje+sgevOL51A==} engines: {node: '>=18.0.0'} - '@web5/crypto@1.0.0': - resolution: {integrity: sha512-z1CsgycTqiXEsS6pPlJDDLGAeGsgzfdBeWvyxLXTgh08Q8ACULmEGRXjSsgWHFn6DO6MpWFn55h/hF4wZZRxvA==} - engines: {node: '>=18.0.0'} - '@web5/crypto@1.0.3': resolution: {integrity: sha512-gZJKo0scX+L53E2K/5cgEiFYxejzHP2RSg64ncF6TitOnCNxUyWjofovgufb+u3ZpGC4iuliD7V0o1C+V73Law==} engines: {node: '>=18.0.0'} - '@web5/dids@1.1.0': - resolution: {integrity: sha512-d9pKf/DW+ziUiV5g3McC71utyAhQyT1tYGPbQSYWt2ji6FHGNC6tffHMfLXXK/W+vbwV3eNTn06JqTXRaYhxBA==} - engines: {node: '>=18.0.0'} - - '@web5/dids@1.1.1': - resolution: {integrity: sha512-LKc6Okl2iz78QGJCsd8QKQq3LdtmfQ9cfiRKu1BU4ITWteWsg4JD089hKmslNDd2KKnEf9LE72TqEYWxr/e8JA==} - engines: {node: '>=18.0.0'} - '@web5/dids@1.1.3': resolution: {integrity: sha512-M9EfsEYcOtYuEvUQjow4vpxXbD0Sz5H8EuDXMtwuvP4UdYL0ATl+60F8+8HDmwPFeUy6M2wxuoixrLDwSRFwZA==} engines: {node: '>=18.0.0'} @@ -6875,8 +6860,6 @@ snapshots: '@noble/ciphers@0.3.0': {} - '@noble/ciphers@0.4.1': {} - '@noble/ciphers@0.5.3': {} '@noble/curves@1.3.0': @@ -8305,13 +8288,6 @@ snapshots: multiformats: 13.1.0 readable-stream: 4.4.2 - '@web5/crypto@1.0.0': - dependencies: - '@noble/ciphers': 0.4.1 - '@noble/curves': 1.3.0 - '@noble/hashes': 1.3.3 - '@web5/common': 1.0.0 - '@web5/crypto@1.0.3': dependencies: '@noble/ciphers': 0.5.3 @@ -8319,30 +8295,6 @@ snapshots: '@noble/hashes': 1.4.0 '@web5/common': 1.0.1 - '@web5/dids@1.1.0': - dependencies: - '@decentralized-identity/ion-sdk': 1.0.4 - '@dnsquery/dns-packet': 6.1.1 - '@web5/common': 1.0.0 - '@web5/crypto': 1.0.0 - abstract-level: 1.0.4 - bencode: 4.0.0 - buffer: 6.0.3 - level: 8.0.1 - ms: 2.1.3 - - '@web5/dids@1.1.1': - dependencies: - '@decentralized-identity/ion-sdk': 1.0.4 - '@dnsquery/dns-packet': 6.1.1 - '@web5/common': 1.0.0 - '@web5/crypto': 1.0.0 - abstract-level: 1.0.4 - bencode: 4.0.0 - buffer: 6.0.3 - level: 8.0.1 - ms: 2.1.3 - '@web5/dids@1.1.3': dependencies: '@decentralized-identity/ion-sdk': 1.0.4