diff --git a/lerna.json b/lerna.json index a2bb50ba7ca..e1e93b6343c 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,6 @@ "packages": [ "packages/*" ], + "useWorkspaces": true, "version": "independent" } diff --git a/package.json b/package.json index af847241d23..7737b228526 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,15 @@ "description": "terra-core", "engines": { "node": "10 || 12 || 14", - "npm": "6 || 9" + "npm": "9" }, "repository": { "type": "git", "url": "git+https://github.com/cerner/terra-core.git" }, + "workspaces": [ + "packages/*" + ], "keywords": [ "Cerner", "Terra", @@ -39,7 +42,6 @@ } }, "scripts": { - "bootstrap:hoist": "lerna bootstrap --hoist --nohoist=one-cerner-style-icons", "clean": "npm run clean:lib && npm run clean:root", "clean:install": "npm run clean && time npm install", "clean:lib": "rm -rf packages/**/lib", @@ -47,7 +49,7 @@ "clean:obsolete-snapshots": "npm test -- -u", "create-props-markdown": "node scripts/props-table-gen/generatePropsTables.js", "compile": "npm run clean:lib && npm run compile:build", - "compile:build": "lerna run compile --parallel", + "compile:build": "lerna run compile", "compile:prod": "rm -rf ./build; webpack --mode=production", "compile:lowlight": "rm -rf ./build; THEME=clinical-lowlight-theme webpack --mode=production", "compile:fusion": "rm -rf ./build; THEME=orion-fusion-theme webpack --mode=production", @@ -65,7 +67,7 @@ "lint:package-json": "terra package-json-lint", "lint:scss": "stylelint 'packages/**/src/**/*.scss' --syntax scss", "prepare-for-release": "terra prepare-for-release", - "postinstall": "npm run bootstrap:hoist && npm run compile", + "postinstall": "npm run compile", "start": "webpack serve", "start:prod": "webpack serve --env disableHotReloading --mode=production", "start-static": "npm run compile:prod && terra express-server --site ./build",