Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove vite-size #3062

Merged
merged 1 commit into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions examples/react-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
86 changes: 1 addition & 85 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading