Skip to content

Commit

Permalink
chore: upgrade all the deps (#319)
Browse files Browse the repository at this point in the history
Updates all the deps and aligns versions so we don't have various
version of the multiformat and @ipld/car

Most updates have been generate with a help of `pnpm upgrade
--interactive -r ` command, however for some reason it was failing to
update deps in `examples` directory resulting in multiple versions of
`multiformats` and `@ipld/car`. I end up working around this by manually
changing `package.json`-s of packages that were referencing old
versions.

Co-authored-by: Travis Vachon <[email protected]>
  • Loading branch information
Gozala and travis authored Feb 2, 2023
1 parent 74a298c commit c62e8cf
Show file tree
Hide file tree
Showing 18 changed files with 223 additions and 246 deletions.
4 changes: 2 additions & 2 deletions examples/react/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"@storybook/testing-library": "^0.0.13",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@ucanto/interface": "^4.0.3",
"@ucanto/interface": "^4.2.3",
"@vitejs/plugin-react": "^3.0.0",
"@w3ui/uploads-list-core": "workspace:^",
"multiformats": "^10.0.2",
"multiformats": "^11.0.1",
"prop-types": "^15.8.1",
"storybook": "^7.0.0-beta.29",
"vite": "^4.0.0"
Expand Down
6 changes: 3 additions & 3 deletions examples/react/playground/src/stories/UploadsList.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { CID } from 'multiformats/cid'
import * as Link from 'multiformats/link'
// these imports used by commented-out functions below, delete if we don't bring those back soon
// import { sha256 } from 'multiformats/hashes/sha2'
// import * as raw from 'multiformats/codecs/raw'
Expand Down Expand Up @@ -32,7 +32,7 @@ export const Empty = {

export const OneItem = {
render: () => {
const state = { data: [{ root: CID.parse('QmPr755CxWUwt39C2Yiw4UGKrv16uZhSgeZJmoHUUS9TSJ') }], loading: false }
const state = { data: [{ root: Link.parse('QmPr755CxWUwt39C2Yiw4UGKrv16uZhSgeZJmoHUUS9TSJ') }], loading: false }
const actions = {
next: async (): Promise<void> => { console.log('NEXT') },
reload: async (): Promise<void> => { }
Expand Down Expand Up @@ -176,4 +176,4 @@ const oneHundredCids = [
'bafkreidvyaevch6silpmqqd5gmacqdpy3ujwxcsjnbukhitpn6eclfpfse',
'bafkreicebeagd3i4yxxsoxpfmibq3t6ebx2evab2xlitsqabdzptae6o4m',
'bafkreids7gwr2igplug6lluxzjmj7l7cy63ckmabhfaciy62zqtw4telyy'
].map(cid => CID.parse(cid))
].map(cid => Link.parse(cid))
2 changes: 1 addition & 1 deletion examples/react/w3console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@heroicons/react": "^2.0.13",
"@ipld/car": "^5.0.3",
"@ipld/car": "^5.1.0",
"@ipld/dag-ucan": "^3.2.0",
"@w3ui/keyring-core": "workspace:^",
"@w3ui/react": "workspace:^",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"@types/jest": "^29.0.2",
"@types/jsdom": "^20.0.1",
"@types/react": "^18.0.18",
"@ucanto/client": "^4.0.3",
"@ucanto/server": "^4.0.3",
"@ucanto/transport": "^4.0.3",
"@ucanto/client": "^4.2.3",
"@ucanto/server": "^4.2.3",
"@ucanto/transport": "^4.2.3",
"@web-std/file": "^3.0.2",
"@web3-storage/capabilities": "^2.0.0",
"@web3-storage/capabilities": "^2.2.0",
"esm": "^3.2.25",
"fake-indexeddb": "^4.0.1",
"jsdom": "^21.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/keyring-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
},
"homepage": "https://github.com/web3-storage/w3ui/tree/main/packages/keyring-core",
"dependencies": {
"@ucanto/interface": "^4.0.3",
"@ucanto/principal": "^4.0.3",
"@web3-storage/access": "^9.2.0"
"@ucanto/interface": "^4.2.3",
"@ucanto/principal": "^4.2.3",
"@web3-storage/access": "^9.3.0"
}
}
6 changes: 3 additions & 3 deletions packages/react-keyring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"ariakit-react-utils": "0.17.0-next.27"
},
"devDependencies": {
"@ucanto/interface": "^4.0.3",
"@ucanto/principal": "^4.0.3",
"@web3-storage/access": "^9.2.0"
"@ucanto/interface": "^4.2.3",
"@ucanto/principal": "^4.2.3",
"@web3-storage/access": "^9.3.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/react-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"dependencies": {
"@w3ui/react-keyring": "workspace:^",
"@w3ui/uploader-core": "workspace:^",
"@web3-storage/capabilities": "^2.0.0",
"@web3-storage/capabilities": "^2.2.0",
"ariakit-react-utils": "0.17.0-next.27",
"multiformats": "^10.0.2"
"multiformats": "^11.0.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-uploads-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@w3ui/react-keyring": "workspace:^",
"@w3ui/uploads-list-core": "workspace:^",
"@web3-storage/capabilities": "^2.0.0",
"@web3-storage/capabilities": "^2.2.0",
"ariakit-react-utils": "0.17.0-next.27"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@w3ui/react-keyring": "workspace:^",
"@w3ui/react-uploader": "workspace:^",
"@w3ui/react-uploads-list": "workspace:^",
"multiformats": "^10.0.2"
"multiformats": "^11.0.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
Expand Down
8 changes: 3 additions & 5 deletions packages/solid-keyring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@
},
"homepage": "https://github.com/web3-storage/w3ui/tree/main/packages/solid-keyring",
"dependencies": {
"@ucanto/interface": "^4.2.3",
"@ucanto/principal": "^4.2.3",
"@w3ui/keyring-core": "workspace:^",
"@ucanto/interface": "^4.0.3",
"@ucanto/principal": "^4.0.3",
"@web3-storage/access": "^9.2.0"
"@web3-storage/access": "^9.3.0"
},
"peerDependencies": {
"solid-js": "^1.5.0"
},
"devDependencies": {
}
}
4 changes: 2 additions & 2 deletions packages/solid-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"dependencies": {
"@w3ui/solid-keyring": "workspace:^",
"@w3ui/uploader-core": "workspace:^",
"@web3-storage/capabilities": "^2.0.0",
"multiformats": "^10.0.2"
"@web3-storage/capabilities": "^2.2.0",
"multiformats": "^11.0.1"
},
"peerDependencies": {
"solid-js": "^1.5.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/solid-uploads-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"dependencies": {
"@w3ui/solid-keyring": "workspace:^",
"@w3ui/uploads-list-core": "workspace:^",
"@web3-storage/capabilities": "^2.0.0"
"@web3-storage/capabilities": "^2.2.0"
},
"peerDependencies": {
"solid-js": "^1.5.0"
},
"devDependencies": {
"@ucanto/interface": "^4.0.3"
"@ucanto/interface": "^4.2.3"
}
}
6 changes: 3 additions & 3 deletions packages/uploader-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
},
"homepage": "https://github.com/web3-storage/w3ui/tree/main/packages/uploader-core",
"dependencies": {
"@ucanto/interface": "^4.0.3",
"@web3-storage/upload-client": "^5.2.0",
"multiformats": "^10.0.2"
"@ucanto/interface": "^4.2.3",
"@web3-storage/upload-client": "^5.4.0",
"multiformats": "^11.0.1"
}
}
4 changes: 2 additions & 2 deletions packages/uploads-list-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"homepage": "https://github.com/web3-storage/w3ui/tree/main/packages/uploads-list-core",
"dependencies": {
"@ucanto/interface": "^4.0.3",
"@web3-storage/upload-client": "^5.2.0"
"@ucanto/interface": "^4.2.3",
"@web3-storage/upload-client": "^5.4.0"
}
}
6 changes: 3 additions & 3 deletions packages/vue-keyring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"vue": "^3.0.0"
},
"devDependencies": {
"@ucanto/interface": "^4.0.3",
"@ucanto/principal": "^4.0.3",
"@web3-storage/access": "^9.2.0"
"@ucanto/interface": "^4.2.3",
"@ucanto/principal": "^4.2.3",
"@web3-storage/access": "^9.3.0"
}
}
4 changes: 2 additions & 2 deletions packages/vue-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"dependencies": {
"@w3ui/uploader-core": "workspace:^",
"@w3ui/vue-keyring": "workspace:^",
"@web3-storage/capabilities": "^2.0.0",
"multiformats": "^10.0.2"
"@web3-storage/capabilities": "^2.2.0",
"multiformats": "^11.0.1"
},
"peerDependencies": {
"vue": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-uploads-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@w3ui/uploads-list-core": "workspace:^",
"@w3ui/vue-keyring": "workspace:^",
"@web3-storage/capabilities": "^2.0.0"
"@web3-storage/capabilities": "^2.2.0"
},
"peerDependencies": {
"vue": "^3.0.0"
Expand Down
Loading

0 comments on commit c62e8cf

Please sign in to comment.