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

Commit

Permalink
Add Workspaces to project (#1786)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenk2 authored Sep 13, 2023
1 parent 79abbb6 commit 1a656dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"version": "independent",
"packages": ["packages/*"]
"packages": ["packages/*"],
"useWorkspaces": true
}
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-framework",
"engines": {
"node": "10 || 12 || 14",
"npm": "6 || 9"
"npm": "9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-framework.git"
},
"workspaces": [
"packages/*"
],
"keywords": [
"Cerner",
"Terra",
Expand Down Expand Up @@ -42,15 +45,14 @@
}
},
"scripts": {
"bootstrap:hoist": "lerna bootstrap --hoist",
"clean": "npm run clean:root && npm run clean:lib",
"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:install": "npm run clean && time npm install",
"clean:containers": "echo 'stopping containers:' && docker stop $(docker ps -a -q) && echo 'removing containers:' && docker rm $(docker ps -a -q)",
"clean:obsolete-snapshots": "npm test -- -u",
"compile": "npm run clean:lib && npm run compile:build",
"compile:build": "lerna run compile --parallel",
"compile:build": "lerna run compile",
"compile:src": "lerna run compile",
"compile:fusion": "rm -rf ./build; NODE_ENV=production THEME=orion-fusion-theme webpack --mode=production --config webpack.config.js",
"compile:lowlight": "rm -rf ./build; NODE_ENV=production THEME=clinical-lowlight-theme webpack --mode=production --config webpack.config.js",
Expand All @@ -70,7 +72,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-heroku": "terra express-server --port $PORT --site build",
"start-prod": "webpack serve --env disableHotReloading --mode=production",
Expand Down

0 comments on commit 1a656dd

Please sign in to comment.