-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathsteps.json
More file actions
18 lines (18 loc) · 855 Bytes
/
steps.json
File metadata and controls
18 lines (18 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"commands": [
{
"command": "git init",
"ignoreOutput": true
},
"vp migrate --no-interactive # migration should add git hooks setup",
"cat package.json # check package.json has prepare script and lint-staged config",
"cat pnpm-workspace.yaml # check pnpm-workspace.yaml has overrides and catalog",
"cat .vite-hooks/pre-commit # check pre-commit hook",
"test -d .vite-hooks/_ && echo 'hook shims exist' || echo 'no hook shims' # check vp config ran",
"git config --local core.hooksPath # should be set to .vite-hooks/_",
"cat .vite-hooks/_/.gitignore # internal gitignore should exclude all files",
"cat .vite-hooks/_/h # hook dispatcher script content",
"cat .vite-hooks/_/pre-commit # hook shim should source the dispatcher",
"ls .vite-hooks/_/ | sort # list all generated hook shims"
]
}