Skip to content

Commit

Permalink
build(release)!: bump major version number
Browse files Browse the repository at this point in the history
BREAKING CHANGE: framework v4.
  • Loading branch information
yld-weng committed Apr 14, 2022
1 parent 0e6a8d6 commit 6131366
Showing 1 changed file with 68 additions and 60 deletions.
128 changes: 68 additions & 60 deletions release.config.js
Expand Up @@ -15,71 +15,79 @@ module.exports = {
preset: "conventionalcommits",
releaseRules: "./semantic-release-rules.js",
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING-CHANGE", "BREAKING CHANGES"]
noteKeywords: [
"BREAKING CHANGE",
"BREAKING-CHANGE",
"BREAKING CHANGES",
"BREAKING-CHANGES"
]
}
}
],
["@semantic-release/release-notes-generator", {
preset: "conventionalcommits",
"writerOpts": {
"commitsSort": ["subject", "scope"]
},
presetConfig: {
types: [
{
"type": "feat",
"section": "✨ Features",
"hidden": false
},
{
"type": "fix",
"section": "🐛 Bug Fixes",
"hidden": false
},
{
"type": "docs",
"section": "📝 Documentation",
"hidden": false
},
{
"type": "style",
"section": "🎨 Styles",
"hidden": false
},
{
"type": "refactor",
"section": "♻️ Code Refactoring",
"hidden": false
},
{
"type": "perf",
"section": "⚡️ Performance Improvement",
"hidden": false
},
{
"type": "test",
"section": "✅ Testing",
"hidden": false
},
{
"type": "build",
"section": "🔨 Build/Dependencies",
"hidden": false
},
{
"type": "ci",
"section": "🔧 Continuous Integration",
"hidden": false
},
{
"type": "chore",
"hidden": true
}
]
[
"@semantic-release/release-notes-generator",
{
preset: "conventionalcommits",
writerOpts: {
commitsSort: ["subject", "scope"]
},
presetConfig: {
types: [
{
type: "feat",
section: "✨ Features",
hidden: false
},
{
type: "fix",
section: "🐛 Bug Fixes",
hidden: false
},
{
type: "docs",
section: "📝 Documentation",
hidden: false
},
{
type: "style",
section: "🎨 Styles",
hidden: false
},
{
type: "refactor",
section: "♻️ Code Refactoring",
hidden: false
},
{
type: "perf",
section: "⚡️ Performance Improvement",
hidden: false
},
{
type: "test",
section: "✅ Testing",
hidden: false
},
{
type: "build",
section: "🔨 Build/Dependencies",
hidden: false
},
{
type: "ci",
section: "🔧 Continuous Integration",
hidden: false
},
{
type: "chore",
hidden: true
}
]
}
}
}],
],
[
"@semantic-release/changelog",
"@semantic-release/changelog",
{
changelogFile: "CHANGELOG.mdx"
}
Expand Down

0 comments on commit 6131366

Please sign in to comment.