Skip to content

Commit

Permalink
feat: Added semantic release tools to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
sullivanp-fxl committed Oct 30, 2022
1 parent 4cbcdc3 commit 3028658
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
8 changes: 8 additions & 0 deletions .nxreleaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"changelog": true,
"npm": true,
"github": true,
"repositoryUrl": "https://github.com/sullivanpj/open-system",
"branches": ["master", "main"]
}

9 changes: 9 additions & 0 deletions apps/web/landing/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@
"jestConfig": "apps/web/landing/jest.config.ts",
"passWithNoTests": true
}
},
"semantic-release": {
"executor": "@theunderscorer/nx-semantic-release:semantic-release",
"options": {
"github": true,
"npm": false,
"changelog": true,
"tagFormat": "web-landing-v${VERSION}"
}
}
},
"tags": ["domain:landing", "type:apps", "target:web"]
Expand Down
9 changes: 9 additions & 0 deletions apps/web/shell/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@
"jestConfig": "apps/web/shell/jest.config.ts",
"passWithNoTests": true
}
},
"semantic-release": {
"executor": "@theunderscorer/nx-semantic-release:semantic-release",
"options": {
"github": true,
"npm": false,
"changelog": true,
"tagFormat": "web-shell-v${VERSION}"
}
}
},
"tags": ["domain:shared", "type:apps", "target:web"]
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.0",
"license": "BSD 2-Clause \"Simplified\" License",
"description": "The OpenSystem application monorepo",
"author": "Patrick Sullivan <Patrick.Sullivan@Broadridge.com>",
"author": "Patrick Sullivan <Patrick.Joseph.Sullivan@ProtonMail.com>",
"homepage": "https://sullivanpj.github.io/AtomFX/",
"repository": {
"type": "github",
Expand Down Expand Up @@ -67,3 +67,4 @@
"typescript": "~4.8.2"
}
}

0 comments on commit 3028658

Please sign in to comment.