Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Nov 20, 2023
1 parent 4535904 commit 517a766
Show file tree
Hide file tree
Showing 8 changed files with 408 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "rm -r dist; tsc",
"prepack": "npm run build",
"release": "semantic-release --extends ../../.config/semantic-release.json"
"release": "semantic-release --extends ./semantic-release.json"
},
"keywords": [
"astro",
Expand Down
101 changes: 101 additions & 0 deletions packages/context/semantic-release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"extends": "semantic-release-commit-filter",
"branches": [
"main"
],
"ci": true,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"scope": "README",
"release": "patch"
},
{
"type": "update",
"scope": "bind",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
],
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "angular",
"presetConfig": {
"header": "Release Notes",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
},
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"writerOpts": {
"commitsSort": [
"subject",
"scope"
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
}
2 changes: 1 addition & 1 deletion packages/express-endpoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "rm -r dist; tsc",
"prepack": "npm run build",
"release": "semantic-release --extends ../../.config/semantic-release.json"
"release": "semantic-release --extends ./semantic-release.json"
},
"files": [
"dist/*",
Expand Down
101 changes: 101 additions & 0 deletions packages/express-endpoints/semantic-release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"extends": "semantic-release-commit-filter",
"branches": [
"main"
],
"ci": true,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"scope": "README",
"release": "patch"
},
{
"type": "update",
"scope": "bind",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
],
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "angular",
"presetConfig": {
"header": "Release Notes",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
},
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"writerOpts": {
"commitsSort": [
"subject",
"scope"
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
}
2 changes: 1 addition & 1 deletion packages/formidable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "rm -r dist; tsc",
"prepack": "npm run build",
"release": "semantic-release --extends ../../.config/semantic-release.json"
"release": "semantic-release --extends ./semantic-release.json"
},
"keywords": [
"astro",
Expand Down
101 changes: 101 additions & 0 deletions packages/formidable/semantic-release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"extends": "semantic-release-commit-filter",
"branches": [
"main"
],
"ci": true,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"scope": "README",
"release": "patch"
},
{
"type": "update",
"scope": "bind",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
],
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "angular",
"presetConfig": {
"header": "Release Notes",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "chore",
"hidden": true
},
{
"type": "docs",
"hidden": true
},
{
"type": "style",
"hidden": true
},
{
"type": "refactor",
"hidden": true
},
{
"type": "perf",
"hidden": true
},
{
"type": "test",
"hidden": true
}
]
},
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES",
"BREAKING"
]
},
"writerOpts": {
"commitsSort": [
"subject",
"scope"
]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github"
]
}
2 changes: 1 addition & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"build": "rm -r dist; tsc",
"prepack": "npm run build",
"release": "semantic-release --extends ../../.config/semantic-release.json"
"release": "semantic-release --extends ./semantic-release.json"
},
"keywords": [
"ASPX",
Expand Down
Loading

0 comments on commit 517a766

Please sign in to comment.