@@ -32,7 +32,7 @@ cp ../../../NOTICE ../dist
|
|||||||
cd ../dist
|
cd ../dist
|
||||||
|
|
||||||
if [ "$PUBLISH_FLAVOR_REACT" = "true" ] ; then
|
if [ "$PUBLISH_FLAVOR_REACT" = "true" ] ; then
|
||||||
npm publish . --tag beta
|
npm publish .
|
||||||
else
|
else
|
||||||
npm pack .
|
npm pack .
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
],
|
],
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"automated-release": "release-it --preRelease=beta --verbose --config ./release/.release-it.json",
|
"automated-release": "release-it -VV --config ./release/.release-it.json",
|
||||||
"build": "npm run build-stylesheets && rimraf ./dist/swagger-ui.js ./dist/swagger-ui.js.map && npm run build-all-bundles",
|
"build": "npm run build-stylesheets && rimraf ./dist/swagger-ui.js ./dist/swagger-ui.js.map && npm run build-all-bundles",
|
||||||
"build-all-bundles": "run-p --aggregate-output build:core build:bundle build:standalone build:es:bundle build:es:bundle:core",
|
"build-all-bundles": "run-p --aggregate-output build:core build:bundle build:standalone build:es:bundle build:es:bundle:core",
|
||||||
"build-stylesheets": "webpack --color --config webpack/stylesheets.babel.js",
|
"build-stylesheets": "webpack --color --config webpack/stylesheets.babel.js",
|
||||||
|
|||||||
@@ -22,8 +22,7 @@
|
|||||||
},
|
},
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"@release-it/conventional-changelog": {
|
"@release-it/conventional-changelog": {
|
||||||
"preset": "angular",
|
"preset": "angular"
|
||||||
"ignoreRecommendedBump": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ cp ../LICENSE .
|
|||||||
cp ../NOTICE .
|
cp ../NOTICE .
|
||||||
|
|
||||||
if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
|
if [ "$PUBLISH_DIST" = "true" ] || [ "$TRAVIS" = "true" ] ; then
|
||||||
npm publish . --tag beta
|
npm publish .
|
||||||
else
|
else
|
||||||
npm pack .
|
npm pack .
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user