chore: 🤖 add convenience build command at monorepo level

This commit is contained in:
Randall Morey committed 2020-06-24 12:07:29 -04:00
1 parent ba62caa88f
commit ae25ed56af
2 files changed
+12 -1

No files matched your search

+11 -1
View File
@@ -104,7 +104,17 @@ of README.
### Building Core UI for Production
See ui/core/README.md Building for Production for more information on how to
build the Core UI.
build the Core UI. Be sure to set build-related environment variables as
necessary for your target environment, as described in the Core UI readme.
To quickly produce a production build of Core UI, run from this folder:
```bash
yarn install
yarn build:production:core
```
Assets are saved to `ui/core/dist/`.
### Committing
+1
View File
@@ -8,6 +8,7 @@
"ui/*"
],
"scripts": {
"build:production:core": "cd ui/core && yarn build:production",
"lint": "yarn lint:addons:api && yarn lint:addons:auth && yarn lint:addons:rose && yarn lint:ui:core",
"lint:addons:api": "echo \"\n\nlint: addons/api\n\" && cd addons/api && yarn lint",
"lint:addons:auth": "echo \"\n\nlint: addons/auth\n\" && cd addons/auth && yarn lint",