Skip to content

Commit d163a8e

Browse files
authored
feat: fix CI to publish to npmjs (#5)
* fix: publish to npm * fix * fix
1 parent be90da4 commit d163a8e

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

.releaserc.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"debug": true,
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
"@semantic-release/npm",
7+
[
8+
"@semantic-release/changelog",
9+
{
10+
"changelogFile": "CHANGELOG.md"
11+
}
12+
],
13+
[
14+
"@semantic-release/git",
15+
{
16+
"assets": ["package.json", "CHANGELOG.md"],
17+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
18+
}
19+
],
20+
"@semantic-release/github"
21+
]
22+
}
23+

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "expression-eval",
3-
"version": "5.0.1",
2+
"name": "@casbin/expression-eval",
3+
"version": "5.0.2",
44
"description": "JavaScript expression parsing and evaluation.",
55
"source": "index.ts",
66
"main": "dist/expression-eval.js",
@@ -9,7 +9,7 @@
99
"types": "dist/index.d.ts",
1010
"repository": {
1111
"type": "git",
12-
"url": "https://github.com/donmccurdy/expression-eval.git"
12+
"url": "https://github.com/node-casbin/expression-eval.git"
1313
},
1414
"scripts": {
1515
"dev": "microbundle watch",
@@ -32,7 +32,7 @@
3232
"tree",
3333
"math"
3434
],
35-
"author": "Don McCurdy <dm@donmccurdy.com>",
35+
"author": "Node-Casbin",
3636
"license": "MIT",
3737
"dependencies": {
3838
"jsep": "^0.3.0"

0 commit comments

Comments
 (0)