Skip to content

Commit f61f286

Browse files
author
Carlos Chao
committed
feat: update npm configuration
1 parent aa71265 commit f61f286

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

.npmrc

-2
This file was deleted.

.releaserc.mjs

+20-5
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,24 @@ export default {
1111
plugins: [
1212
"@semantic-release/commit-analyzer",
1313
"@semantic-release/release-notes-generator",
14-
"@semantic-release/npm",
15-
["@semantic-release/git", {
16-
"message": "chore(release): ${nextRelease.version} [skip ci]"
17-
}]
18-
]
14+
[
15+
"@semantic-release/changelog",
16+
{
17+
changelogFile: "CHANGELOG.md",
18+
},
19+
],
20+
[
21+
"@semantic-release/npm",
22+
{
23+
pkgRoot: "dist",
24+
},
25+
],
26+
[
27+
"@semantic-release/git",
28+
{
29+
assets: ["package.json", "CHANGELOG.md"],
30+
message: "chore(release): ${nextRelease.version} [skip ci]",
31+
},
32+
],
33+
],
1934
};

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,10 @@
7373
"commitizen": {
7474
"path": "cz-conventional-changelog"
7575
}
76+
},
77+
"publishConfig": {
78+
"registry": "https://registry.npmjs.org/",
79+
"tag": "latest",
80+
"access": "public"
7681
}
7782
}

0 commit comments

Comments
 (0)