|
2 | 2 | "name": "sbom", |
3 | 3 | "projectType": "library", |
4 | 4 | "targets": { |
5 | | - "build": { |
6 | | - "executor": "nx:noop", |
7 | | - "dependsOn": [ |
8 | | - "install-dependencies", |
9 | | - "make-devextreme-sbom", |
10 | | - "make-devextreme-dist-sbom", |
11 | | - "make-devextreme-react-sbom", |
12 | | - "make-devextreme-angular-sbom", |
13 | | - "make-devextreme-vue-sbom" |
14 | | - ], |
15 | | - "cache": false |
16 | | - }, |
17 | | - "prepare": { |
18 | | - "dependsOn": [ |
19 | | - "install-dependencies", |
20 | | - "clean" |
21 | | - ], |
22 | | - "executor": "nx:noop", |
23 | | - "cache": false |
24 | | - }, |
25 | | - "clean": { |
26 | | - "executor": "nx:run-commands", |
27 | | - "options": { |
28 | | - "cwd": "{projectRoot}", |
29 | | - "command": "rm -rf dist/" |
30 | | - }, |
31 | | - "cache": false |
32 | | - }, |
33 | 5 | "install-dependencies": { |
34 | 6 | "executor": "nx:run-commands", |
35 | 7 | "options": { |
|
38 | 10 | }, |
39 | 11 | "cache": false |
40 | 12 | }, |
41 | | - "make-devextreme-sbom": { |
42 | | - "dependsOn": ["prepare"], |
43 | | - "executor": "nx:run-commands", |
44 | | - "options": { |
45 | | - "cwd": "{projectRoot}", |
46 | | - "command": "pnpm dx-make-sbom ../../ dist/ devextreme" |
47 | | - }, |
48 | | - "cache": false |
49 | | - }, |
50 | | - "make-devextreme-dist-sbom": { |
51 | | - "dependsOn": ["prepare", "make-devextreme-sbom"], |
52 | | - "executor": "nx:run-commands", |
53 | | - "options": { |
54 | | - "cwd": "{projectRoot}", |
55 | | - "command": "cp dist/devextreme.sbom.json dist/devextreme-dist.sbom.json" |
56 | | - }, |
57 | | - "cache": false |
58 | | - }, |
59 | | - "make-devextreme-react-sbom": { |
60 | | - "dependsOn": ["prepare"], |
61 | | - "executor": "nx:run-commands", |
62 | | - "options": { |
63 | | - "cwd": "{projectRoot}", |
64 | | - "command": "pnpm dx-make-sbom ../../ dist/ devextreme-react" |
65 | | - }, |
66 | | - "cache": false |
67 | | - }, |
68 | | - "make-devextreme-angular-sbom": { |
69 | | - "dependsOn": ["prepare"], |
| 13 | + "build": { |
70 | 14 | "executor": "nx:run-commands", |
| 15 | + "dependsOn": ["install-dependencies"], |
71 | 16 | "options": { |
72 | 17 | "cwd": "{projectRoot}", |
73 | | - "command": "pnpm dx-make-sbom ../../ dist/ devextreme-angular" |
| 18 | + "parallel": false, |
| 19 | + "commands": [ |
| 20 | + "rm -rf dist/", |
| 21 | + "pnpm dx-make-sbom ../../ dist/ devextreme,devextreme-react,devextreme-angular,devextreme-vue,devextreme-themebuilder", |
| 22 | + "cp dist/devextreme.sbom.json dist/devextreme-dist.sbom.json" |
| 23 | + ] |
74 | 24 | }, |
75 | 25 | "cache": false |
76 | 26 | }, |
77 | | - "make-devextreme-vue-sbom": { |
78 | | - "dependsOn": ["prepare"], |
| 27 | + "make": { |
79 | 28 | "executor": "nx:run-commands", |
| 29 | + "dependsOn": ["install-dependencies"], |
80 | 30 | "options": { |
81 | 31 | "cwd": "{projectRoot}", |
82 | | - "command": "pnpm dx-make-sbom ../../ dist/ devextreme-vue" |
| 32 | + "parallel": false, |
| 33 | + "commands": ["pnpm dx-make-sbom ../../ dist/"] |
83 | 34 | }, |
84 | 35 | "cache": false |
85 | 36 | } |
|
0 commit comments