Skip to content

Commit b5e7394

Browse files
committed
feat: update package.json with scoped name and release configuration
1 parent 6b076d2 commit b5e7394

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

package.json

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
2-
"name": "adminforth-clone-row",
2+
"name": "@adminforth/clone-row",
33
"version": "1.0.1",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"type": "module",
7+
"publishConfig": {
8+
"access": "public"
9+
},
710
"scripts": {
811
"build": "tsc && rsync -av --exclude 'node_modules' custom dist/"
912
},
@@ -17,5 +20,29 @@
1720
},
1821
"dependencies": {
1922
"adminforth": "latest"
20-
}
23+
},
24+
"release": {
25+
"plugins": [
26+
"@semantic-release/commit-analyzer",
27+
"@semantic-release/release-notes-generator",
28+
"@semantic-release/npm",
29+
"@semantic-release/github",
30+
[
31+
"semantic-release-slack-bot",
32+
{
33+
"notifyOnSuccess": true,
34+
"notifyOnFail": true,
35+
"slackIcon": ":package:",
36+
"markdownReleaseNotes": true
37+
}
38+
]
39+
]
40+
},
41+
"branches": [
42+
"main",
43+
{
44+
"name": "next",
45+
"prerelease": true
46+
}
47+
]
2148
}

0 commit comments

Comments
 (0)