Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 1f47757

Browse files
fix: WIP testing empty npm package fix (#39)
1 parent a657772 commit 1f47757

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.releaserc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"pkgRoot": "dist",
99
"tarballDir": "dist"
1010
}],
11-
"@semantic-release/git",
11+
["@semantic-release/git", {
12+
"assets": ["package.json", "CHANGELOG.md"]
13+
}],
1214
["@semantic-release/github", {
1315
"assets": "dist/*.tgz"
1416
}]

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "rm -rf dist && tsc",
99
"postbuild": "cp package.json dist",
1010
"test": "mocha -r ts-node/register 'src/**/*.spec.ts'",
11-
"semantic-release": "semantic-release"
11+
"semantic-release": "semantic-release",
12+
"postversion": "cp -r package.json .."
1213
},
1314
"repository": {
1415
"type": "git",

0 commit comments

Comments
 (0)