Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Add Workspaces to project #3904

Merged
merged 4 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"packages": [
"packages/*"
],
"useWorkspaces": true,
"version": "independent"
}
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -39,15 +42,14 @@
}
},
"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",
"clean:root": "$(lerna clean --yes || true) && echo 'removing ./node_modules' && rm -rf node_modules && echo 'removed ./node_modules'",
"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",
Expand All @@ -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",
Expand Down
Loading