Skip to content

Commit

Permalink
chore(repo): re-setup release
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Dec 9, 2024
1 parent 9d4c725 commit 9b90538
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
10 changes: 0 additions & 10 deletions libs/ngxtension/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@
}
},
"targets": {
"package": {
"executor": "nx:run-commands",
"options": {
"commands": [
"pnpm exec nx build ngxtension",
"pnpm exec nx build plugin"
],
"parallel": false
}
},
"build": {
"executor": "@nx/angular:package",
"outputs": ["{workspaceRoot}/dist/{projectRoot}"],
Expand Down
3 changes: 2 additions & 1 deletion libs/plugin/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"output": "."
}
]
}
},
"dependsOn": [{ "target": "build", "projects": "ngxtension" }]
},
"lint": {
"executor": "@nx/eslint:lint",
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"release": {
"projects": ["ngxtension"],
"version": {
"preVersionCommand": "nx package ngxtension"
"preVersionCommand": "npm run package"
},
"git": {
"commitMessage": "chore: release {version}"
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"postinstall": "simple-git-hooks",
"release": "dotenv release-it --"
"package": "nx run-many -t build --projects=ngxtension,plugin"
},
"private": true,
"engines": {
Expand Down Expand Up @@ -93,5 +93,6 @@
"lint-staged": {
"*": "pnpm exec prettier --write"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"nx": {}
}

0 comments on commit 9b90538

Please sign in to comment.