Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions templates/vue-starter-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"scripts": {
"dev": "nuxt prepare && nuxt dev",
"build": "nuxt prepare && nuxt build",
"nuxt-prepare": "nuxt prepare",
"generate": "nuxt generate",
Comment thread
mkucmus marked this conversation as resolved.
"preview": "nuxt preview",
"lint": "oxlint . && oxfmt --check .",
Expand Down
12 changes: 9 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
"$schema": "https://turborepo.org/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"dependsOn": ["^build", "nuxt-prepare", "^nuxt-prepare"],
Comment thread
mkucmus marked this conversation as resolved.
Outdated
"outputs": ["dist/**", ".output/**", ".vercel/**", ".vitepress/dist/**"]
},
"generate": {
"dependsOn": ["^build"],
"dependsOn": ["^build", "nuxt-prepare", "^nuxt-prepare"],
"outputs": ["dist/**", ".output/**", ".vercel/**"]
},
"nuxt-prepare": {
"dependsOn": ["^build"],
"cache": false,
"outputs": []
},
"lint": {
"cache": false,
"outputs": [],
Expand All @@ -20,7 +25,7 @@
"passThroughEnv": ["TURBO_TELEMETRY_DISABLED", "DO_NOT_TRACK"]
},
"typecheck": {
"dependsOn": ["build", "^build"],
"dependsOn": ["build", "^build", "nuxt-prepare", "^nuxt-prepare"],
"outputs": [],
"inputs": [
"src/**/*.ts",
Expand Down Expand Up @@ -51,6 +56,7 @@
"outputs": []
},
"dev": {
"dependsOn": ["^nuxt-prepare"],
Comment thread
mkucmus marked this conversation as resolved.
"cache": false,
"persistent": true
},
Expand Down