Skip to content

Commit

Permalink
chore: setup nx release
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Oct 25, 2024
1 parent 82f3c73 commit c798fb5
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,35 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"release": {
"version": {
"conventionalCommits": false,
"preVersionCommand": "npm run build",
"generatorOptions": {
"packageRoot": "dist/{projectName}"
}
},
"projects": [
"packages/advisor-components",
"packages/chrome",
"packages/components",
"packages/config",
"packages/config-utils",
"packages/notifications",
"packages/remediations",
"packages/rule-components",
"packages/testing",
"packages/translations",
"packages/tsc-transform-imports",
"packages/utils",
"packages/types"
]
},
"targetDefaults": {
"nx-release-publish": {
"options": {
"packageRoot": "dist/{projectName}"
}
},
"build": {
"dependsOn": ["^build"],
"cache": true
Expand Down Expand Up @@ -54,6 +83,18 @@
"componentTestingTargetName": "component-test",
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/js/typescript",
"options": {
"typecheck": {
"targetName": "tsc:typecheck"
},
"build": {
"targetName": "tsc:build",
"configName": "tsconfig.lib.json"
}
}
}
],
"generators": {
Expand Down

0 comments on commit c798fb5

Please sign in to comment.