chore: use dev:prepare instead of build:stub

This commit is contained in:
Daniel Roe 2023-12-19 12:21:11 +00:00
parent dce7227b18
commit 802b3e28c1
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B
7 changed files with 13 additions and 10 deletions

View File

@ -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"
]
}

View File

@ -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

View File

@ -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

View File

@ -1,7 +1,7 @@
tasks:
- init: |
npx pnpm install
npx pnpm build:stub
npx pnpm dev:prepare
command: npx pnpm play
ports:

View File

@ -1,3 +1,3 @@
{
"startCommand": "pnpm build:stub && pnpm play"
"startCommand": "pnpm dev:prepare && pnpm play"
}

View File

@ -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]

View File

@ -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",