chore: 🤖 default build type is production, not development

This commit is contained in:
Randall Morey committed 2020-06-29 18:07:43 -04:00
1 parent 18266d0967
commit 695f1b24b5
9 files changed
+18 -18

No files matched your search

+2 -2
View File
@@ -112,7 +112,7 @@ To quickly produce a production build of Core UI, run from this folder:
```bash
yarn install
yarn build:production:ui:core
yarn build:ui:core
```
Assets are saved to `ui/core/dist/`.
@@ -123,7 +123,7 @@ Optionally, you may build the UI within a container. Execute the
following command:
```bash
./build_production.sh
docker-compose -f docker-compose-embedding.yml run build
```
Assets are saved to `ui/core/dist/`.
+2 -2
View File
@@ -33,8 +33,8 @@ List of available project commands. `yarn run <command-name>`
| Command | Description |
| ------- | ----------- |
| build | Builds the dummy app in development mode. |
| build:production | Builds the dummy app for production. |
| build:development | Builds the dummy app in development mode. |
| build | Builds the dummy app for production. |
| lint | Runs all lint commands. |
| lint:js | Lints `js` files. |
| format | Runs all auto-formatters. |
+2 -2
View File
@@ -8,8 +8,8 @@
"ember-addon"
],
"scripts": {
"build": "ember build",
"build:production": "ember build --environment=production",
"build:development": "ember build",
"build": "ember build --environment=production",
"lint": "yarn lint:js",
"lint:js": "eslint .",
"format": "npm run format:js",
+2 -2
View File
@@ -36,8 +36,8 @@ List of available project commands. `yarn run <command-name>`
| Command | Description |
| ------- | ----------- |
| build | Builds the dummy app in development mode. |
| build:production | Builds the dummy app for production. |
| build:development | Builds the dummy app in development mode. |
| build | Builds the dummy app for production. |
| lint | Runs all lint commands. |
| lint:hbs | Lints template `hbs` files. |
| lint:js | Lints `js` files. |
+2 -2
View File
@@ -8,8 +8,8 @@
"ember-addon"
],
"scripts": {
"build": "ember build",
"build:production": "ember build --environment=production",
"build:development": "ember build",
"build": "ember build --environment=production",
"lint": "yarn lint:hbs && yarn lint:js && yarn lint:sass",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
+2 -2
View File
@@ -16,10 +16,10 @@ services:
- 'icu_ui_core_node_modules:/src/ui/core/node_modules'
working_dir: /src
build_production:
build:
<<: *node
entrypoint: bash
command: '-c "yarn install && yarn build:production:ui:core && chmod -R 777 ."'
command: '-c "yarn install && yarn build:ui:core && chmod -R 777 ."'
volumes:
icu_node_modules:
+1 -1
View File
@@ -8,7 +8,7 @@
"ui/*"
],
"scripts": {
"build:production:ui:core": "cd ui/core && yarn build:production",
"build:ui:core": "cd ui/core && yarn build",
"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",
+3 -3
View File
@@ -39,8 +39,8 @@ List of available project commands. `yarn run <command-name>`
| Command | Description |
| ------- | ----------- |
| build | Builds the UI in development mode. |
| build:production | Builds the UI for production. |
| build:development | Builds the UI in development mode. |
| build | Builds the UI for production. |
| lint | Runs all lint commands. |
| lint:hbs | Lints `hbs` template files. |
| lint:js | Lints `js` files. |
@@ -66,7 +66,7 @@ production, run the following commads from this folder:
```bash
yarn install
yarn build:production
yarn build
```
The static production assets are saved into the `dist/` folder.
+2 -2
View File
@@ -11,8 +11,8 @@
},
"scripts": {
"doc:toc": "doctoc README.md",
"build": "ember build",
"build:production": "ember build --environment=production",
"build:development": "ember build",
"build": "ember build --environment=production",
"lint": "yarn lint:hbs && yarn lint:js && yarn lint:sass",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",