Skip to content

Commit

Permalink
Merge pull request #121 from zhumeisongsong/feature/use-common-release
Browse files Browse the repository at this point in the history
chore: 🤖 use createMonolithicReleaseConfig
  • Loading branch information
zhumeisongsong authored Dec 15, 2024
2 parents 929e831 + 0fe47be commit 7f6716e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"@types/jest": "^29.5.14",
"@types/node": "~22.10.0",
"@zhumeisong/git-cz-config": "^1.2.0",
"@zhumeisong/semantic-release-config": "^1.3.3",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"git-cz": "^4.9.0",
Expand All @@ -71,14 +72,6 @@
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git"
]
},
"packageManager": "[email protected]",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const { createMonolithicReleaseConfig } = require("@zhumeisong/semantic-release-config");

const srcRoot = `./`;
const pkgRoot = `./`;

module.exports = createMonolithicReleaseConfig({
srcRoot,
pkgRoot
});

0 comments on commit 7f6716e

Please sign in to comment.