Skip to content

Commit 7aee107

Browse files
committed
fix: publish dist directory with github workflow
1 parent 63c852a commit 7aee107

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
plugins: [
44
"@semantic-release/commit-analyzer",
55
"@semantic-release/release-notes-generator",
6-
["@semantic-release/npm", { npmPublish: true }],
6+
["@semantic-release/npm", { npmPublish: true, pkgRoot: "dist" }],
77
"@semantic-release/github",
88
[
99
"@semantic-release/git",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
},
3838
"scripts": {
3939
"start": "react-scripts start",
40-
"prepublishOnly": "echo 'You must be in the dist directory to publish' && [ -f ./Annotator/index.js ]",
4140
"test": "react-scripts test",
4241
"eject": "react-scripts eject",
4342
"storybook": "start-storybook -p 9090 -s public",

0 commit comments

Comments
 (0)