Skip to content

Commit 9e35163

Browse files
committed
chore(create): use vp check instead of vp fmt && vp lint in monorepo template (#1339)
Replace separate `vp fmt && vp lint` commands with unified `vp check` in the monorepo template's ready script.
1 parent 21c9590 commit 9e35163

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/cli/snap-tests-global/new-vite-monorepo-bun/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ vite.config.ts
2020
],
2121
"type": "module",
2222
"scripts": {
23-
"ready": "vp fmt && vp lint && vp run -r test && vp run -r build",
23+
"ready": "vp check && vp run -r test && vp run -r build",
2424
"dev": "vp run website#dev",
2525
"prepare": "vp config"
2626
},

packages/cli/snap-tests-global/new-vite-monorepo/snap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ vite.config.ts
1616
"private": true,
1717
"type": "module",
1818
"scripts": {
19-
"ready": "vp fmt && vp lint && vp run -r test && vp run -r build",
19+
"ready": "vp check && vp run -r test && vp run -r build",
2020
"dev": "vp run website#dev",
2121
"prepare": "vp config"
2222
},
@@ -140,7 +140,7 @@ vite.config.ts
140140
"private": true,
141141
"type": "module",
142142
"scripts": {
143-
"ready": "vp fmt && vp lint && vp run -r test && vp run -r build",
143+
"ready": "vp check && vp run -r test && vp run -r build",
144144
"dev": "vp run website#dev",
145145
"prepare": "vp config"
146146
},

packages/cli/templates/monorepo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"type": "module",
1111
"scripts": {
12-
"ready": "vp fmt && vp lint && vp run -r test && vp run -r build",
12+
"ready": "vp check && vp run -r test && vp run -r build",
1313
"dev": "vp run website#dev"
1414
},
1515
"engines": {

0 commit comments

Comments
 (0)