Skip to content

Commit 58ad062

Browse files
authored
fix: include npm-shrinkwrap.json in published package (#90)
* fix: include npm-shrinkwrap.json in published package Add npm-shrinkwrap.json to the files field in package.json so it is included in the npm tarball. Also add it to .releaserc git assets so semantic-release commits the updated version on each release. Closes #89 * fix: update lodash to 4.18.1 to resolve known vulnerabilities Run npm audit fix to bump lodash from 4.17.23 to 4.18.1, resolving GHSA-r5fr-rjxr-66jc (Code Injection) and GHSA-f23m-r3pf-42rh (Prototype Pollution).
1 parent 3b8e4f7 commit 58ad062

3 files changed

Lines changed: 23 additions & 22 deletions

File tree

.releaserc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[
1010
"@semantic-release/git",
1111
{
12-
"assets": ["package.json", "CHANGELOG.md"],
12+
"assets": ["package.json", "npm-shrinkwrap.json", "CHANGELOG.md"],
1313
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
1414
}
1515
]

npm-shrinkwrap.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"files": [
5959
"bin/",
6060
"lib/",
61-
".claude/skills/"
61+
".claude/skills/",
62+
"npm-shrinkwrap.json"
6263
]
6364
}

0 commit comments

Comments
 (0)