|
5 | 5 | "targets": {
|
6 | 6 | "build": {
|
7 | 7 | "executor": "@nrwl/node:webpack",
|
8 |
| - "outputs": [ "{options.outputPath}" ], |
| 8 | + "outputs": [ |
| 9 | + "{options.outputPath}" |
| 10 | + ], |
9 | 11 | "options": {
|
10 | 12 | "outputPath": "dist/apps/velo-external-db",
|
11 | 13 | "main": "apps/velo-external-db/src/app.js",
|
|
14 | 16 | "progress": true,
|
15 | 17 | "buildLibsFromSource": true,
|
16 | 18 | "assets": [
|
17 |
| - { "glob": "**/*", "input": "libs/velo-external-db-core/src/views", "output": "./views" }, |
18 |
| - { "glob": "**/*", "input": "libs/velo-external-db-core/src/assets", "output": "./assets" } |
| 19 | + { |
| 20 | + "glob": "**/*", |
| 21 | + "input": "libs/velo-external-db-core/src/views", |
| 22 | + "output": "./views" |
| 23 | + }, |
| 24 | + { |
| 25 | + "glob": "**/*", |
| 26 | + "input": "libs/velo-external-db-core/src/assets", |
| 27 | + "output": "./assets" |
| 28 | + } |
19 | 29 | ],
|
20 | 30 | "fileReplacements": [
|
21 |
| - { "replace": "apps/velo-external-db/src/environments/environment.js", "with": "apps/velo-external-db/src/environments/environment.prod.js" }, |
22 |
| - { "replace": "libs/velo-external-db-core/src/utils/router_utils.js", "with": "libs/velo-external-db-core/src/utils/router_utils.build.js" } |
| 31 | + { |
| 32 | + "replace": "apps/velo-external-db/src/environments/environment.js", |
| 33 | + "with": "apps/velo-external-db/src/environments/environment.prod.js" |
| 34 | + }, |
| 35 | + { |
| 36 | + "replace": "libs/velo-external-db-core/src/utils/router_utils.js", |
| 37 | + "with": "libs/velo-external-db-core/src/utils/router_utils.build.js" |
| 38 | + } |
23 | 39 | ]
|
24 | 40 | },
|
25 | 41 | "configurations": {
|
26 | 42 | "production": {
|
27 | 43 | "optimization": true,
|
28 | 44 | "inspect": false
|
29 |
| - |
30 | 45 | }
|
31 | 46 | }
|
32 | 47 | },
|
|
56 | 71 | "jestConfig": "apps/velo-external-db/jest.config.js",
|
57 | 72 | "passWithNoTests": true
|
58 | 73 | }
|
59 |
| - }, |
60 |
| - |
| 74 | + }, |
61 | 75 | "build-image": {
|
62 |
| - "builder": "@nrwl/workspace:run-commands", |
| 76 | + "executor": "@nrwl/workspace:run-commands", |
63 | 77 | "options": {
|
64 | 78 | "commands": [
|
65 | 79 | "nx run velo-external-db:build",
|
66 | 80 | "docker build -f ./apps/velo-external-db/Dockerfile . -t velo-external-db"
|
67 | 81 | ],
|
68 | 82 | "parallel": false
|
69 | 83 | }
|
| 84 | + }, |
| 85 | + "version": { |
| 86 | + "executor": "@jscutlery/semver:version", |
| 87 | + "options": { |
| 88 | + "preset": "conventional" |
| 89 | + } |
70 | 90 | }
|
71 | 91 | },
|
72 | 92 | "tags": []
|
|
0 commit comments