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

Commit

Permalink
Add Workspaces to project (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenk2 authored Sep 13, 2023
1 parent 5b30926 commit fe3740c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"packages": [
"packages/*"
],
"version": "independent"
"version": "independent",
"useWorkspaces": true
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
"description": "terra-clinical",
"engines": {
"node": "10 || 12 || 14",
"npm": "6 || 9"
"npm": "9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cerner/terra-clinical.git"
},
"workspaces": [
"packages/*"
],
"keywords": [
"Cerner",
"Terra",
Expand Down Expand Up @@ -39,14 +42,13 @@
}
},
"scripts": {
"bootstrap:hoist": "lerna bootstrap --hoist",
"clean": "npm run clean:root && npm run clean:lib",
"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",
"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 --env enableAggregateThemes",
"compile:lowlight": "rm -rf ./build; THEME=clinical-lowlight-theme webpack --mode=production --env enableAggregateThemes",
"compile:fusion": "rm -rf ./build; THEME=orion-fusion-theme webpack --mode=production --env enableAggregateThemes",
Expand All @@ -55,14 +57,13 @@
"heroku-postbuild": "npm install --only=dev && npm run compile:prod",
"jest": "jest",
"jest:coverage": "jest --coverage",
"link-parent-bin": "link-parent-bin",
"lint": "npm run lint:js && npm run lint:scss && npm run lint:package-json",
"lint:js": "eslint --ext .js,.jsx . --max-warnings 0",
"lint:js:fix": "eslint --fix --ext .js,.jsx .",
"lint:scss": "stylelint 'packages/**/src/**/*.scss' --syntax scss",
"lint:package-json": "terra package-json-lint",
"prepare-for-release": "terra prepare-for-release",
"postinstall": "link-parent-bin && npm run compile && npm run bootstrap:hoist",
"postinstall": "npm run compile",
"start": "webpack serve --env enableAggregateThemes",
"start-heroku": "terra express-server --port $PORT --site build",
"start-prod": "webpack serve --env disableHotReloading --mode=production --env enableAggregateThemes",
Expand Down Expand Up @@ -106,8 +107,7 @@
"glob": "^7.1.2",
"jest": "^26.6.3",
"ky": "^0.12.0",
"lerna": "^3.20.2",
"link-parent-bin": "^1.0.0",
"lerna": "^6.4.1",
"postcss": "8.3.11",
"react": "^16.8.5",
"react-dom": "^16.8.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3369,10 +3369,10 @@ exports[`getDerivedStateFromProps correctly applies the theme context className
className="main"
>
<Scroll
className="normalizer"
className="normalizer orion-fusion-theme"
>
<div
className="scroll normalizer"
className="scroll normalizer orion-fusion-theme"
>
<div
className="vertical-overflow-container"
Expand Down

0 comments on commit fe3740c

Please sign in to comment.