Skip to content

Commit c9a8072

Browse files
committed
chore: update semantic-release
1 parent 662a3b5 commit c9a8072

File tree

3 files changed

+43
-15
lines changed

3 files changed

+43
-15
lines changed

.releaserc.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
module.exports = {
2+
branches: [
3+
"+([0-9])?(.{+([0-9]),x}).x",
4+
"main",
5+
"next",
6+
"next-major",
7+
{
8+
name: "beta",
9+
prerelease: true,
10+
},
11+
{
12+
name: "alpha",
13+
prerelease: true,
14+
},
15+
],
16+
plugins: [
17+
[
18+
"@semantic-release/commit-analyzer",
19+
{
20+
preset: "angular",
21+
presetConfig: {
22+
types: [
23+
{ type: "refactor", section: "Code Improvements", hidden: false },
24+
],
25+
},
26+
releaseRules: [
27+
{ type: "docs", release: false },
28+
{ type: "refactor", release: "patch" },
29+
{ type: "chore", scope: "deps", release: "patch" },
30+
],
31+
parserOpts: {
32+
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES"],
33+
},
34+
},
35+
],
36+
"@semantic-release/release-notes-generator",
37+
"@semantic-release/changelog",
38+
"@semrel-extra/npm",
39+
"@semantic-release/git",
40+
"@semantic-release/github",
41+
],
42+
};

.releaserc.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@
2222
"src/**/*.resi",
2323
"bsconfig.json"
2424
],
25-
"repository": {
26-
"type": "git",
27-
"url": "https://github.com/rescript-ui/rescript-chakra.git"
28-
},
25+
"repository": "https://github.com/rescript-ui/rescript-chakra",
2926
"bugs": "https://github.com/rescript-ui/rescript-chakra/issues",
3027
"scripts": {
3128
"start": "rescript build -w",

0 commit comments

Comments
 (0)