Commit 87cb331 1 parent 2c1d0e7 commit 87cb331 Copy full SHA for 87cb331
File tree 8 files changed +13584
-3084
lines changed
8 files changed +13584
-3084
lines changed Original file line number Diff line number Diff line change @@ -16,21 +16,20 @@ jobs:
16
16
- name : Checkout code
17
17
uses : actions/checkout@v4
18
18
19
- - name : Install Bun
20
- uses : oven-sh/setup-bun@v2
21
- with :
22
- bun-version : latest
19
+ - name : Install pnpm
20
+ uses : pnpm/action-setup@v4
23
21
24
22
- name : Set up Node.js
25
23
uses : actions/setup-node@v4
26
24
with :
27
25
node-version : lts/*
26
+ cache : pnpm
28
27
29
28
- name : Install dependencies
30
- run : bun install
29
+ run : pnpm install
31
30
32
31
- name : Run TypeScript checks
33
- run : bun typecheck
32
+ run : pnpm typecheck
34
33
35
34
- name : Run AutoFix
36
35
uses : autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
Original file line number Diff line number Diff line change @@ -17,21 +17,20 @@ jobs:
17
17
- name : Checkout
18
18
uses : actions/checkout@v4
19
19
20
- - name : Install Bun
21
- uses : oven-sh/setup-bun@v2
22
- with :
23
- bun-version : latest
20
+ - name : Install pnpm
21
+ uses : pnpm/action-setup@v4
24
22
25
23
- name : Set up Node.js
26
24
uses : actions/setup-node@v4
27
25
with :
28
26
node-version : lts/*
27
+ cache : pnpm
29
28
30
29
- name : Install Dependencies
31
- run : bun install
30
+ run : pnpm install
32
31
33
32
- name : Lint
34
- run : bun lint
33
+ run : pnpm lint
35
34
36
35
- name : Lint Fix
37
- run : bun lint:fix
36
+ run : pnpm lint:fix
Original file line number Diff line number Diff line change @@ -17,27 +17,23 @@ jobs:
17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
20
+ - name : Install pnpm
21
+ uses : pnpm/action-setup@v4
22
+
20
23
- name : Set up Node.js
21
24
uses : actions/setup-node@v4
22
25
with :
23
26
node-version : lts/*
24
-
25
- - name : Install Bun
26
- uses : oven-sh/setup-bun@v2
27
- with :
28
- bun-version : latest
27
+ cache : pnpm
29
28
30
29
- name : Install dependencies
31
- run : bun install
32
-
33
- - name : Rebuild better-sqlite3
34
- run : bun run rebuild better-sqlite3
30
+ run : pnpm install
35
31
36
32
- name : Ensure NuxtHub module is installed
37
- run : bunx nuxthub@latest ensure
33
+ run : pnpx nuxthub@latest ensure
38
34
39
35
- name : Build application
40
- run : bun run build
36
+ run : pnpm build
41
37
42
38
- name : Deploy to NuxtHub
43
39
uses : nuxt-hub/action@v1
Original file line number Diff line number Diff line change 1
- bun commitlint --edit
1
+ pnpm commitlint --edit
Original file line number Diff line number Diff line change 1
- bun prettier
1
+ pnpm prettier
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
"author" : " Tuan Duc Tran <tuanductran.dev@gmail.com>" ,
13
13
"license" : " MIT" ,
14
14
"private" : true ,
15
- "packageManager" : " bun@1.2.5 " ,
15
+ "packageManager" : " pnpm@10.4.1 " ,
16
16
"keywords" : [
17
17
" nuxt" ,
18
18
" content" ,
33
33
"lint:text" : " case-police" ,
34
34
"lint:text:fix" : " case-police --fix" ,
35
35
"postinstall" : " nuxi prepare || husky" ,
36
- "preinstall" : " npx only-allow bun " ,
37
- "prettier" : " concurrently \" bun lint:fix\" \" bun lint:text:fix\" \" bun lint:prettier:fix\" " ,
36
+ "preinstall" : " npx only-allow pnpm " ,
37
+ "prettier" : " concurrently \" pnpm lint:fix\" \" pnpm lint:text:fix\" \" pnpm lint:prettier:fix\" " ,
38
38
"preview" : " nuxi preview" ,
39
39
"typecheck" : " vue-tsc --noEmit"
40
40
},
63
63
"glob" : " ^11.0.1" ,
64
64
"husky" : " ^9.1.7" ,
65
65
"markdownlint-cli" : " ^0.44.0" ,
66
- "nuxt" : " ^ 3.15.4" ,
66
+ "nuxt" : " 3.15.4" ,
67
67
"prettier" : " ^3.5.3" ,
68
68
"prettier-plugin-pkg" : " ^0.18.1" ,
69
69
"prettier-plugin-tailwindcss" : " ^0.6.11" ,
70
70
"typescript" : " ^5.8.2" ,
71
71
"vue-tsc" : " ^2.2.8" ,
72
72
"wrangler" : " ^3.112.0"
73
73
},
74
- "trustedDependencies" : [
75
- " @parcel/watcher"
76
- ]
74
+ "pnpm" : {
75
+ "onlyBuiltDependencies" : [
76
+ " @parcel/watcher" ,
77
+ " better-sqlite3" ,
78
+ " esbuild" ,
79
+ " sharp" ,
80
+ " workerd"
81
+ ]
82
+ }
77
83
}
You can’t perform that action at this time.
0 commit comments