Skip to content

Commit

Permalink
⚙️ config: 根任务的配置与调度;
Browse files Browse the repository at this point in the history
  • Loading branch information
ruan-cat committed Aug 21, 2024
1 parent 72dba74 commit 14777eb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/use-vercel-cli-build-try-4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
p4: ./packages/monorepo-4
p5: ./packages/monorepo-5
docs01Star: ./packages/docs-01-star
eci: ./.eslint-config-inspector

# 项目url
p1-url: monorepo-1.ruancat6312.top
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier --write .",
"eslint-config-inspector:open": "eslint-config-inspector",
"eslint-config-inspector:build": "eslint-config-inspector build",
"eci:open": "eslint-config-inspector",
"eci:b": "eslint-config-inspector build",
"turbo:build-docs": "turbo build:docs",
"turbo:copy-dist": "turbo copy-dist",
"on-github-action-flow": "turbo copy-dist"
"on-github-action-flow": "turbo eci:b copy-dist"
},
"devDependencies": {
"@antfu/eslint-config": "^2.21.1",
Expand Down
21 changes: 16 additions & 5 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,30 @@
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"]
"dependsOn": [
"^build"
]
},
"build:docs": {
"dependsOn": ["^build"]
"dependsOn": [
"^build"
]
},
"copy-dist": {
"dependsOn": ["build:docs"]
"dependsOn": [
"build:docs"
]
},
"docs:update-package": {
"dependsOn": []
},
"//#eci:b": {
"dependsOn": []
},
"clear": {
"dependsOn": ["^clear"]
"dependsOn": [
"^clear"
]
}
}
}
}

0 comments on commit 14777eb

Please sign in to comment.