Skip to content

Commit b8613f6

Browse files
authored
Merge pull request #78 from ablackoff/fix-npm-publish
build: 📦 fix release to npm
2 parents 1902131 + 2bf5e9a commit b8613f6

File tree

5 files changed

+123
-140
lines changed

5 files changed

+123
-140
lines changed

.DS_Store

6 KB
Binary file not shown.

.release-it.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
"@release-it/bumper": {
4949
"in": "package.json",
5050
"out": ["package.json", "dist/package.json"]
51+
},
52+
"@release-it/npm": {
53+
"pkgRoot": "./dist/package",
54+
"publish": true
5155
}
5256
},
5357
"git": {
@@ -63,7 +67,7 @@
6367
},
6468
"hooks": {
6569
"before:bump": "npm run build",
66-
"after:bump": "npm run release:prepare-toc-in-readme && npm run pack && git add .",
70+
"after:bump": "npm run release:prepare-toc-in-readme && npm run build-and-pack && git add .",
6771
"after:release": "npm publish"
6872
}
6973
}

0 commit comments

Comments
 (0)