Skip to content

Commit

Permalink
chore(all): Use turbo to build all docs (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLion authored Mar 11, 2024
1 parent dec91ec commit 29688ed
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"check": "turbo check && yarn lint",
"build": "turbo run build",
"compile": "turbo run compile",
"docs": "yarn workspace @assertive-ts/core docs",
"docs": "turbo docs",
"lint": "eslint .",
"release": "turbo release --concurrency=1",
"test": "turbo run test"
Expand Down
3 changes: 2 additions & 1 deletion packages/core/.mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"require": [
"ts-node/register",
"test/hooks.ts"
]
],
"spec": ["test/**/*.test.*"]
}
4 changes: 1 addition & 3 deletions packages/core/.releaserc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"$schema": "https://json.schemastore.org/semantic-release",
"branches": [
"main"
],
"branches": ["main"],
"plugins": [
["@semantic-release/commit-analyzer", {
"releaseRules": [{ "scope": "!core", "release": false }]
Expand Down
3 changes: 2 additions & 1 deletion packages/sinon/.mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"require": [
"ts-node/register",
"test/hooks.ts"
]
],
"spec": ["test/**/*.test.*"]
}
4 changes: 1 addition & 3 deletions packages/sinon/.releaserc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"$schema": "https://json.schemastore.org/semantic-release",
"branches": [
"main"
],
"branches": ["main"],
"plugins": [
["@semantic-release/commit-analyzer", {
"releaseRules": [{ "scope": "!sinon", "release": false }]
Expand Down
5 changes: 5 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"dependsOn": ["^build"],
"outputs": ["build/**"]
},
"docs": {
"dependsOn": ["^build"],
"inputs": ["src/**", "typings/**"],
"outputs": ["docs/*/build/**"]
},
"release": {
"cache": false,
"dependsOn": ["^build"]
Expand Down

0 comments on commit 29688ed

Please sign in to comment.