Skip to content

Commit 77caffb

Browse files
committed
build(semantic-release): build the application before pushing to NPM
Versions published to NPM so far did not include the compiled source in./dist/ folder, hence the application is not executable. BREAKING CHANGE: Now the application can be ran directly from the CLI as a command line tool.
1 parent 5f8e748 commit 77caffb

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,21 @@
5757
"plugins": [
5858
"@semantic-release/commit-analyzer",
5959
"@semantic-release/release-notes-generator",
60-
"@semantic-release/npm",
61-
"@semantic-release/git",
62-
"@semantic-release/github",
60+
[
61+
"@semantic-release/exec",
62+
{
63+
"prepareCmd": "yarn install && yarn build"
64+
}
65+
],
6366
[
6467
"@semantic-release/exec",
6568
{
6669
"prepareCmd": "docker build -t addono/container-registry-proxy ."
6770
}
6871
],
72+
"@semantic-release/npm",
73+
"@semantic-release/git",
74+
"@semantic-release/github",
6975
[
7076
"semantic-release-docker",
7177
{

0 commit comments

Comments
 (0)