chore: 🤖 add convenience build command at monorepo level
This commit is contained in:
2 files changed
+12
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user