From 7d2424b65532102457827e618a3b844ea533b627 Mon Sep 17 00:00:00 2001 From: eduardo aleixo Date: Thu, 21 Jul 2022 10:46:47 -0300 Subject: [PATCH] chore: remove `prepare` script (#1291) --- .github/workflows/publish-lib-to-npm.yml | 2 +- package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-lib-to-npm.yml b/.github/workflows/publish-lib-to-npm.yml index 0646fb1cf9..e8755815fb 100644 --- a/.github/workflows/publish-lib-to-npm.yml +++ b/.github/workflows/publish-lib-to-npm.yml @@ -63,7 +63,7 @@ jobs: ${{ runner.os }}-yarn - name: Install Webapp dependencies - run: yarn bootstrap + run: yarn install --frozen-lockfile # This step will bump the package.json version and NOT push to the repository # this is needed since building grafana requires updating the plugin.json file diff --git a/package.json b/package.json index 50a8b2755a..466ad82b32 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ ], "scripts": { "start": "lerna-watch @pyroscope/webapp", - "bootstrap": "lerna bootstrap", + "bootstrap": "lerna bootstrap && husky install", "web-postinstall": "scripts/web-postinstall.js", "postinstall": "yarn run web-postinstall", "dev": "yarn run dev:webapp", @@ -60,7 +60,6 @@ "cy:datasource:ci": "cypress run --config-file packages/pyroscope-datasource-plugin/cypress.json", "cy:datasource:ss": "./scripts/cypress-screenshots.sh --config-file packages/pyroscope-datasource-plugin/cypress.json", "cy:datasource:ss-check": "CYPRESS_updateSnapshots=false ./scripts/cypress-screenshots.sh --config-file packages/pyroscope-datasource-plugin/cypress.json", - "prepare": "husky install", "lint-staged": "lint-staged", "size": "size-limit", "storybook": "start-storybook -p 6006",