Skip to content
Open
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
16 changes: 8 additions & 8 deletions .github/workflows/treeshake-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ jobs:
path: target-branch
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.target_branch || github.base_ref }}

- name: Install dependencies (PR branch)
working-directory: pr-branch
run: pnpm install

- name: Install dependencies (target branch)
working-directory: target-branch
run: pnpm install

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -52,6 +44,14 @@ jobs:
pr-branch/pnpm-lock.yaml
target-branch/pnpm-lock.yaml

- name: Install dependencies (PR branch)
working-directory: pr-branch
run: pnpm install --frozen-lockfile

- name: Install dependencies (target branch)
working-directory: target-branch
run: pnpm install --frozen-lockfile

- name: Generate import tests on PR branch
working-directory: pr-branch
run: pnpm --filter treeshake-test generate-tests
Expand Down
22 changes: 1 addition & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,5 @@
"engines": {
"node": ">=24.0.0"
},
"packageManager": "pnpm@10.15.1+sha512.34e538c329b5553014ca8e8f4535997f96180a1d0f614339357449935350d924e22f8614682191264ec33d1462ac21561aff97f6bb18065351c162c7e8f6de67",
"pnpm": {
"onlyBuiltDependencies": [
"@rolldown/browser",
"@tailwindcss/oxide",
"bun",
"canvas",
"esbuild",
"msw",
"sharp"
],
"overrides": {
"rollup": "catalog:build",
"vite": "8.0.5",
"@babel/types": "catalog:",
"@types/node": "catalog:types",
"typescript": "catalog:types",
"three": "catalog:example",
"@typescript-eslint/utils": "^8.57.2"
}
}
"packageManager": "pnpm@11.1.2+sha512.415a1cc25974731e75455c1468371be74c5aa5fb7621b50d4056d222451609f11412f23fd602e6169f1e060466641f798597e1be961a10688836a67b16569499"
}
18 changes: 18 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ packages:
- packages/*
- apps/*

allowBuilds:
'@rolldown/browser': true
bun: true
canvas: true
esbuild: true
msw: true
protobufjs: false
sharp: true

catalog:
'@babel/types': ^7.29.0
bun: 1.3.10
Expand All @@ -28,3 +37,12 @@ catalogs:
'@types/three': ^0.181.0
'@webgpu/types': ^0.1.66
typescript: npm:tsover@^5.9.11

overrides:
rollup: catalog:build
vite: 8.0.5
'@babel/types': 'catalog:'
'@types/node': 'catalog:types'
typescript: 'catalog:types'
three: 'catalog:example'
'@typescript-eslint/utils': ^8.57.2
Loading