mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +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",
|
"postStartCommand": "pnpm install && pnpm dev:prepare",
|
||||||
"mounts": ["type=volume,target=${containerWorkspaceFolder}/node_modules"]
|
"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
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build (stub)
|
- name: Build (stub)
|
||||||
run: pnpm build:stub
|
run: pnpm dev:prepare
|
||||||
|
|
||||||
- name: Lint (code)
|
- name: Lint (code)
|
||||||
run: pnpm lint:fix
|
run: pnpm lint:fix
|
||||||
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build (stub)
|
- name: Build (stub)
|
||||||
run: pnpm build:stub
|
run: pnpm dev:prepare
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: pnpm typecheck
|
run: pnpm typecheck
|
||||||
@ -153,7 +153,7 @@ jobs:
|
|||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build (stub)
|
- name: Build (stub)
|
||||||
run: pnpm build:stub
|
run: pnpm dev:prepare
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pnpm lint
|
run: pnpm lint
|
||||||
@ -177,7 +177,7 @@ jobs:
|
|||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build (stub)
|
- name: Build (stub)
|
||||||
run: pnpm build:stub
|
run: pnpm dev:prepare
|
||||||
|
|
||||||
- name: Test (unit)
|
- name: Test (unit)
|
||||||
run: pnpm test:unit
|
run: pnpm test:unit
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- init: |
|
- init: |
|
||||||
npx pnpm install
|
npx pnpm install
|
||||||
npx pnpm build:stub
|
npx pnpm dev:prepare
|
||||||
command: npx pnpm play
|
command: npx pnpm play
|
||||||
|
|
||||||
ports:
|
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
|
5. Activate the passive development system
|
||||||
```bash [Terminal]
|
```bash [Terminal]
|
||||||
pnpm build:stub
|
pnpm dev:prepare
|
||||||
```
|
```
|
||||||
6. Check out a branch where you can work and commit your changes:
|
6. Check out a branch where you can work and commit your changes:
|
||||||
```bash [Terminal]
|
```bash [Terminal]
|
||||||
|
@ -9,9 +9,10 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm --filter './packages/**' prepack",
|
"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'",
|
"cleanup": "rimraf 'packages/**/node_modules' 'playground/node_modules' 'node_modules'",
|
||||||
"dev": "pnpm play",
|
"dev": "pnpm play",
|
||||||
|
"dev:prepare": "pnpm --filter './packages/**' prepack --stub",
|
||||||
"lint": "eslint --ext .vue,.ts,.js,.mjs .",
|
"lint": "eslint --ext .vue,.ts,.js,.mjs .",
|
||||||
"lint:fix": "eslint --ext .vue,.ts,.js,.mjs . --fix",
|
"lint:fix": "eslint --ext .vue,.ts,.js,.mjs . --fix",
|
||||||
"lint:docs": "markdownlint ./docs && case-police 'docs/**/*.md' *.md",
|
"lint:docs": "markdownlint ./docs && case-police 'docs/**/*.md' *.md",
|
||||||
|
Loading…
Reference in New Issue
Block a user