From 01559b18cf0b94251fa2abb9857df822cd58d7bc Mon Sep 17 00:00:00 2001 From: Luka Isailovic Date: Thu, 10 Oct 2024 15:58:19 +0200 Subject: [PATCH 1/2] chore: remove vite-size (#3062) --- .github/workflows/pr_checks.yml | 30 ----------- examples/react-wagmi/package.json | 10 ++-- package.json | 3 +- pnpm-lock.yaml | 86 +------------------------------ 4 files changed, 6 insertions(+), 123 deletions(-) diff --git a/.github/workflows/pr_checks.yml b/.github/workflows/pr_checks.yml index c1d02a7af3..9e5885e35e 100644 --- a/.github/workflows/pr_checks.yml +++ b/.github/workflows/pr_checks.yml @@ -58,36 +58,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NEXT_PUBLIC_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_PROJECT_ID }} - bundle_size: - runs-on: ubuntu-latest - name: Bundle size check - permissions: - contents: write - pull-requests: write - steps: - - name: checkout - uses: actions/checkout@v3 - - - uses: pnpm/action-setup@v4 - name: Install pnpm - - - name: setup-node - uses: actions/setup-node@v3 - with: - node-version: 18.x - cache: 'pnpm' - - - name: install - run: pnpm install - - - name: build - run: pnpm build - - - name: Running vite-size script - uses: glitch-txs/vite-size-action@v1.0.3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - test: runs-on: ubuntu-latest continue-on-error: true diff --git a/examples/react-wagmi/package.json b/examples/react-wagmi/package.json index c7ea2f181a..0258749e99 100644 --- a/examples/react-wagmi/package.json +++ b/examples/react-wagmi/package.json @@ -4,13 +4,12 @@ "version": "1.0.6", "scripts": { "dev": "vite --port 3002", - "build": "vite build", - "size": "pnpm run build && vite-size --react --externals wagmi viem @tanstack/react-query react react-dom" + "build": "vite build" }, "dependencies": { - "@tanstack/react-query": "5.24.8", - "@reown/appkit-adapter-wagmi": "workspace:*", "@reown/appkit": "workspace:*", + "@reown/appkit-adapter-wagmi": "workspace:*", + "@tanstack/react-query": "5.24.8", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.21.4", @@ -21,7 +20,6 @@ "@types/react": "18.2.62", "@types/react-dom": "18.2.7", "@vitejs/plugin-react": "4.2.1", - "vite": "5.2.11", - "vite-size": "0.0.5" + "vite": "5.2.11" } } diff --git a/package.json b/package.json index fd3c3f60db..c94af05895 100644 --- a/package.json +++ b/package.json @@ -36,8 +36,7 @@ "publish:alpha": "pnpm install; pnpm build; changeset publish --tag alpha", "publish:beta": "pnpm install; pnpm build; changeset publish --tag beta", "publish:canary": "pnpm install; pnpm build; changeset publish --tag canary", - "prepare": "husky", - "size": "pnpm --filter=./examples/react-wagmi size" + "prepare": "husky" }, "devDependencies": { "@changesets/changelog-github": "0.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56a0719479..c0b91a389f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -712,7 +712,7 @@ importers: version: 5.2.11(@types/node@20.11.5)(terser@5.33.0) wagmi: specifier: 2.12.9 - version: 2.12.9(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.24.8(react@18.2.0))(@types/react@18.2.62)(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(rollup@4.22.4)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4))(zod@3.22.4) + version: 2.12.9(@tanstack/query-core@5.56.2)(@tanstack/react-query@5.24.8(react@18.2.0))(@types/react@18.2.62)(bufferutil@4.0.8)(react-dom@18.2.0(react@18.2.0))(react-native@0.75.3(@babel/core@7.25.2)(@babel/preset-env@7.25.4(@babel/core@7.25.2))(@types/react@18.2.62)(bufferutil@4.0.8)(react@18.2.0)(typescript@5.3.3)(utf-8-validate@5.0.10))(react@18.2.0)(rollup@4.22.4)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.4(bufferutil@4.0.8)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.22.4))(zod@3.22.4) devDependencies: '@types/react': specifier: 18.2.62 @@ -723,9 +723,6 @@ importers: '@vitejs/plugin-react': specifier: 4.2.1 version: 4.2.1(vite@5.2.11(@types/node@20.11.5)(terser@5.33.0)) - vite-size: - specifier: 0.0.5 - version: 0.0.5(@types/node@20.11.5)(terser@5.33.0)(vue@3.4.3(typescript@5.3.3)) examples/vue-ethers5: dependencies: @@ -6551,13 +6548,6 @@ packages: vite: ^5.0.0 vue: ^3.2.25 - '@vitejs/plugin-vue@5.1.4': - resolution: {integrity: sha512-N2XSI2n3sQqp5w7Y/AN/L2XDjBIRGqXko+eDp42sydYSBeJuSm5a1sLf8zakmo8u7tA8NmBgoDLA1HeOESjp9A==} - engines: {node: ^18.0.0 || >=20.0.0} - peerDependencies: - vite: ^5.0.0 - vue: ^3.2.25 - '@vitest/coverage-v8@1.1.2': resolution: {integrity: sha512-W12+EiqKxNgcot5ZdUA/8G/P+3bHVr1Ggi4G7qWbLGXFfyEANCDidpV7KzxnOgFGrL4DAB1nsh4mzTIZ3Nz79A==} peerDependencies: @@ -12235,10 +12225,6 @@ packages: peerDependencies: vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 - vite-size@0.0.5: - resolution: {integrity: sha512-qVRL0zg/vSqE/KNpjr2qoDOGgDyTXa5lWb0bxyC9kXJhUOq23klt1yVuQfclge646Gs93k6ycLCVBp39JyVr+Q==} - hasBin: true - vite@5.2.11: resolution: {integrity: sha512-HndV31LWW05i1BLPMUCE1B9E9GFbOu1MbenhS58FuK6owSO5qHm7GiCotrNY1YE5rMeQSFBGmT5ZaLEjFizgiQ==} engines: {node: ^18.0.0 || >=20.0.0} @@ -12267,34 +12253,6 @@ packages: terser: optional: true - vite@5.2.9: - resolution: {integrity: sha512-uOQWfuZBlc6Y3W/DTuQ1Sr+oIXWvqljLvS881SVmAj00d5RdgShLcuXWxseWPd4HXwiYBFW/vXHfKFeqj9uQnw==} - engines: {node: ^18.0.0 || >=20.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - vitest@2.0.5: resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -20132,27 +20090,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.2.1(vite@5.2.9(@types/node@20.11.5)(terser@5.33.0))': - dependencies: - '@babel/core': 7.25.2 - '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) - '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) - '@types/babel__core': 7.20.5 - react-refresh: 0.14.2 - vite: 5.2.9(@types/node@20.11.5)(terser@5.33.0) - transitivePeerDependencies: - - supports-color - '@vitejs/plugin-vue@5.0.2(vite@5.2.11(@types/node@20.11.5)(terser@5.33.0))(vue@3.4.3(typescript@5.3.3))': dependencies: vite: 5.2.11(@types/node@20.11.5)(terser@5.33.0) vue: 3.4.3(typescript@5.3.3) - '@vitejs/plugin-vue@5.1.4(vite@5.2.9(@types/node@20.11.5)(terser@5.33.0))(vue@3.4.3(typescript@5.3.3))': - dependencies: - vite: 5.2.9(@types/node@20.11.5)(terser@5.33.0) - vue: 3.4.3(typescript@5.3.3) - '@vitest/coverage-v8@1.1.2(vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0)(terser@5.33.0))': dependencies: '@ampproject/remapping': 2.3.0 @@ -27872,22 +27814,6 @@ snapshots: transitivePeerDependencies: - rollup - vite-size@0.0.5(@types/node@20.11.5)(terser@5.33.0)(vue@3.4.3(typescript@5.3.3)): - dependencies: - '@vitejs/plugin-react': 4.2.1(vite@5.2.9(@types/node@20.11.5)(terser@5.33.0)) - '@vitejs/plugin-vue': 5.1.4(vite@5.2.9(@types/node@20.11.5)(terser@5.33.0))(vue@3.4.3(typescript@5.3.3)) - vite: 5.2.9(@types/node@20.11.5)(terser@5.33.0) - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - - vue - vite@5.2.11(@types/node@20.11.5)(terser@5.33.0): dependencies: esbuild: 0.20.2 @@ -27898,16 +27824,6 @@ snapshots: fsevents: 2.3.3 terser: 5.33.0 - vite@5.2.9(@types/node@20.11.5)(terser@5.33.0): - dependencies: - esbuild: 0.20.2 - postcss: 8.4.47 - rollup: 4.22.4 - optionalDependencies: - '@types/node': 20.11.5 - fsevents: 2.3.3 - terser: 5.33.0 - vitest@2.0.5(@types/node@20.11.5)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@5.0.10))(terser@5.33.0): dependencies: '@ampproject/remapping': 2.3.0 From 109901d3cafe0af483ef321d178b4c54616700de Mon Sep 17 00:00:00 2001 From: Enes Date: Thu, 10 Oct 2024 17:14:50 +0300 Subject: [PATCH 2/2] chore: update old repo urls/refs (#3063) --- .changeset/config.json | 2 +- .github/workflows/ui_tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index d9f30b80fe..27133c9632 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,6 @@ { "$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json", - "changelog": ["@changesets/changelog-github", { "repo": "WalletConnect/web3modal" }], + "changelog": ["@changesets/changelog-github", { "repo": "reown-com/appkit" }], "commit": false, "fixed": [], "linked": [], diff --git a/.github/workflows/ui_tests.yml b/.github/workflows/ui_tests.yml index 858066ea3e..c20334ba82 100644 --- a/.github/workflows/ui_tests.yml +++ b/.github/workflows/ui_tests.yml @@ -79,7 +79,7 @@ jobs: - name: checkout uses: actions/checkout@v4 with: - repository: WalletConnect/web3modal + repository: reown-com/appkit ref: ${{ inputs.branch }} - uses: pnpm/action-setup@v4