Skip to content

Commit

Permalink
fix(docs-site): docs changes should be committed back to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Aug 11, 2021
1 parent 65193fc commit 10e2936
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
9 changes: 7 additions & 2 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@ module.exports = {
'npx ts-node tools/scripts/patch-package-versions ${nextRelease.version}',
publishCmd: [
'npx ts-node tools/scripts/publish-all ${nextRelease.version} ${nextRelease.channel}',
'nx deploy docs-site',
].join(' && '),
successCmd: 'nx deploy docs-site',
},
],
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'package.json', 'packages/*/package.json', 'docs'],
assets: [
'CHANGELOG.md',
'package.json',
'packages/*/package.json',
'docs',
],
message:
"release: <%= nextRelease.version %> [skip ci]\n\n<%= nextRelease.notes %> \n\n<%= new Date().toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric' }) %>",
},
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": ["build", "lint", "test", "e2e"],
"cacheableOperations": ["build", "lint", "test", "e2e", "smoke"],
"accessToken": "ZTMwZjcyY2ItZWRjYS00NzZjLTg3ZmQtYzdjM2Y3OGIzNDdhfHJlYWQtd3JpdGU=",
"canTrackAnalytics": false,
"showUsageWarnings": true
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"@nx-dotnet/dotnet": ["packages/dotnet/src/index.ts"],
"@nx-dotnet/nx-ghpages": ["packages/nx-ghpages/src/index.ts"],
"@nx-dotnet/nxdoc": ["packages/nxdoc/src/index.ts"],
"@nx-dotnet/smoke/core": ["smoke/core/src/index.ts"],
"@nx-dotnet/typescript": ["packages/typescript/src/index.ts"],
"@nx-dotnet/utils": ["packages/utils/src/index.ts"],
"@nx-dotnet/smoke/core": ["smoke/core/src/index.ts"]
"@nx-dotnet/utils": ["packages/utils/src/index.ts"]
}
},
"exclude": ["node_modules", "tmp"]
Expand Down
4 changes: 2 additions & 2 deletions workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"version": 2,
"projects": {
"core": "packages/core",
"smoke-core": "smoke/core",
"core-e2e": "e2e/core-e2e",
"docs-site": "apps/docs-site",
"dotnet": "packages/dotnet",
"nx-ghpages-e2e": "e2e/nx-ghpages-e2e",
"nx-ghpages": "packages/nx-ghpages",
"nx-ghpages-e2e": "e2e/nx-ghpages-e2e",
"nxdoc": "packages/nxdoc",
"nxdoc-e2e": "e2e/nxdoc-e2e",
"smoke-core": "smoke/core",
"typescript": "packages/typescript",
"typescript-e2e": "e2e/typescript-e2e",
"utils": "packages/utils"
Expand Down

0 comments on commit 10e2936

Please sign in to comment.