Skip to content

Commit b6a4b17

Browse files
arcoravencompojoomAdamj1232gregfromstlchakra-guy
authored
chore: sync with develop branch (#2376)
* fix: keystone dep breaks yarn 4 installation If you try to use web3-onboard with yarn v4 (although I think the problem will be there with yarn v2 and v3) it fails with: YN0001: │ Error: @keystonehq/eth-keyring@^0.14.00.3 isn't supported by any available resolver First install is ok, but if you run the install again you’ll get the above. 0.14.00.3 is apparently not a valid range and the only way to get this fixed is to fix the dependency. Yarn v1 resolves 0.14.00.3 to 0.14.4 and that is the version I’ve set here. * feature: thirdweb branding * fix: powered by thirdweb link * release: bump versions * chore: bump metamask to 0.32.0 * patch cbwsdk * update versions * update keystone package * lock * update node version in CI * bump node version for keystone ci job * Bump @trezor/connect-web to version 9.5.0 * bump node version for CI * github actions too * update brand * icon update * update version * update version * update wagmi for para * post rebase * feat: add link to thirdweb logo * Setting up GitHub CI for packages * Pin github ci version * update node version for all packages (#2367) * update node version for all packages * update * Update CI (#2368) * Setting up GitHub CI for packages * Pin github ci version * update node version for all packages (#2367) * update node version for all packages * update --------- Co-authored-by: Jake Loo <2171134+jakeloo@users.noreply.github.com> * chore: optimize onekey logo (#2369) * fix: revert @web3-onboard/para in docs to 1.0.0 (#2372) * fix: revert @web3-onboard/para in docs to 1.0.0 * add missing thirdweb icon * Chore: update git pages action (#2375) * fix: revert @web3-onboard/para in docs to 1.0.0 * chore: update git pages * remove auto trigger * rename blocknative URLs to thirdweb --------- Co-authored-by: Daniel Dimitrov <daniel@compojoom.com> Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com> Co-authored-by: gregfromstl <gregfromstl@gmail.com> Co-authored-by: Tamas <soostamas.hu@gmail.com> Co-authored-by: Jake Feldman <95890768+cb-jake@users.noreply.github.com> Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com> Co-authored-by: Tomas Martykan <t.martykan@gmail.com> Co-authored-by: Taylor Bosch <43397354+tbosch82@users.noreply.github.com> Co-authored-by: Jake Loo <2171134+jakeloo@users.noreply.github.com> Co-authored-by: ByteZhang <ByteZhang@protonmail.com>
1 parent 0e361c8 commit b6a4b17

File tree

109 files changed

+3348
-2070
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+3348
-2070
lines changed

.circleci/config.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
aliases:
44
- &docker-image
55
docker:
6-
- image: cimg/node:16.13.1
6+
- image: cimg/node:18.20.3
77

88
- &install_typescript_globally
99
run:
@@ -209,7 +209,7 @@ jobs:
209209
- node-build-steps
210210
build-keystone:
211211
docker:
212-
- image: cimg/node:16.13.1
212+
- image: cimg/node:18.0.0
213213
working_directory: ~/web3-onboard-monorepo/packages/keystone
214214
steps:
215215
- node-build-steps
@@ -245,7 +245,7 @@ jobs:
245245
- node-build-steps
246246
build-trezor:
247247
docker:
248-
- image: cimg/node:18.18.2
248+
- image: cimg/node:20.18.0
249249
working_directory: ~/web3-onboard-monorepo/packages/trezor
250250
steps:
251251
- node-build-steps
@@ -442,10 +442,10 @@ jobs:
442442
working_directory: ~/web3-onboard-monorepo/packages/solid
443443
steps:
444444
- node-build-steps
445-
build-capsule:
445+
build-para:
446446
docker:
447447
- image: cimg/node:18.18.2
448-
working_directory: ~/web3-onboard-monorepo/packages/capsule
448+
working_directory: ~/web3-onboard-monorepo/packages/para
449449
steps:
450450
- node-build-steps
451451
build-particle:
@@ -762,10 +762,10 @@ jobs:
762762
working_directory: ~/web3-onboard-monorepo/packages/solid
763763
steps:
764764
- node-staging-build-steps
765-
build-staging-capsule:
765+
build-staging-para:
766766
docker:
767767
- image: cimg/node:18.18.2
768-
working_directory: ~/web3-onboard-monorepo/packages/capsule
768+
working_directory: ~/web3-onboard-monorepo/packages/para
769769
steps:
770770
- node-staging-build-steps
771771
build-staging-particle:
@@ -1085,11 +1085,11 @@ workflows:
10851085
<<: *deploy_production_filters
10861086
- build-staging-solid:
10871087
<<: *deploy_staging_filters
1088-
capsule:
1088+
para:
10891089
jobs:
1090-
- build-capsule:
1090+
- build-para:
10911091
<<: *deploy_production_filters
1092-
- build-staging-capsule:
1092+
- build-staging-para:
10931093
<<: *deploy_staging_filters
10941094
particle:
10951095
jobs:

.github/workflows/docs.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
name: Deploy documentation to Pages
33

44
on:
5-
# Runs on pushes targeting the default branch
6-
push:
7-
branches: ["docs"]
8-
95
# Allows you to run this workflow manually from the Actions tab
106
workflow_dispatch:
117

@@ -32,13 +28,13 @@ jobs:
3228
working-directory: ./docs
3329
steps:
3430
- name: Checkout
35-
uses: actions/checkout@v3
31+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3632

3733
- name: Setup Pages
38-
uses: actions/configure-pages@v2
34+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b
3935

4036
- name: Setup Nodejs and yarn
41-
uses: actions/setup-node@v2
37+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
4238
with:
4339
node-version: "18.18"
4440
cache: yarn
@@ -52,21 +48,21 @@ jobs:
5248
run: yarn build
5349

5450
- name: Generate the sitemap
55-
uses: cicirello/generate-sitemap@v1
51+
uses: cicirello/generate-sitemap@f76c8312a5a364c49e2610b8af12ae861805a056
5652
with:
5753
path-to-root: './docs/build'
5854
drop-html-extension: true
59-
base-url-path: https://onboard.blocknative.com
55+
base-url-path: https://web3onboard.thirdweb.com
6056

6157
- name: Peak at folder contents
6258
run: ls -al
6359

6460
- name: Upload artifact
65-
uses: actions/upload-pages-artifact@v1
61+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa
6662
with:
6763
# Upload entire repository
6864
path: './docs/build'
6965

7066
- name: Deploy to GitHub Pages
7167
id: deployment
72-
uses: actions/deploy-pages@v1
68+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e

.github/workflows/issue-to-notion.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
name: Node Packages – Production Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
id-token: write # for provenance / npm‑pkg OIDC
10+
packages: write
11+
12+
env:
13+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
14+
15+
jobs:
16+
build-and-publish:
17+
name: Build & publish ${{ matrix.package }}
18+
runs-on: ubuntu-latest
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
include:
24+
- package: core # 1
25+
node: 22
26+
- package: common # 2
27+
node: 22
28+
- package: fortmatic # 3
29+
node: 22
30+
- package: gnosis # 4
31+
node: 22
32+
- package: injected # 5
33+
node: 22
34+
- package: frame # 6
35+
node: 22
36+
- package: keepkey # 7
37+
node: 22
38+
- package: keystone # 8
39+
node: 22
40+
- package: ledger # 9
41+
node: 22
42+
- package: mew # 10
43+
node: 22
44+
- package: mew-wallet # 11
45+
node: 22
46+
- package: portis # 12
47+
node: 22
48+
- package: torus # 13
49+
node: 22
50+
- package: trezor # 14
51+
node: 22
52+
- package: trust # 15
53+
node: 22
54+
- package: okx # 16
55+
node: 22
56+
- package: frontier # 17
57+
node: 22
58+
- package: walletconnect # 18
59+
node: 22
60+
- package: walletlink # 19
61+
node: 22
62+
- package: react # 20
63+
node: 22
64+
- package: magic # 21
65+
node: 22
66+
- package: coinbase # 22
67+
node: 22
68+
- package: web3auth # 23
69+
node: 22
70+
- package: dcent # 24
71+
node: 22
72+
- package: vue # 25
73+
node: 22
74+
- package: gas # 26
75+
node: 22
76+
- package: hw-common # 27
77+
node: 22
78+
- package: sequence # 28
79+
node: 22
80+
- package: tallyho # 29
81+
node: 22
82+
- package: enkrypt # 30
83+
node: 22
84+
- package: uauth # 31
85+
node: 22
86+
- package: transaction-preview # 32
87+
node: 22
88+
- package: zeal # 33
89+
node: 22
90+
- package: phantom # 34
91+
node: 22
92+
- package: xdefi # 35
93+
node: 22
94+
- package: infinity-wallet # 36
95+
node: 22
96+
- package: taho # 37
97+
node: 22
98+
- package: unstoppable-resolution # 38
99+
node: 22
100+
- package: cede-store # 39
101+
node: 22
102+
- package: arcana-auth # 40
103+
node: 22
104+
- package: blocto # 41
105+
node: 22
106+
- package: venly # 42
107+
node: 22
108+
- package: bitget # 43
109+
node: 22
110+
- package: bitkeep # 44
111+
node: 22
112+
- package: metamask # 45
113+
node: 22
114+
- package: solid # 46
115+
node: 22
116+
- package: para # 47
117+
node: 22
118+
- package: particle-network # 48
119+
node: 22
120+
- package: finoaconnect # 49
121+
node: 22
122+
- package: wagmi # 50
123+
node: 22
124+
- package: passport # 51
125+
node: 22
126+
- package: bloom # 52
127+
node: 22
128+
- package: keplr # 53
129+
node: 22
130+
131+
defaults:
132+
run:
133+
shell: bash
134+
working-directory: packages/${{ matrix.package }}
135+
136+
steps:
137+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
138+
139+
- name: Use Node ${{ matrix.node }}
140+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
141+
with:
142+
node-version: ${{ matrix.node }}
143+
registry-url: https://registry.npmjs.org/
144+
145+
# ────── skip alpha versions ──────
146+
- id: version
147+
run: echo "v=$(node -p 'require(\"./package.json\").version')" >> "$GITHUB_OUTPUT"
148+
149+
- name: Skip alpha builds on main
150+
if: contains(steps.version.outputs.v, '-alpha')
151+
run: echo "Alpha version detected – skipping publish."
152+
# ─────────────────────────────────
153+
154+
- name: Cache Yarn
155+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
156+
with:
157+
path: |
158+
~/.cache/yarn
159+
node_modules
160+
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
161+
162+
- name: Generate workspace lock‑file
163+
run: yarn generate-lock-entry >> yarn.lock
164+
165+
- name: Install dependencies
166+
run: yarn --immutable
167+
168+
- name: Type‑check & build
169+
run: |
170+
yarn type-check
171+
yarn build
172+
173+
- name: Publish to npm (latest)
174+
if: ${{ !contains(steps.version.outputs.v, '-alpha') }}
175+
run: npm publish --access public

0 commit comments

Comments
 (0)