diff --git a/package-lock.json b/package-lock.json index 7ddeb9b56bf..5d8be93a227 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47179,6 +47179,7 @@ "packages/calcite-components": { "name": "@esri/calcite-components", "version": "2.5.0-next.3", + "hasInstallScript": true, "license": "SEE LICENSE.md", "dependencies": { "@floating-ui/dom": "1.5.4", diff --git a/package.json b/package.json index a89a2d268d3..b16ead31270 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "version:next": "npm run util:is-in-sync-with-origin-main && npm run util:is-working-tree-clean && lerna version --conventional-prerelease --preid next --no-git-tag-version --no-push --yes && npm run util:sync-linked-package-versions -- next", "version:rc": "npm run util:is-in-sync-with-origin-rc && npm run util:is-working-tree-clean && lerna version --conventional-prerelease --preid rc --no-git-tag-version --no-push --yes && npm run util:sync-linked-package-versions -- rc", "version:latest": "npm run util:is-in-sync-with-origin-main && npm run util:is-working-tree-clean && lerna version --conventional-commits --create-release github --no-git-tag-version --no-push --yes && npm run util:sync-linked-package-versions -- latest", + "util:patch:calcite-components": "patch-package", "prepare": "husky install", "start": "turbo run start --log-order=stream", "test": "turbo run test --log-order=stream", diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 1da91b4a246..813ffa2e087 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -34,6 +34,7 @@ "lint:md": "prettier --write \"**/*.md\" >/dev/null && markdownlint \"**/*.md\" --fix --dot --ignore-path .gitignore", "lint:scss": "stylelint --fix \"src/**/*.scss\" && prettier --write \"**/*.scss\" >/dev/null", "lint:ts": "eslint --ext .ts,.tsx --fix . && prettier --write \"**/*.ts?(x)\" >/dev/null", + "postinstall": "cd ../ && npm run util:patch:calcite-components", "posttest": "npm run test:prerender", "release:docs": "npm run docs && storybook-to-ghpages --existing-output-dir=docs", "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev -- --serve\"",