Skip to content

Commit

Permalink
Fix: web3auth publish flow for latest deps (#1701)
Browse files Browse the repository at this point in the history
* Update circleCI for web3auth publish - bump react package version for baseline test on publish

* define location of npmrc file from root

* Return carets back to web3auth dep versions

* fix ci format
  • Loading branch information
Adamj1232 authored May 10, 2023
1 parent 1d91dcc commit 6053661
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,14 @@ aliases:
- &create-npm-config
run:
name: Create NPM rc file
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > .npmrc
command: echo "//registry.npmjs.org/:_authToken=$npm_TOKEN" > ~/.npmrc

- &publish-npm
run:
name: Publish package to NPM
command: npm publish --access public
command: |
npm config set //registry.npmjs.org/:_authToken=${npm_TOKEN}
npm publish --access public
- &publish-npm-tag-as-next
run:
Expand Down Expand Up @@ -287,7 +289,7 @@ jobs:
- node-build-steps
build-web3auth:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:16.18.1
working_directory: ~/web3-onboard-monorepo/packages/web3auth
steps:
- node-build-steps
Expand Down Expand Up @@ -511,7 +513,7 @@ jobs:
- node-staging-build-steps
build-staging-web3auth:
docker:
- image: cimg/node:16.13.1
- image: cimg/node:16.18.1
working_directory: ~/web3-onboard-monorepo/packages/web3auth
steps:
- node-staging-build-steps
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/react",
"version": "2.8.2-alpha.4",
"version": "2.8.2-alpha.5",
"description": "A collection of React hooks for integrating Web3-Onboard in to React and Next.js projects. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down
6 changes: 3 additions & 3 deletions packages/web3auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
},
"dependencies": {
"@web3-onboard/common": "^2.3.2-alpha.2",
"@solana/web3.js": "1.73.0",
"@web3auth/base": "5.0.1",
"@web3auth/modal": "5.0.1",
"@solana/web3.js": "^1.73.0",
"@web3auth/base": "^5.0.1",
"@web3auth/modal": "^5.0.1",
"react-dom": "^18.2.0"
},
"peerDependencies": {
Expand Down

0 comments on commit 6053661

Please sign in to comment.