diff --git a/package.json b/package.json index eca20aeb6..9667e7884 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "bump:playground:version": "cd playground && npm --no-git-tag-version --allow-same-version version $VERSION", "bump:webcomp:version": "cd web-component && npm --no-git-tag-version --allow-same-version version $VERSION", "bump:lib:version": "cd library && npm --no-git-tag-version --allow-same-version version $VERSION", - "bump:version": "npm run bump:lib:version && npm run bump:webcomp:version && npm run bump:playground:version && npm run install:reactcomp:webcomponent && npm run install:reactcomp:playground", + "bump:version": "npm run bump:lib:version && npm run bump:webcomp:version && npm run bump:playground:version && npm run install:reactcomp:webcomponent", "install:reactcomp:playground": "cd playground && npm run install:reactcomp", "install:reactcomp:webcomponent": "cd web-component && npm run install:reactcomp", "get:name": "cd library && npm run get:name", diff --git a/playground/bump-react-comp.sh b/playground/bump-react-comp.sh deleted file mode 100755 index 91f28f81d..000000000 --- a/playground/bump-react-comp.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -#Use in CI only -#Purpos of this script is to use it to install/bump provided version of the React component - -# sleep for 120 seconds before using latest version in web-component, because sometimes NPM needs additional few seconds to `save` package in registry -sleep 2m -echo "Log all versions of the package on npm registry" -npm show @asyncapi/react-component versions -echo "Log latest version of the package on npm registry" -npm show @asyncapi/react-component dist-tags.latest -echo "Starting installation" -npm install @asyncapi/react-component@$VERSION --save --loglevel verbose \ No newline at end of file diff --git a/playground/package.json b/playground/package.json index 7d67d00f6..552613736 100644 --- a/playground/package.json +++ b/playground/package.json @@ -30,8 +30,7 @@ "scripts": { "start": "react-app-rewired start", "test": "react-app-rewired test", - "build": "react-app-rewired build", - "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" + "build": "react-app-rewired build" }, "browserslist": { "production": [