Skip to content

Commit 584028a

Browse files
author
Jay Hsueh
committed
chore: Migrate project to Bun, adding bun.lock file, updating package.json for Bun compatibility, and removing pnpm-lock.yaml
1 parent 4c0eb0c commit 584028a

20 files changed

Lines changed: 477 additions & 1532 deletions

.github/workflows/deploy-docs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,13 @@ jobs:
2424
with:
2525
fetch-depth: 0
2626

27-
- uses: pnpm/action-setup@v4
28-
29-
- uses: actions/setup-node@v4
27+
- uses: oven-sh/setup-bun@v2
3028
with:
31-
node-version: 20
32-
cache: pnpm
29+
bun-version: latest
3330

34-
- run: pnpm install --frozen-lockfile
31+
- run: bun install --frozen-lockfile
3532

36-
- run: pnpm build
37-
working-directory: docs
33+
- run: bun run build
3834

3935
- uses: actions/configure-pages@v4
4036

bun.lock

Lines changed: 353 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
{
2-
"hash": "bf73bfa3",
3-
"configHash": "84c0ce0d",
4-
"lockfileHash": "159ad52b",
5-
"browserHash": "fa094d08",
2+
"hash": "d989eff2",
3+
"configHash": "78cacce3",
4+
"lockfileHash": "dabe5bf4",
5+
"browserHash": "8bf66af9",
66
"optimized": {
77
"vue": {
8-
"src": "../../../../node_modules/.pnpm/vue@3.5.30/node_modules/vue/dist/vue.runtime.esm-bundler.js",
8+
"src": "../../../../node_modules/.bun/vue@3.5.31+b3ce730b3bb9df29/node_modules/vue/dist/vue.runtime.esm-bundler.js",
99
"file": "vue.js",
10-
"fileHash": "59e95a11",
10+
"fileHash": "1e07f2a7",
1111
"needsInterop": false
1212
},
1313
"vitepress > @vue/devtools-api": {
14-
"src": "../../../../node_modules/.pnpm/@vue+devtools-api@8.1.0/node_modules/@vue/devtools-api/dist/index.js",
14+
"src": "../../../../node_modules/.bun/@vue+devtools-api@8.1.1/node_modules/@vue/devtools-api/dist/index.js",
1515
"file": "vitepress___@vue_devtools-api.js",
16-
"fileHash": "3141e658",
16+
"fileHash": "3b596cf2",
1717
"needsInterop": false
1818
},
1919
"vitepress > @vueuse/core": {
20-
"src": "../../../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.30/node_modules/@vueuse/core/dist/index.js",
20+
"src": "../../../../node_modules/.bun/@vueuse+core@14.2.1+b3ce730b3bb9df29/node_modules/@vueuse/core/dist/index.js",
2121
"file": "vitepress___@vueuse_core.js",
22-
"fileHash": "6cc90de2",
22+
"fileHash": "f0b6b4ae",
2323
"needsInterop": false
2424
},
2525
"vitepress > @vueuse/integrations/useFocusTrap": {
26-
"src": "../../../../node_modules/.pnpm/@vueuse+integrations@14.2.1_focus-trap@7.8.0_vue@3.5.30/node_modules/@vueuse/integrations/dist/useFocusTrap.js",
26+
"src": "../../../../node_modules/.bun/@vueuse+integrations@14.2.1+0d2da5edf08a3378/node_modules/@vueuse/integrations/dist/useFocusTrap.js",
2727
"file": "vitepress___@vueuse_integrations_useFocusTrap.js",
28-
"fileHash": "8dffa45e",
28+
"fileHash": "35017cd4",
2929
"needsInterop": false
3030
},
3131
"vitepress > mark.js/src/vanilla.js": {
32-
"src": "../../../../node_modules/.pnpm/mark.js@8.11.1/node_modules/mark.js/src/vanilla.js",
32+
"src": "../../../../node_modules/.bun/mark.js@8.11.1/node_modules/mark.js/src/vanilla.js",
3333
"file": "vitepress___mark__js_src_vanilla__js.js",
34-
"fileHash": "24750055",
34+
"fileHash": "843d8537",
3535
"needsInterop": false
3636
},
3737
"vitepress > minisearch": {
38-
"src": "../../../../node_modules/.pnpm/minisearch@7.2.0/node_modules/minisearch/dist/es/index.js",
38+
"src": "../../../../node_modules/.bun/minisearch@7.2.0/node_modules/minisearch/dist/es/index.js",
3939
"file": "vitepress___minisearch.js",
40-
"fileHash": "29eb30d6",
40+
"fileHash": "377e99f7",
4141
"needsInterop": false
4242
}
4343
},
4444
"chunks": {
45-
"chunk-J334NHAN": {
46-
"file": "chunk-J334NHAN.js"
45+
"chunk-WSP3QXLG": {
46+
"file": "chunk-WSP3QXLG.js"
4747
},
48-
"chunk-7V3IUMCS": {
49-
"file": "chunk-7V3IUMCS.js"
48+
"chunk-H2BJIOTD": {
49+
"file": "chunk-H2BJIOTD.js"
5050
}
5151
}
5252
}

docs/.vitepress/cache/deps/chunk-7V3IUMCS.js.map

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/.vitepress/cache/deps/chunk-7V3IUMCS.js renamed to docs/.vitepress/cache/deps/chunk-H2BJIOTD.js

Lines changed: 60 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.vitepress/cache/deps/chunk-H2BJIOTD.js.map

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.vitepress/cache/deps/chunk-J334NHAN.js renamed to docs/.vitepress/cache/deps/chunk-WSP3QXLG.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.vitepress/cache/deps/chunk-J334NHAN.js.map renamed to docs/.vitepress/cache/deps/chunk-WSP3QXLG.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)