Skip to content

Commit

Permalink
feat: fix CI to publish to npmjs (#5)
Browse files Browse the repository at this point in the history
* fix: publish to npm

* fix

* fix
  • Loading branch information
tx2002 authored Oct 24, 2024
1 parent be90da4 commit d163a8e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"debug": true,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "expression-eval",
"version": "5.0.1",
"name": "@casbin/expression-eval",
"version": "5.0.2",
"description": "JavaScript expression parsing and evaluation.",
"source": "index.ts",
"main": "dist/expression-eval.js",
Expand All @@ -9,7 +9,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/donmccurdy/expression-eval.git"
"url": "https://github.com/node-casbin/expression-eval.git"
},
"scripts": {
"dev": "microbundle watch",
Expand All @@ -32,7 +32,7 @@
"tree",
"math"
],
"author": "Don McCurdy <[email protected]>",
"author": "Node-Casbin",
"license": "MIT",
"dependencies": {
"jsep": "^0.3.0"
Expand Down

0 comments on commit d163a8e

Please sign in to comment.