mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 06:05:11 +00:00
chore: use dev:prepare
instead of build:stub
This commit is contained in:
parent
dce7227b18
commit
802b3e28c1
@ -15,6 +15,8 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"postStartCommand": "pnpm install && pnpm build:stub",
|
||||
"mounts": ["type=volume,target=${containerWorkspaceFolder}/node_modules"]
|
||||
"postStartCommand": "pnpm install && pnpm dev:prepare",
|
||||
"mounts": [
|
||||
"type=volume,target=${containerWorkspaceFolder}/node_modules"
|
||||
]
|
||||
}
|
||||
|
2
.github/workflows/autofix.yml
vendored
2
.github/workflows/autofix.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
run: pnpm install
|
||||
|
||||
- name: Build (stub)
|
||||
run: pnpm build:stub
|
||||
run: pnpm dev:prepare
|
||||
|
||||
- name: Lint (code)
|
||||
run: pnpm lint:fix
|
||||
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
run: pnpm install
|
||||
|
||||
- name: Build (stub)
|
||||
run: pnpm build:stub
|
||||
run: pnpm dev:prepare
|
||||
|
||||
- name: Typecheck
|
||||
run: pnpm typecheck
|
||||
@ -153,7 +153,7 @@ jobs:
|
||||
run: pnpm install
|
||||
|
||||
- name: Build (stub)
|
||||
run: pnpm build:stub
|
||||
run: pnpm dev:prepare
|
||||
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
@ -177,7 +177,7 @@ jobs:
|
||||
run: pnpm install
|
||||
|
||||
- name: Build (stub)
|
||||
run: pnpm build:stub
|
||||
run: pnpm dev:prepare
|
||||
|
||||
- name: Test (unit)
|
||||
run: pnpm test:unit
|
||||
|
@ -1,7 +1,7 @@
|
||||
tasks:
|
||||
- init: |
|
||||
npx pnpm install
|
||||
npx pnpm build:stub
|
||||
npx pnpm dev:prepare
|
||||
command: npx pnpm play
|
||||
|
||||
ports:
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"startCommand": "pnpm build:stub && pnpm play"
|
||||
"startCommand": "pnpm dev:prepare && pnpm play"
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ To contribute to Nuxt, you need to set up a local environment.
|
||||
::
|
||||
5. Activate the passive development system
|
||||
```bash [Terminal]
|
||||
pnpm build:stub
|
||||
pnpm dev:prepare
|
||||
```
|
||||
6. Check out a branch where you can work and commit your changes:
|
||||
```bash [Terminal]
|
||||
|
@ -9,9 +9,10 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "pnpm --filter './packages/**' prepack",
|
||||
"build:stub": "pnpm --filter './packages/**' prepack --stub",
|
||||
"build:stub": "pnpm dev:prepare",
|
||||
"cleanup": "rimraf 'packages/**/node_modules' 'playground/node_modules' 'node_modules'",
|
||||
"dev": "pnpm play",
|
||||
"dev:prepare": "pnpm --filter './packages/**' prepack --stub",
|
||||
"lint": "eslint --ext .vue,.ts,.js,.mjs .",
|
||||
"lint:fix": "eslint --ext .vue,.ts,.js,.mjs . --fix",
|
||||
"lint:docs": "markdownlint ./docs && case-police 'docs/**/*.md' *.md",
|
||||
|
Loading…
Reference in New Issue
Block a user