Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Do not deduplicate js dependencies automatically (#65004)

Nemanja Glumacf01ea21e3705
diff --git a/package.json b/package.json
index 8d36ee651c8..f42c71e1fe8 100644
--- a/package.json
+++ b/package.json
@@ -434,6 +434,7 @@
"cljs-server-start": "yarn && shadow-cljs start",
"cljs-server-stop": "yarn && shadow-cljs stop",
"concurrently": "yarn && concurrently --kill-others -p name",
+ "dedupe": "yarn-deduplicate --scopes @babel",
"dev": "yarn && yarn clean-dev:cljs && concurrently -n 'backend,frontend,cljs,static-viz' -c 'blue,green,yellow,magenta,red' 'clojure -M:run:dev:dev-start --hot' 'yarn build-hot:js-wait' 'yarn build:cljs' 'yarn build-static-viz:watch-wait'",
"dev-hot-be": "yarn && yarn clean-dev:cljs && concurrently -n 'backend,frontend,cljs,static-viz' -c 'blue,green,yellow,magenta,red' 'clojure -M:run:dev:dev-start --hot' 'ENABLE_CLJS_HOT_RELOAD=true yarn build-hot:js-wait' 'yarn build-hot:cljs' 'yarn build-static-viz:watch-wait'",
"dev-ee": "yarn && yarn clean-dev:cljs && concurrently -n 'backend,frontend,cljs,static-viz' -c 'blue,green,yellow,magenta,red' 'clojure -M:run:ee:dev:dev-start --hot' 'MB_EDITION=ee yarn build-hot:js-wait' 'MB_EDITION=ee yarn build:cljs' 'yarn build-static-viz:watch-wait'",
@@ -465,7 +466,7 @@
"lint-prettier": "yarn && yarn lint-prettier-pure",
"lint-prettier-pure": "prettier --check '{frontend,enterprise/frontend,e2e}/**/*.{js,jsx,ts,tsx,css}'",
"lint-yaml": "yamllint **/*.{yaml,yml} --ignore=node_modules/**/*.{yaml,yml}",
- "postinstall": "yarn yarn-deduplicate --scopes @babel && patch-package",
+ "postinstall": "yarn patch-package",
"precommit": "lint-staged --shell",
"preinstall": "echo $npm_execpath | grep -q yarn || echo '\\033[0;33mSorry, npm is not supported. Please use Yarn (https://yarnpkg.com/).\\033[0m'",
"prepare": "husky install",