Skip to content

Commit

Permalink
chore: use dev:prepare instead of build:stub
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Dec 19, 2023
1 parent dce7227 commit 802b3e2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .devcontainer/devcontainer.json
Expand Up @@ -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 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Expand Up @@ -49,7 +49,7 @@ jobs:
run: pnpm install

- name: Build (stub)
run: pnpm build:stub
run: pnpm dev:prepare

- name: Typecheck
run: pnpm typecheck
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
run: pnpm install

- name: Build (stub)
run: pnpm build:stub
run: pnpm dev:prepare

- name: Lint
run: pnpm lint
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
@@ -1,7 +1,7 @@
tasks:
- init: |
npx pnpm install
npx pnpm build:stub
npx pnpm dev:prepare
command: npx pnpm play
ports:
Expand Down
2 changes: 1 addition & 1 deletion .stackblitz/config.json
@@ -1,3 +1,3 @@
{
"startCommand": "pnpm build:stub && pnpm play"
"startCommand": "pnpm dev:prepare && pnpm play"
}
2 changes: 1 addition & 1 deletion docs/5.community/5.framework-contribution.md
Expand Up @@ -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]
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 802b3e2

Please sign in to comment.