@shell-shock/nx 0.0.37 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/base-executor-BkNTl-jk.d.mts +155 -0
- package/dist/base-executor-BkNTl-jk.d.mts.map +1 -0
- package/dist/{base-executor-BEOdY15z.cjs → base-executor-CkaF97Xd.js} +5 -8
- package/dist/{src/base-executor-WGeWcQ9x.mjs → base-executor-DUf5AdoE.mjs} +4 -6
- package/dist/base-executor-DUf5AdoE.mjs.map +1 -0
- package/dist/base-executor-FX7YJl7f.d.ts +155 -0
- package/dist/base-executor-FX7YJl7f.d.ts.map +1 -0
- package/dist/executors/build/executor.d.mts +154 -3
- package/dist/executors/build/executor.d.mts.map +1 -0
- package/dist/executors/build/executor.d.ts +154 -0
- package/dist/executors/build/executor.d.ts.map +1 -0
- package/dist/executors/build/executor.js +20 -0
- package/dist/executors/build/executor.mjs +17 -3
- package/dist/executors/build/executor.mjs.map +1 -0
- package/dist/executors/clean/executor.d.mts +154 -3
- package/dist/executors/clean/executor.d.mts.map +1 -0
- package/dist/executors/clean/executor.d.ts +154 -0
- package/dist/executors/clean/executor.d.ts.map +1 -0
- package/dist/executors/clean/executor.js +15 -0
- package/dist/executors/clean/executor.mjs +13 -3
- package/dist/executors/clean/executor.mjs.map +1 -0
- package/dist/executors/docs/executor.d.mts +154 -3
- package/dist/executors/docs/executor.d.mts.map +1 -0
- package/dist/executors/docs/executor.d.ts +154 -0
- package/dist/executors/docs/executor.d.ts.map +1 -0
- package/dist/executors/docs/executor.js +16 -0
- package/dist/executors/docs/executor.mjs +13 -3
- package/dist/executors/docs/executor.mjs.map +1 -0
- package/dist/executors/lint/executor.d.mts +154 -3
- package/dist/executors/lint/executor.d.mts.map +1 -0
- package/dist/executors/lint/executor.d.ts +154 -0
- package/dist/executors/lint/executor.d.ts.map +1 -0
- package/dist/executors/lint/executor.js +16 -0
- package/dist/executors/lint/executor.mjs +13 -3
- package/dist/executors/lint/executor.mjs.map +1 -0
- package/dist/executors/prepare/executor.d.mts +154 -3
- package/dist/executors/prepare/executor.d.mts.map +1 -0
- package/dist/executors/prepare/executor.d.ts +154 -0
- package/dist/executors/prepare/executor.d.ts.map +1 -0
- package/dist/executors/prepare/executor.js +20 -0
- package/dist/executors/prepare/executor.mjs +17 -3
- package/dist/executors/prepare/executor.mjs.map +1 -0
- package/dist/index.d.mts +3 -9
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18 -0
- package/dist/index.mjs +17 -9
- package/dist/index.mjs.map +1 -0
- package/dist/plugin/index.d.mts +8 -2
- package/dist/plugin/index.d.mts.map +1 -0
- package/dist/{index-BbciquDs.d.mts → plugin/index.d.ts} +3 -3
- package/dist/plugin/index.d.ts.map +1 -0
- package/dist/plugin/index.js +8 -0
- package/dist/plugin/index.mjs +7 -2
- package/dist/plugin/index.mjs.map +1 -0
- package/dist/src/base/base-executor.schema.d.ts +73 -19
- package/dist/src/base/base-executor.schema.json +102 -26
- package/dist/src/base-executor-BkNTl-jk.d.mts +155 -0
- package/dist/src/base-executor-BkNTl-jk.d.mts.map +1 -0
- package/dist/src/{base-executor-BEOdY15z.cjs → base-executor-CkaF97Xd.js} +5 -8
- package/dist/{base-executor-WGeWcQ9x.mjs → src/base-executor-DUf5AdoE.mjs} +4 -6
- package/dist/src/base-executor-DUf5AdoE.mjs.map +1 -0
- package/dist/src/base-executor-FX7YJl7f.d.ts +155 -0
- package/dist/src/base-executor-FX7YJl7f.d.ts.map +1 -0
- package/dist/src/executors/build/executor.d.mts +154 -3
- package/dist/src/executors/build/executor.d.mts.map +1 -0
- package/dist/src/executors/build/executor.d.ts +154 -0
- package/dist/src/executors/build/executor.d.ts.map +1 -0
- package/dist/src/executors/build/executor.js +20 -0
- package/dist/src/executors/build/executor.mjs +17 -3
- package/dist/src/executors/build/executor.mjs.map +1 -0
- package/dist/src/executors/build/schema.d.ts +83 -23
- package/dist/src/executors/build/schema.json +112 -43
- package/dist/src/executors/clean/executor.d.mts +154 -3
- package/dist/src/executors/clean/executor.d.mts.map +1 -0
- package/dist/src/executors/clean/executor.d.ts +154 -0
- package/dist/src/executors/clean/executor.d.ts.map +1 -0
- package/dist/src/executors/clean/executor.js +15 -0
- package/dist/src/executors/clean/executor.mjs +13 -3
- package/dist/src/executors/clean/executor.mjs.map +1 -0
- package/dist/src/executors/clean/schema.d.ts +83 -23
- package/dist/src/executors/clean/schema.json +112 -43
- package/dist/src/executors/docs/executor.d.mts +154 -3
- package/dist/src/executors/docs/executor.d.mts.map +1 -0
- package/dist/src/executors/docs/executor.d.ts +154 -0
- package/dist/src/executors/docs/executor.d.ts.map +1 -0
- package/dist/src/executors/docs/executor.js +16 -0
- package/dist/src/executors/docs/executor.mjs +13 -3
- package/dist/src/executors/docs/executor.mjs.map +1 -0
- package/dist/src/executors/docs/schema.d.ts +83 -23
- package/dist/src/executors/docs/schema.json +112 -43
- package/dist/src/executors/lint/executor.d.mts +154 -3
- package/dist/src/executors/lint/executor.d.mts.map +1 -0
- package/dist/src/executors/lint/executor.d.ts +154 -0
- package/dist/src/executors/lint/executor.d.ts.map +1 -0
- package/dist/src/executors/lint/executor.js +16 -0
- package/dist/src/executors/lint/executor.mjs +13 -3
- package/dist/src/executors/lint/executor.mjs.map +1 -0
- package/dist/src/executors/lint/schema.d.ts +83 -23
- package/dist/src/executors/lint/schema.json +112 -43
- package/dist/src/executors/prepare/executor.d.mts +154 -3
- package/dist/src/executors/prepare/executor.d.mts.map +1 -0
- package/dist/src/executors/prepare/executor.d.ts +154 -0
- package/dist/src/executors/prepare/executor.d.ts.map +1 -0
- package/dist/src/executors/prepare/executor.js +20 -0
- package/dist/src/executors/prepare/executor.mjs +17 -3
- package/dist/src/executors/prepare/executor.mjs.map +1 -0
- package/dist/src/executors/prepare/schema.d.ts +83 -23
- package/dist/src/executors/prepare/schema.json +112 -43
- package/dist/src/index.d.mts +3 -9
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +18 -0
- package/dist/src/index.mjs +17 -9
- package/dist/src/index.mjs.map +1 -0
- package/dist/src/plugin/index.d.mts +8 -2
- package/dist/src/plugin/index.d.mts.map +1 -0
- package/dist/{index-COXDf824.d.cts → src/plugin/index.d.ts} +3 -3
- package/dist/src/plugin/index.d.ts.map +1 -0
- package/dist/src/plugin/index.js +8 -0
- package/dist/src/plugin/index.mjs +7 -2
- package/dist/src/plugin/index.mjs.map +1 -0
- package/docs/api/base-executor.schema.md +70 -19
- package/docs/api/build/schema.md +83 -24
- package/docs/api/clean/schema.md +83 -24
- package/docs/api/docs/schema.md +83 -24
- package/docs/api/lint/schema.md +83 -24
- package/docs/api/prepare/schema.md +83 -24
- package/package.json +38 -51
- package/dist/base-executor-BEOdY15z.cjs.map +0 -1
- package/dist/base-executor-C986ypeP.d.mts +0 -89
- package/dist/base-executor-C986ypeP.d.mts.map +0 -1
- package/dist/base-executor-Dm4OV5-b.d.cts +0 -89
- package/dist/base-executor-Dm4OV5-b.d.cts.map +0 -1
- package/dist/base-executor-WGeWcQ9x.mjs.map +0 -1
- package/dist/executor-4-xDAK3Q.d.cts +0 -94
- package/dist/executor-4-xDAK3Q.d.cts.map +0 -1
- package/dist/executor-96dASirt.d.cts +0 -94
- package/dist/executor-96dASirt.d.cts.map +0 -1
- package/dist/executor-BAfZ_2mt.mjs +0 -24
- package/dist/executor-BAfZ_2mt.mjs.map +0 -1
- package/dist/executor-BB0fklpZ.mjs +0 -24
- package/dist/executor-BB0fklpZ.mjs.map +0 -1
- package/dist/executor-BaLNOEzG.d.mts +0 -94
- package/dist/executor-BaLNOEzG.d.mts.map +0 -1
- package/dist/executor-BbNRVowe.d.cts +0 -94
- package/dist/executor-BbNRVowe.d.cts.map +0 -1
- package/dist/executor-Bbdfz3vU.d.mts +0 -94
- package/dist/executor-Bbdfz3vU.d.mts.map +0 -1
- package/dist/executor-BdDn8ZPU.cjs +0 -36
- package/dist/executor-BdDn8ZPU.cjs.map +0 -1
- package/dist/executor-BpeEDqH7.cjs +0 -36
- package/dist/executor-BpeEDqH7.cjs.map +0 -1
- package/dist/executor-C5QxZhO7.mjs +0 -24
- package/dist/executor-C5QxZhO7.mjs.map +0 -1
- package/dist/executor-COGLRU0m.cjs +0 -35
- package/dist/executor-COGLRU0m.cjs.map +0 -1
- package/dist/executor-CiTDecl1.d.cts +0 -94
- package/dist/executor-CiTDecl1.d.cts.map +0 -1
- package/dist/executor-CqzPUm3D.mjs +0 -24
- package/dist/executor-CqzPUm3D.mjs.map +0 -1
- package/dist/executor-D-CbgdfW.d.cts +0 -94
- package/dist/executor-D-CbgdfW.d.cts.map +0 -1
- package/dist/executor-D2Vww0YS.d.mts +0 -94
- package/dist/executor-D2Vww0YS.d.mts.map +0 -1
- package/dist/executor-DZVLtlig.d.mts +0 -94
- package/dist/executor-DZVLtlig.d.mts.map +0 -1
- package/dist/executor-Df7WIF5r.cjs +0 -36
- package/dist/executor-Df7WIF5r.cjs.map +0 -1
- package/dist/executor-Dih1DtWS.cjs +0 -36
- package/dist/executor-Dih1DtWS.cjs.map +0 -1
- package/dist/executor-MgQPT_ao.d.mts +0 -94
- package/dist/executor-MgQPT_ao.d.mts.map +0 -1
- package/dist/executor-yO6eAP0j.mjs +0 -24
- package/dist/executor-yO6eAP0j.mjs.map +0 -1
- package/dist/executors/build/executor.cjs +0 -6
- package/dist/executors/build/executor.d.cts +0 -3
- package/dist/executors/clean/executor.cjs +0 -6
- package/dist/executors/clean/executor.d.cts +0 -3
- package/dist/executors/docs/executor.cjs +0 -6
- package/dist/executors/docs/executor.d.cts +0 -3
- package/dist/executors/lint/executor.cjs +0 -6
- package/dist/executors/lint/executor.d.cts +0 -3
- package/dist/executors/prepare/executor.cjs +0 -6
- package/dist/executors/prepare/executor.d.cts +0 -3
- package/dist/executors-0N4uK0Ll.mjs +0 -0
- package/dist/executors-BJFR9wj9.cjs +0 -0
- package/dist/executors-Dvb23_Uh.d.cts +0 -1
- package/dist/executors-DxVudqU1.d.mts +0 -1
- package/dist/executors.cjs +0 -13
- package/dist/executors.d.cts +0 -8
- package/dist/executors.d.mts +0 -8
- package/dist/executors.mjs +0 -9
- package/dist/index-BbciquDs.d.mts.map +0 -1
- package/dist/index-COXDf824.d.cts.map +0 -1
- package/dist/index.cjs +0 -15
- package/dist/index.d.cts +0 -9
- package/dist/plugin/index.cjs +0 -3
- package/dist/plugin/index.d.cts +0 -2
- package/dist/plugin-BbxHKJnF.mjs +0 -8
- package/dist/plugin-BbxHKJnF.mjs.map +0 -1
- package/dist/plugin-jIPJzmTp.cjs +0 -14
- package/dist/plugin-jIPJzmTp.cjs.map +0 -1
- package/dist/src/base-executor-BEOdY15z.cjs.map +0 -1
- package/dist/src/base-executor-C986ypeP.d.mts +0 -89
- package/dist/src/base-executor-C986ypeP.d.mts.map +0 -1
- package/dist/src/base-executor-Dm4OV5-b.d.cts +0 -89
- package/dist/src/base-executor-Dm4OV5-b.d.cts.map +0 -1
- package/dist/src/base-executor-WGeWcQ9x.mjs.map +0 -1
- package/dist/src/executor-4-xDAK3Q.d.cts +0 -94
- package/dist/src/executor-4-xDAK3Q.d.cts.map +0 -1
- package/dist/src/executor-96dASirt.d.cts +0 -94
- package/dist/src/executor-96dASirt.d.cts.map +0 -1
- package/dist/src/executor-BAfZ_2mt.mjs +0 -24
- package/dist/src/executor-BAfZ_2mt.mjs.map +0 -1
- package/dist/src/executor-BB0fklpZ.mjs +0 -24
- package/dist/src/executor-BB0fklpZ.mjs.map +0 -1
- package/dist/src/executor-BaLNOEzG.d.mts +0 -94
- package/dist/src/executor-BaLNOEzG.d.mts.map +0 -1
- package/dist/src/executor-BbNRVowe.d.cts +0 -94
- package/dist/src/executor-BbNRVowe.d.cts.map +0 -1
- package/dist/src/executor-Bbdfz3vU.d.mts +0 -94
- package/dist/src/executor-Bbdfz3vU.d.mts.map +0 -1
- package/dist/src/executor-BdDn8ZPU.cjs +0 -36
- package/dist/src/executor-BdDn8ZPU.cjs.map +0 -1
- package/dist/src/executor-BpeEDqH7.cjs +0 -36
- package/dist/src/executor-BpeEDqH7.cjs.map +0 -1
- package/dist/src/executor-C5QxZhO7.mjs +0 -24
- package/dist/src/executor-C5QxZhO7.mjs.map +0 -1
- package/dist/src/executor-COGLRU0m.cjs +0 -35
- package/dist/src/executor-COGLRU0m.cjs.map +0 -1
- package/dist/src/executor-CiTDecl1.d.cts +0 -94
- package/dist/src/executor-CiTDecl1.d.cts.map +0 -1
- package/dist/src/executor-CqzPUm3D.mjs +0 -24
- package/dist/src/executor-CqzPUm3D.mjs.map +0 -1
- package/dist/src/executor-D-CbgdfW.d.cts +0 -94
- package/dist/src/executor-D-CbgdfW.d.cts.map +0 -1
- package/dist/src/executor-D2Vww0YS.d.mts +0 -94
- package/dist/src/executor-D2Vww0YS.d.mts.map +0 -1
- package/dist/src/executor-DZVLtlig.d.mts +0 -94
- package/dist/src/executor-DZVLtlig.d.mts.map +0 -1
- package/dist/src/executor-Df7WIF5r.cjs +0 -36
- package/dist/src/executor-Df7WIF5r.cjs.map +0 -1
- package/dist/src/executor-Dih1DtWS.cjs +0 -36
- package/dist/src/executor-Dih1DtWS.cjs.map +0 -1
- package/dist/src/executor-MgQPT_ao.d.mts +0 -94
- package/dist/src/executor-MgQPT_ao.d.mts.map +0 -1
- package/dist/src/executor-yO6eAP0j.mjs +0 -24
- package/dist/src/executor-yO6eAP0j.mjs.map +0 -1
- package/dist/src/executors/build/executor.cjs +0 -6
- package/dist/src/executors/build/executor.d.cts +0 -3
- package/dist/src/executors/clean/executor.cjs +0 -6
- package/dist/src/executors/clean/executor.d.cts +0 -3
- package/dist/src/executors/docs/executor.cjs +0 -6
- package/dist/src/executors/docs/executor.d.cts +0 -3
- package/dist/src/executors/lint/executor.cjs +0 -6
- package/dist/src/executors/lint/executor.d.cts +0 -3
- package/dist/src/executors/prepare/executor.cjs +0 -6
- package/dist/src/executors/prepare/executor.d.cts +0 -3
- package/dist/src/executors-0N4uK0Ll.mjs +0 -0
- package/dist/src/executors-BJFR9wj9.cjs +0 -0
- package/dist/src/executors-Dvb23_Uh.d.cts +0 -1
- package/dist/src/executors-DxVudqU1.d.mts +0 -1
- package/dist/src/executors.cjs +0 -13
- package/dist/src/executors.d.cts +0 -8
- package/dist/src/executors.d.mts +0 -8
- package/dist/src/executors.mjs +0 -9
- package/dist/src/index-BbciquDs.d.mts +0 -8
- package/dist/src/index-BbciquDs.d.mts.map +0 -1
- package/dist/src/index-COXDf824.d.cts +0 -8
- package/dist/src/index-COXDf824.d.cts.map +0 -1
- package/dist/src/index.cjs +0 -15
- package/dist/src/index.d.cts +0 -9
- package/dist/src/plugin/index.cjs +0 -3
- package/dist/src/plugin/index.d.cts +0 -2
- package/dist/src/plugin-BbxHKJnF.mjs +0 -8
- package/dist/src/plugin-BbxHKJnF.mjs.map +0 -1
- package/dist/src/plugin-jIPJzmTp.cjs +0 -14
- package/dist/src/plugin-jIPJzmTp.cjs.map +0 -1
package/docs/api/lint/schema.md
CHANGED
|
@@ -4,60 +4,109 @@
|
|
|
4
4
|
|
|
5
5
|
# Lint Executor
|
|
6
6
|
|
|
7
|
-
## `
|
|
7
|
+
## `configFile`
|
|
8
8
|
- **Type**: `string`
|
|
9
|
-
- **Default**: `"
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## `input`
|
|
18
|
+
- **Type**: `array`
|
|
12
19
|
|
|
20
|
+
> Input Entry File(s)
|
|
13
21
|
|
|
14
|
-
|
|
22
|
+
|
|
23
|
+
The entry file(s) that serve as the input for the project
|
|
15
24
|
|
|
16
25
|
|
|
17
26
|
## `tsconfig`
|
|
18
27
|
- **Type**: `string`
|
|
28
|
+
- **Default**: `"{projectRoot}/tsconfig.json"`
|
|
19
29
|
|
|
20
|
-
>
|
|
30
|
+
> TSConfig Path
|
|
21
31
|
|
|
22
32
|
|
|
23
33
|
The path to the tsconfig file
|
|
24
34
|
|
|
25
35
|
|
|
26
|
-
## `
|
|
36
|
+
## `outputPath`
|
|
27
37
|
- **Type**: `string`
|
|
28
|
-
- **Default**: `"{projectRoot}/shell-shock.config.ts"`
|
|
29
38
|
|
|
30
|
-
>
|
|
39
|
+
> Output Path
|
|
31
40
|
|
|
32
41
|
|
|
33
|
-
The path to the
|
|
42
|
+
The path to the output directory for the build artifacts
|
|
34
43
|
|
|
35
44
|
|
|
36
|
-
## `
|
|
45
|
+
## `sourceMap`
|
|
46
|
+
- **Type**: `boolean`
|
|
47
|
+
|
|
48
|
+
> Sourcemap
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
Generate a sourcemap
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## `format`
|
|
55
|
+
- **Type**: `array`
|
|
56
|
+
- **Default**: `["cjs","esm"]`
|
|
57
|
+
|
|
58
|
+
> Format
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
The format to build
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## `platform`
|
|
37
65
|
- **Type**: `string`
|
|
66
|
+
- **Default**: `"neutral"`
|
|
38
67
|
|
|
39
|
-
>
|
|
68
|
+
> Platform
|
|
40
69
|
|
|
41
70
|
|
|
42
|
-
The build
|
|
71
|
+
The platform to build
|
|
43
72
|
|
|
44
73
|
|
|
45
|
-
## `
|
|
46
|
-
- **Type**: `
|
|
74
|
+
## `external`
|
|
75
|
+
- **Type**: `array`
|
|
76
|
+
- **Default**: `[]`
|
|
47
77
|
|
|
48
|
-
>
|
|
78
|
+
> External
|
|
49
79
|
|
|
50
80
|
|
|
51
|
-
|
|
81
|
+
The external dependencies
|
|
52
82
|
|
|
53
83
|
|
|
54
|
-
## `
|
|
84
|
+
## `noExternal`
|
|
85
|
+
- **Type**: `array`
|
|
86
|
+
- **Default**: `[]`
|
|
87
|
+
|
|
88
|
+
> No External
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
The dependencies that should not be treated as external
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## `skipNodeModulesBundle`
|
|
55
95
|
- **Type**: `boolean`
|
|
56
96
|
|
|
57
|
-
> Skip
|
|
97
|
+
> Skip Node Modules Bundle
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
Skip bundling node_modules during the build process (if required)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
## `mode`
|
|
104
|
+
- **Type**: `string`
|
|
105
|
+
|
|
106
|
+
> Mode
|
|
58
107
|
|
|
59
108
|
|
|
60
|
-
|
|
109
|
+
The build mode
|
|
61
110
|
|
|
62
111
|
|
|
63
112
|
## `logLevel`
|
|
@@ -69,13 +118,23 @@ Skip the cache when building
|
|
|
69
118
|
The log level to use for the build process
|
|
70
119
|
|
|
71
120
|
|
|
72
|
-
## `
|
|
73
|
-
|
|
74
|
-
|
|
121
|
+
## `define`
|
|
122
|
+
|
|
123
|
+
## `autoInstall`
|
|
124
|
+
- **Type**: `boolean`
|
|
125
|
+
|
|
126
|
+
> Auto Install
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
Automatically install dependencies during prepare stage
|
|
75
130
|
|
|
76
|
-
|
|
131
|
+
|
|
132
|
+
## `skipCache`
|
|
133
|
+
- **Type**: `boolean`
|
|
134
|
+
|
|
135
|
+
> Skip Cache
|
|
77
136
|
|
|
78
137
|
|
|
79
|
-
|
|
138
|
+
Skip the caching mechanism during the build process (if required)
|
|
80
139
|
|
|
81
140
|
|
|
@@ -4,60 +4,109 @@
|
|
|
4
4
|
|
|
5
5
|
# Prepare Executor
|
|
6
6
|
|
|
7
|
-
## `
|
|
7
|
+
## `configFile`
|
|
8
8
|
- **Type**: `string`
|
|
9
|
-
- **Default**: `"
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
10
|
|
|
11
|
-
>
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## `input`
|
|
18
|
+
- **Type**: `array`
|
|
12
19
|
|
|
20
|
+
> Input Entry File(s)
|
|
13
21
|
|
|
14
|
-
|
|
22
|
+
|
|
23
|
+
The entry file(s) that serve as the input for the project
|
|
15
24
|
|
|
16
25
|
|
|
17
26
|
## `tsconfig`
|
|
18
27
|
- **Type**: `string`
|
|
28
|
+
- **Default**: `"{projectRoot}/tsconfig.json"`
|
|
19
29
|
|
|
20
|
-
>
|
|
30
|
+
> TSConfig Path
|
|
21
31
|
|
|
22
32
|
|
|
23
33
|
The path to the tsconfig file
|
|
24
34
|
|
|
25
35
|
|
|
26
|
-
## `
|
|
36
|
+
## `outputPath`
|
|
27
37
|
- **Type**: `string`
|
|
28
|
-
- **Default**: `"{projectRoot}/shell-shock.config.ts"`
|
|
29
38
|
|
|
30
|
-
>
|
|
39
|
+
> Output Path
|
|
31
40
|
|
|
32
41
|
|
|
33
|
-
The path to the
|
|
42
|
+
The path to the output directory for the build artifacts
|
|
34
43
|
|
|
35
44
|
|
|
36
|
-
## `
|
|
45
|
+
## `sourceMap`
|
|
46
|
+
- **Type**: `boolean`
|
|
47
|
+
|
|
48
|
+
> Sourcemap
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
Generate a sourcemap
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## `format`
|
|
55
|
+
- **Type**: `array`
|
|
56
|
+
- **Default**: `["cjs","esm"]`
|
|
57
|
+
|
|
58
|
+
> Format
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
The format to build
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
## `platform`
|
|
37
65
|
- **Type**: `string`
|
|
66
|
+
- **Default**: `"neutral"`
|
|
38
67
|
|
|
39
|
-
>
|
|
68
|
+
> Platform
|
|
40
69
|
|
|
41
70
|
|
|
42
|
-
The build
|
|
71
|
+
The platform to build
|
|
43
72
|
|
|
44
73
|
|
|
45
|
-
## `
|
|
46
|
-
- **Type**: `
|
|
74
|
+
## `external`
|
|
75
|
+
- **Type**: `array`
|
|
76
|
+
- **Default**: `[]`
|
|
47
77
|
|
|
48
|
-
>
|
|
78
|
+
> External
|
|
49
79
|
|
|
50
80
|
|
|
51
|
-
|
|
81
|
+
The external dependencies
|
|
52
82
|
|
|
53
83
|
|
|
54
|
-
## `
|
|
84
|
+
## `noExternal`
|
|
85
|
+
- **Type**: `array`
|
|
86
|
+
- **Default**: `[]`
|
|
87
|
+
|
|
88
|
+
> No External
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
The dependencies that should not be treated as external
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
## `skipNodeModulesBundle`
|
|
55
95
|
- **Type**: `boolean`
|
|
56
96
|
|
|
57
|
-
> Skip
|
|
97
|
+
> Skip Node Modules Bundle
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
Skip bundling node_modules during the build process (if required)
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
## `mode`
|
|
104
|
+
- **Type**: `string`
|
|
105
|
+
|
|
106
|
+
> Mode
|
|
58
107
|
|
|
59
108
|
|
|
60
|
-
|
|
109
|
+
The build mode
|
|
61
110
|
|
|
62
111
|
|
|
63
112
|
## `logLevel`
|
|
@@ -69,13 +118,23 @@ Skip the cache when building
|
|
|
69
118
|
The log level to use for the build process
|
|
70
119
|
|
|
71
120
|
|
|
72
|
-
## `
|
|
73
|
-
|
|
74
|
-
|
|
121
|
+
## `define`
|
|
122
|
+
|
|
123
|
+
## `autoInstall`
|
|
124
|
+
- **Type**: `boolean`
|
|
125
|
+
|
|
126
|
+
> Auto Install
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
Automatically install dependencies during prepare stage
|
|
75
130
|
|
|
76
|
-
|
|
131
|
+
|
|
132
|
+
## `skipCache`
|
|
133
|
+
- **Type**: `boolean`
|
|
134
|
+
|
|
135
|
+
> Skip Cache
|
|
77
136
|
|
|
78
137
|
|
|
79
|
-
|
|
138
|
+
Skip the caching mechanism during the build process (if required)
|
|
80
139
|
|
|
81
140
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/nx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"description": "A Nx plugin to support Shell Shock development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"directory": "packages/nx"
|
|
9
9
|
},
|
|
10
10
|
"private": false,
|
|
11
|
-
"
|
|
11
|
+
"type": "commonjs",
|
|
12
|
+
"main": "dist/src/index.js",
|
|
12
13
|
"module": "dist/src/index.mjs",
|
|
13
14
|
"exports": {
|
|
14
15
|
"./package.json": "./package.json",
|
|
@@ -21,12 +22,12 @@
|
|
|
21
22
|
"default": "./dist/src/index.mjs"
|
|
22
23
|
},
|
|
23
24
|
"require": {
|
|
24
|
-
"types": "./dist/src/index.d.
|
|
25
|
-
"default": "./dist/src/index.
|
|
25
|
+
"types": "./dist/src/index.d.ts",
|
|
26
|
+
"default": "./dist/src/index.js"
|
|
26
27
|
},
|
|
27
28
|
"default": {
|
|
28
|
-
"types": "./dist/src/index.d.
|
|
29
|
-
"default": "./dist/src/index.
|
|
29
|
+
"types": "./dist/src/index.d.ts",
|
|
30
|
+
"default": "./dist/src/index.js"
|
|
30
31
|
}
|
|
31
32
|
},
|
|
32
33
|
"./index": {
|
|
@@ -35,12 +36,12 @@
|
|
|
35
36
|
"default": "./dist/src/index.mjs"
|
|
36
37
|
},
|
|
37
38
|
"require": {
|
|
38
|
-
"types": "./dist/src/index.d.
|
|
39
|
-
"default": "./dist/src/index.
|
|
39
|
+
"types": "./dist/src/index.d.ts",
|
|
40
|
+
"default": "./dist/src/index.js"
|
|
40
41
|
},
|
|
41
42
|
"default": {
|
|
42
|
-
"types": "./dist/src/index.d.
|
|
43
|
-
"default": "./dist/src/index.
|
|
43
|
+
"types": "./dist/src/index.d.ts",
|
|
44
|
+
"default": "./dist/src/index.js"
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
"./plugin": {
|
|
@@ -49,26 +50,12 @@
|
|
|
49
50
|
"default": "./dist/src/plugin/index.mjs"
|
|
50
51
|
},
|
|
51
52
|
"require": {
|
|
52
|
-
"types": "./dist/src/plugin/index.d.
|
|
53
|
-
"default": "./dist/src/plugin/index.
|
|
53
|
+
"types": "./dist/src/plugin/index.d.ts",
|
|
54
|
+
"default": "./dist/src/plugin/index.js"
|
|
54
55
|
},
|
|
55
56
|
"default": {
|
|
56
|
-
"types": "./dist/src/plugin/index.d.
|
|
57
|
-
"default": "./dist/src/plugin/index.
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"./executors": {
|
|
61
|
-
"import": {
|
|
62
|
-
"types": "./dist/src/executors.d.mts",
|
|
63
|
-
"default": "./dist/src/executors.mjs"
|
|
64
|
-
},
|
|
65
|
-
"require": {
|
|
66
|
-
"types": "./dist/src/executors.d.cts",
|
|
67
|
-
"default": "./dist/src/executors.cjs"
|
|
68
|
-
},
|
|
69
|
-
"default": {
|
|
70
|
-
"types": "./dist/src/executors.d.cts",
|
|
71
|
-
"default": "./dist/src/executors.cjs"
|
|
57
|
+
"types": "./dist/src/plugin/index.d.ts",
|
|
58
|
+
"default": "./dist/src/plugin/index.js"
|
|
72
59
|
}
|
|
73
60
|
},
|
|
74
61
|
"./executors/*/untyped": {
|
|
@@ -77,12 +64,12 @@
|
|
|
77
64
|
"default": "./dist/src/executors/*/untyped.mjs"
|
|
78
65
|
},
|
|
79
66
|
"require": {
|
|
80
|
-
"types": "./dist/src/executors/*/untyped.d.
|
|
81
|
-
"default": "./dist/src/executors/*/untyped.
|
|
67
|
+
"types": "./dist/src/executors/*/untyped.d.ts",
|
|
68
|
+
"default": "./dist/src/executors/*/untyped.js"
|
|
82
69
|
},
|
|
83
70
|
"default": {
|
|
84
|
-
"types": "./dist/src/executors/*/untyped.d.
|
|
85
|
-
"default": "./dist/src/executors/*/untyped.
|
|
71
|
+
"types": "./dist/src/executors/*/untyped.d.ts",
|
|
72
|
+
"default": "./dist/src/executors/*/untyped.js"
|
|
86
73
|
}
|
|
87
74
|
},
|
|
88
75
|
"./executors/*/executor": {
|
|
@@ -91,40 +78,40 @@
|
|
|
91
78
|
"default": "./dist/src/executors/*/executor.mjs"
|
|
92
79
|
},
|
|
93
80
|
"require": {
|
|
94
|
-
"types": "./dist/src/executors/*/executor.d.
|
|
95
|
-
"default": "./dist/src/executors/*/executor.
|
|
81
|
+
"types": "./dist/src/executors/*/executor.d.ts",
|
|
82
|
+
"default": "./dist/src/executors/*/executor.js"
|
|
96
83
|
},
|
|
97
84
|
"default": {
|
|
98
|
-
"types": "./dist/src/executors/*/executor.d.
|
|
99
|
-
"default": "./dist/src/executors/*/executor.
|
|
85
|
+
"types": "./dist/src/executors/*/executor.d.ts",
|
|
86
|
+
"default": "./dist/src/executors/*/executor.js"
|
|
100
87
|
}
|
|
101
88
|
},
|
|
102
|
-
"./executors/*/executor.
|
|
89
|
+
"./executors/*/executor.js": "./dist/src/executors/*/executor.js",
|
|
103
90
|
"./executors/*/executor.mjs": "./dist/src/executors/*/executor.mjs"
|
|
104
91
|
},
|
|
105
|
-
"typings": "dist/src/index.d.
|
|
92
|
+
"typings": "dist/src/index.d.ts",
|
|
106
93
|
"dependencies": {
|
|
107
94
|
"@nx/devkit": "22.5.2",
|
|
108
|
-
"@powerlines/nx": "^0.11.
|
|
109
|
-
"@shell-shock/core": "^0.
|
|
110
|
-
"@storm-software/config": "^1.135.
|
|
111
|
-
"@storm-software/config-tools": "^1.189.
|
|
112
|
-
"@storm-software/workspace-tools": "^1.294.
|
|
113
|
-
"@stryke/type-checks": "^0.5.
|
|
114
|
-
"defu": "6.1.4",
|
|
95
|
+
"@powerlines/nx": "^0.11.239",
|
|
96
|
+
"@shell-shock/core": "^0.11.0",
|
|
97
|
+
"@storm-software/config": "^1.135.12",
|
|
98
|
+
"@storm-software/config-tools": "^1.189.11",
|
|
99
|
+
"@storm-software/workspace-tools": "^1.294.44",
|
|
100
|
+
"@stryke/type-checks": "^0.5.31",
|
|
101
|
+
"defu": "^6.1.4",
|
|
115
102
|
"jiti": "^2.6.1",
|
|
116
|
-
"powerlines": "^0.
|
|
103
|
+
"powerlines": "^0.39.19",
|
|
117
104
|
"untyped": "^1.5.2"
|
|
118
105
|
},
|
|
119
106
|
"devDependencies": {
|
|
120
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
121
|
-
"@powerlines/plugin-untyped": "^0.2.
|
|
122
|
-
"@storm-software/testing-tools": "^1.119.
|
|
123
|
-
"@types/node": "^25.3.
|
|
107
|
+
"@powerlines/plugin-tsdown": "^0.1.262",
|
|
108
|
+
"@powerlines/plugin-untyped": "^0.2.264",
|
|
109
|
+
"@storm-software/testing-tools": "^1.119.86",
|
|
110
|
+
"@types/node": "^25.3.3",
|
|
124
111
|
"eslint-flat-config-utils": "^2.1.4",
|
|
125
112
|
"jsonc-eslint-parser": "^2.4.2"
|
|
126
113
|
},
|
|
127
114
|
"publishConfig": { "access": "public" },
|
|
128
115
|
"executors": "./executors.json",
|
|
129
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "6fbda1ffc234bdd12b5d0fd0a32e59727b369c5c"
|
|
130
117
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-BEOdY15z.cjs","names":[],"sources":["../../src/base/base-executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI, UserConfig } from \"@shell-shock/core\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport type { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport { createJiti } from \"jiti\";\nimport type { InlineConfig, PowerlinesCommand } from \"powerlines/types/config\";\nimport type { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type ShellShockExecutorContext<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n> = ExecutorContext & {\n projectName: string;\n command: TCommand;\n options: TExecutorSchema;\n inlineConfig: InlineConfig;\n workspaceConfig: StormWorkspaceConfig;\n};\n\n/**\n * A utility function to create a Shell Shock executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Shell Shock executors by providing a consistent interface and error handling.\n *\n * @param command - The command that the executor will handle (e.g., \"new\", \"prepare\", \"build\", etc.).\n * @param executorFn - The function that will be executed when the command is run.\n * @returns A Promise that resolves to the result of the executor function.\n */\nexport function withExecutor<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n>(\n command: TCommand,\n executorFn: (\n context: ShellShockExecutorContext<TCommand, TExecutorSchema>,\n api: ShellShockAPI\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Shell Shock ${command} command executor`,\n async (\n options: TExecutorSchema,\n context: ExecutorContext,\n workspaceConfig: StormWorkspaceConfig\n ): Promise<BaseExecutorResult | null | undefined> => {\n if (!context.projectName) {\n throw new Error(\n \"The executor requires `projectName` on the context object.\"\n );\n }\n\n if (\n !context.projectName ||\n !context.projectsConfigurations?.projects ||\n !context.projectsConfigurations.projects[context.projectName] ||\n !context.projectsConfigurations.projects[context.projectName]?.root\n ) {\n throw new Error(\n \"The executor requires `projectsConfigurations` on the context object.\"\n );\n }\n\n const projectConfig =\n context.projectsConfigurations.projects[context.projectName]!;\n\n const jiti = createJiti(context.root, { cache: false });\n const { createShellShock } = await jiti.import<{\n createShellShock: typeof import(\"@shell-shock/core/api\").createShellShock;\n }>(\"@shell-shock/core/api\");\n\n const api = await createShellShock(\n defu(\n {\n name: projectConfig.name,\n root: projectConfig.root,\n sourceRoot: projectConfig.sourceRoot,\n tsconfig: options.tsconfig,\n logLevel: options.logLevel,\n description: projectConfig.metadata?.description,\n type: projectConfig.projectType,\n mode: options.mode,\n skipCache: options.skipCache,\n autoInstall: options.autoInstall,\n output: {\n outputPath:\n options.outputPath ??\n projectConfig.targets?.build?.options?.outputPath\n }\n },\n options\n ) as Partial<UserConfig>\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n inlineConfig: {\n command,\n configFile: options.configFile\n },\n command\n },\n context\n ),\n api\n )\n );\n } catch (error) {\n writeError(\n `An error occurred while executing the Shell Shock ${\n command\n } command executor: ${\n isError(error)\n ? `${error.message}\n\n${error.stack}`\n : \"Unknown error\"\n }`\n );\n\n return { success: false };\n } finally {\n await api.finalize();\n }\n },\n {\n skipReadingConfig: false,\n hooks: {\n applyDefaultOptions: (options: Partial<TExecutorSchema>) => {\n options.outputPath ??= \"dist/{projectRoot}\";\n options.configFile ??= \"{projectRoot}/shell-shock.config.ts\";\n\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,SAAgB,aAId,SACA,YAQkC;AAClC,iFACE,eAAe,QAAQ,oBACvB,OACE,SACA,SACA,oBACmD;AACnD,MAAI,CAAC,QAAQ,YACX,OAAM,IAAI,MACR,6DACD;AAGH,MACE,CAAC,QAAQ,eACT,CAAC,QAAQ,wBAAwB,YACjC,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,gBACjD,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,cAAc,KAE/D,OAAM,IAAI,MACR,wEACD;EAGH,MAAM,gBACJ,QAAQ,uBAAuB,SAAS,QAAQ;EAGlD,MAAM,EAAE,qBAAqB,2BADL,QAAQ,MAAM,EAAE,OAAO,OAAO,CAAC,CACf,OAErC,wBAAwB;EAE3B,MAAM,MAAM,MAAM,mCAEd;GACE,MAAM,cAAc;GACpB,MAAM,cAAc;GACpB,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,aAAa,cAAc,UAAU;GACrC,MAAM,cAAc;GACpB,MAAM,QAAQ;GACd,WAAW,QAAQ;GACnB,aAAa,QAAQ;GACrB,QAAQ,EACN,YACE,QAAQ,cACR,cAAc,SAAS,OAAO,SAAS,YAC1C;GACF,EACD,QACD,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,6BAEI;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ;KACrB;IACD;IACD,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,wDACE,qDACE,QACD,gEACS,MAAM,GACV,GAAG,MAAM,QAAQ;;EAE/B,MAAM,UACQ,kBAEP;AAED,UAAO,EAAE,SAAS,OAAO;YACjB;AACR,SAAM,IAAI,UAAU;;IAGxB;EACE,mBAAmB;EACnB,OAAO,EACL,sBAAsB,YAAsC;AAC1D,WAAQ,eAAe;AACvB,WAAQ,eAAe;AAEvB,UAAO;KAEV;EACF,CACF"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
|
|
2
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
3
|
-
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
4
|
-
import { InlineConfig, PowerlinesCommand } from "powerlines/types/config";
|
|
5
|
-
|
|
6
|
-
//#region src/base/base-executor.schema.d.ts
|
|
7
|
-
// Generated by powerlines
|
|
8
|
-
// Do not edit this file directly
|
|
9
|
-
interface BaseExecutorSchema {
|
|
10
|
-
/**
|
|
11
|
-
* Output Path
|
|
12
|
-
*
|
|
13
|
-
* The output path for the build
|
|
14
|
-
*
|
|
15
|
-
* @default "dist/{projectRoot}"
|
|
16
|
-
*
|
|
17
|
-
* @format path
|
|
18
|
-
*/
|
|
19
|
-
outputPath?: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* TypeScript Configuration File
|
|
23
|
-
*
|
|
24
|
-
* The path to the tsconfig file
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @format path
|
|
28
|
-
*/
|
|
29
|
-
tsconfig?: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Shell Shock Configuration File
|
|
33
|
-
*
|
|
34
|
-
* The path to the Shell Shock configuration file
|
|
35
|
-
*
|
|
36
|
-
* @default "{projectRoot}/shell-shock.config.ts"
|
|
37
|
-
*
|
|
38
|
-
* @format path
|
|
39
|
-
*/
|
|
40
|
-
configFile?: string;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Mode
|
|
44
|
-
*
|
|
45
|
-
* The build mode
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* @enum development,test,production
|
|
49
|
-
*/
|
|
50
|
-
mode?: string;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Auto Install
|
|
54
|
-
*
|
|
55
|
-
* Automatically install dependencies during prepare stage
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
autoInstall?: boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Skip Cache
|
|
62
|
-
*
|
|
63
|
-
* Skip the caching mechanism during the build process (if required)
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
skipCache?: boolean;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Log Level
|
|
70
|
-
*
|
|
71
|
-
* The log level to use for the build process
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
75
|
-
*/
|
|
76
|
-
logLevel?: string;
|
|
77
|
-
}
|
|
78
|
-
//#endregion
|
|
79
|
-
//#region src/base/base-executor.d.ts
|
|
80
|
-
type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
|
|
81
|
-
projectName: string;
|
|
82
|
-
command: TCommand;
|
|
83
|
-
options: TExecutorSchema;
|
|
84
|
-
inlineConfig: InlineConfig;
|
|
85
|
-
workspaceConfig: StormWorkspaceConfig;
|
|
86
|
-
};
|
|
87
|
-
//#endregion
|
|
88
|
-
export { ShellShockExecutorContext as t };
|
|
89
|
-
//# sourceMappingURL=base-executor-C986ypeP.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-C986ypeP.d.mts","names":["BaseExecutorSchema"],"sources":["../../src/base/base-executor.schema.d.ts","../../src/base/base-executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface BaseExecutorSchema {\n /**\n * Output Path\n * \n * The output path for the build\n * \n * @default \"dist/{projectRoot}\"\n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * TypeScript Configuration File\n * \n * The path to the tsconfig file\n * \n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Shell Shock Configuration File\n * \n * The path to the Shell Shock configuration file\n * \n * @default \"{projectRoot}/shell-shock.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Auto Install\n * \n * Automatically install dependencies during prepare stage\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the caching mechanism during the build process (if required)\n * \n */\n skipCache?: boolean,\n\n /**\n * Log Level\n * \n * The log level to use for the build process\n * \n * \n * @enum fatal,error,warn,success,info,debug,trace,silent\n */\n logLevel?: string,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;AC0BA;;;;EAE+C,UAAA,CAAA,EAAA,MAAA;;EAGpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AD/BMA,KC0BL,yBD1BuB,CAAA,iBC2BhB,iBD3BgB,GC2BI,iBD3BJ,EAAA,wBC4BT,kBD5BS,GC4BY,kBD5BZ,CAAA,GC6B/B,eD7B+B,GAAA;;WC+BxB;WACA;EANC,YAAA,EAOI,YAPJ;EACO,eAAA,EAOA,oBAPA;CAAoB"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
|
|
2
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
3
|
-
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
4
|
-
import { InlineConfig, PowerlinesCommand } from "powerlines/types/config";
|
|
5
|
-
|
|
6
|
-
//#region src/base/base-executor.schema.d.ts
|
|
7
|
-
// Generated by powerlines
|
|
8
|
-
// Do not edit this file directly
|
|
9
|
-
interface BaseExecutorSchema {
|
|
10
|
-
/**
|
|
11
|
-
* Output Path
|
|
12
|
-
*
|
|
13
|
-
* The output path for the build
|
|
14
|
-
*
|
|
15
|
-
* @default "dist/{projectRoot}"
|
|
16
|
-
*
|
|
17
|
-
* @format path
|
|
18
|
-
*/
|
|
19
|
-
outputPath?: string;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* TypeScript Configuration File
|
|
23
|
-
*
|
|
24
|
-
* The path to the tsconfig file
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @format path
|
|
28
|
-
*/
|
|
29
|
-
tsconfig?: string;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Shell Shock Configuration File
|
|
33
|
-
*
|
|
34
|
-
* The path to the Shell Shock configuration file
|
|
35
|
-
*
|
|
36
|
-
* @default "{projectRoot}/shell-shock.config.ts"
|
|
37
|
-
*
|
|
38
|
-
* @format path
|
|
39
|
-
*/
|
|
40
|
-
configFile?: string;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Mode
|
|
44
|
-
*
|
|
45
|
-
* The build mode
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* @enum development,test,production
|
|
49
|
-
*/
|
|
50
|
-
mode?: string;
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Auto Install
|
|
54
|
-
*
|
|
55
|
-
* Automatically install dependencies during prepare stage
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
autoInstall?: boolean;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Skip Cache
|
|
62
|
-
*
|
|
63
|
-
* Skip the caching mechanism during the build process (if required)
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
skipCache?: boolean;
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Log Level
|
|
70
|
-
*
|
|
71
|
-
* The log level to use for the build process
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
75
|
-
*/
|
|
76
|
-
logLevel?: string;
|
|
77
|
-
}
|
|
78
|
-
//#endregion
|
|
79
|
-
//#region src/base/base-executor.d.ts
|
|
80
|
-
type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
|
|
81
|
-
projectName: string;
|
|
82
|
-
command: TCommand;
|
|
83
|
-
options: TExecutorSchema;
|
|
84
|
-
inlineConfig: InlineConfig;
|
|
85
|
-
workspaceConfig: StormWorkspaceConfig;
|
|
86
|
-
};
|
|
87
|
-
//#endregion
|
|
88
|
-
export { ShellShockExecutorContext as t };
|
|
89
|
-
//# sourceMappingURL=base-executor-Dm4OV5-b.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-Dm4OV5-b.d.cts","names":["BaseExecutorSchema"],"sources":["../../src/base/base-executor.schema.d.ts","../../src/base/base-executor.ts"],"sourcesContent":["\n// Generated by powerlines\n// Do not edit this file directly\n\nexport interface BaseExecutorSchema {\n /**\n * Output Path\n * \n * The output path for the build\n * \n * @default \"dist/{projectRoot}\"\n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * TypeScript Configuration File\n * \n * The path to the tsconfig file\n * \n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Shell Shock Configuration File\n * \n * The path to the Shell Shock configuration file\n * \n * @default \"{projectRoot}/shell-shock.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Auto Install\n * \n * Automatically install dependencies during prepare stage\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the caching mechanism during the build process (if required)\n * \n */\n skipCache?: boolean,\n\n /**\n * Log Level\n * \n * The log level to use for the build process\n * \n * \n * @enum fatal,error,warn,success,info,debug,trace,silent\n */\n logLevel?: string,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;AC0BA;;;;EAE+C,UAAA,CAAA,EAAA,MAAA;;EAGpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AD/BMA,KC0BL,yBD1BuB,CAAA,iBC2BhB,iBD3BgB,GC2BI,iBD3BJ,EAAA,wBC4BT,kBD5BS,GC4BY,kBD5BZ,CAAA,GC6B/B,eD7B+B,GAAA;;WC+BxB;WACA;EANC,YAAA,EAOI,YAPJ;EACO,eAAA,EAOA,oBAPA;CAAoB"}
|