@shell-shock/nx 0.0.42 → 0.0.46
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 +30 -0
- package/README.md +1 -1
- package/dist/base/base-executor.d.mts +2 -0
- package/dist/base/base-executor.d.ts +2 -0
- package/dist/{base-executor-CkaF97Xd.js → base/base-executor.js} +10 -46
- package/dist/{base-executor-DUf5AdoE.mjs → base/base-executor.mjs} +3 -3
- package/dist/base/base-executor.mjs.map +1 -0
- package/dist/base/base-executor.schema.d.js +0 -0
- package/dist/{src/executors/lint/executor.d.ts → base/base-executor.schema.d.mts} +33 -38
- package/dist/base/base-executor.schema.d.mts.map +1 -0
- package/dist/{src/executors/lint/schema.d.ts → base/base-executor.schema.d.ts} +26 -13
- package/dist/base/base-executor.schema.d.ts.map +1 -0
- package/dist/{src/base → base}/base-executor.schema.json +40 -2
- package/dist/base/base-executor.untyped.d.mts +2 -0
- package/dist/base/base-executor.untyped.d.ts +2 -0
- package/dist/base/base-executor.untyped.js +18 -0
- package/dist/{src/index.mjs → base/base-executor.untyped.mjs} +2 -3
- package/dist/base/base-executor.untyped.mjs.map +1 -0
- package/dist/base/index.d.mts +2 -0
- package/dist/base/index.d.ts +2 -0
- package/dist/base/index.js +5 -0
- package/dist/base/index.mjs +4 -0
- package/dist/base-executor-CE7_IgHr.d.mts +29 -0
- package/dist/base-executor-CE7_IgHr.d.mts.map +1 -0
- package/dist/{base-executor-FX7YJl7f.d.ts → base-executor-CPOK8Lba.d.mts} +34 -14
- package/dist/base-executor-CPOK8Lba.d.mts.map +1 -0
- package/dist/base-executor-Co2z43MK.d.ts +29 -0
- package/dist/base-executor-Co2z43MK.d.ts.map +1 -0
- package/dist/{src/base-executor-DUf5AdoE.mjs → base-executor-DojAZA0w.mjs} +2 -2
- package/dist/base-executor-DojAZA0w.mjs.map +1 -0
- package/dist/{base-executor-BkNTl-jk.d.mts → base-executor-ICVyKAxY.d.ts} +34 -14
- package/dist/base-executor-ICVyKAxY.d.ts.map +1 -0
- package/dist/{src/base-executor-CkaF97Xd.js → base-executor-KUL9jD5R.js} +7 -7
- package/dist/base-executor.untyped-D4R6pki2.d.ts +7 -0
- package/dist/base-executor.untyped-D4R6pki2.d.ts.map +1 -0
- package/dist/base-executor.untyped-hmlG6oyC.d.mts +7 -0
- package/dist/base-executor.untyped-hmlG6oyC.d.mts.map +1 -0
- package/dist/chunk-BE-pF4vm.js +34 -0
- package/dist/executors/build/executor.d.mts +34 -16
- package/dist/executors/build/executor.d.mts.map +1 -1
- package/dist/executors/build/executor.d.ts +34 -16
- package/dist/executors/build/executor.d.ts.map +1 -1
- package/dist/executors/build/executor.js +3 -4
- package/dist/executors/build/executor.mjs +2 -3
- package/dist/executors/build/executor.mjs.map +1 -1
- package/dist/executors/build/schema.d.js +0 -0
- package/dist/{src/executors/build/executor.d.mts → executors/build/schema.d.mts} +35 -26
- package/dist/executors/build/schema.d.mts.map +1 -0
- package/dist/executors/build/schema.d.ts +160 -141
- package/dist/executors/build/schema.d.ts.map +1 -0
- package/dist/executors/build/schema.json +40 -2
- package/dist/executors/build/untyped.d.mts +7 -0
- package/dist/executors/build/untyped.d.mts.map +1 -0
- package/dist/executors/build/untyped.d.ts +6 -0
- package/dist/executors/build/untyped.d.ts.map +1 -0
- package/dist/executors/build/untyped.js +17 -0
- package/dist/executors/build/untyped.mjs +17 -0
- package/dist/executors/build/untyped.mjs.map +1 -0
- package/dist/executors/clean/executor.d.mts +34 -16
- package/dist/executors/clean/executor.d.mts.map +1 -1
- package/dist/executors/clean/executor.d.ts +34 -16
- package/dist/executors/clean/executor.d.ts.map +1 -1
- package/dist/executors/clean/executor.js +3 -4
- package/dist/executors/clean/executor.mjs +2 -3
- package/dist/executors/clean/executor.mjs.map +1 -1
- package/dist/executors/clean/schema.d.js +0 -0
- package/dist/{src/executors/clean/executor.d.mts → executors/clean/schema.d.mts} +35 -26
- package/dist/executors/clean/schema.d.mts.map +1 -0
- package/dist/executors/clean/schema.d.ts +160 -141
- package/dist/executors/clean/schema.d.ts.map +1 -0
- package/dist/executors/clean/schema.json +40 -2
- package/dist/executors/clean/untyped.d.mts +7 -0
- package/dist/executors/clean/untyped.d.mts.map +1 -0
- package/dist/executors/clean/untyped.d.ts +6 -0
- package/dist/executors/clean/untyped.d.ts.map +1 -0
- package/dist/executors/clean/untyped.js +17 -0
- package/dist/executors/clean/untyped.mjs +17 -0
- package/dist/executors/clean/untyped.mjs.map +1 -0
- package/dist/executors/docs/executor.d.mts +34 -16
- package/dist/executors/docs/executor.d.mts.map +1 -1
- package/dist/executors/docs/executor.d.ts +34 -16
- package/dist/executors/docs/executor.d.ts.map +1 -1
- package/dist/executors/docs/executor.js +3 -4
- package/dist/executors/docs/executor.mjs +2 -3
- package/dist/executors/docs/executor.mjs.map +1 -1
- package/dist/executors/docs/schema.d.js +0 -0
- package/dist/{src/executors/docs/executor.d.mts → executors/docs/schema.d.mts} +35 -26
- package/dist/executors/docs/schema.d.mts.map +1 -0
- package/dist/executors/docs/schema.d.ts +160 -141
- package/dist/executors/docs/schema.d.ts.map +1 -0
- package/dist/executors/docs/schema.json +40 -2
- package/dist/executors/docs/untyped.d.mts +7 -0
- package/dist/executors/docs/untyped.d.mts.map +1 -0
- package/dist/executors/docs/untyped.d.ts +6 -0
- package/dist/executors/docs/untyped.d.ts.map +1 -0
- package/dist/executors/docs/untyped.js +17 -0
- package/dist/executors/docs/untyped.mjs +17 -0
- package/dist/executors/docs/untyped.mjs.map +1 -0
- package/dist/executors/lint/executor.d.mts +34 -16
- package/dist/executors/lint/executor.d.mts.map +1 -1
- package/dist/executors/lint/executor.d.ts +34 -16
- package/dist/executors/lint/executor.d.ts.map +1 -1
- package/dist/executors/lint/executor.js +3 -4
- package/dist/executors/lint/executor.mjs +2 -3
- package/dist/executors/lint/executor.mjs.map +1 -1
- package/dist/executors/lint/schema.d.js +0 -0
- package/dist/{src/executors/lint/executor.d.mts → executors/lint/schema.d.mts} +35 -26
- package/dist/executors/lint/schema.d.mts.map +1 -0
- package/dist/executors/lint/schema.d.ts +160 -141
- package/dist/executors/lint/schema.d.ts.map +1 -0
- package/dist/executors/lint/schema.json +40 -2
- package/dist/executors/lint/untyped.d.mts +7 -0
- package/dist/executors/lint/untyped.d.mts.map +1 -0
- package/dist/executors/lint/untyped.d.ts +6 -0
- package/dist/executors/lint/untyped.d.ts.map +1 -0
- package/dist/executors/lint/untyped.js +17 -0
- package/dist/executors/lint/untyped.mjs +17 -0
- package/dist/executors/lint/untyped.mjs.map +1 -0
- package/dist/executors/prepare/executor.d.mts +34 -16
- package/dist/executors/prepare/executor.d.mts.map +1 -1
- package/dist/executors/prepare/executor.d.ts +34 -16
- package/dist/executors/prepare/executor.d.ts.map +1 -1
- package/dist/executors/prepare/executor.js +3 -4
- package/dist/executors/prepare/executor.mjs +2 -3
- package/dist/executors/prepare/executor.mjs.map +1 -1
- package/dist/executors/prepare/schema.d.js +0 -0
- package/dist/{src/executors/prepare/executor.d.mts → executors/prepare/schema.d.mts} +35 -26
- package/dist/executors/prepare/schema.d.mts.map +1 -0
- package/dist/executors/prepare/schema.d.ts +160 -141
- package/dist/executors/prepare/schema.d.ts.map +1 -0
- package/dist/executors/prepare/schema.json +40 -2
- package/dist/executors/prepare/untyped.d.mts +7 -0
- package/dist/executors/prepare/untyped.d.mts.map +1 -0
- package/dist/executors/prepare/untyped.d.ts +6 -0
- package/dist/executors/prepare/untyped.d.ts.map +1 -0
- package/dist/executors/prepare/untyped.js +18 -0
- package/dist/executors/prepare/untyped.mjs +17 -0
- package/dist/executors/prepare/untyped.mjs.map +1 -0
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -4
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/plugin/index.d.mts +1 -1
- package/dist/plugin/index.d.mts.map +1 -1
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +4 -3
- package/dist/plugin/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/docs/api/base-executor.schema.md +31 -1
- package/docs/api/build/schema.md +31 -1
- package/docs/api/clean/schema.md +31 -1
- package/docs/api/docs/schema.md +31 -1
- package/docs/api/lint/schema.md +31 -1
- package/docs/api/prepare/schema.md +31 -1
- package/executors.json +10 -10
- package/package.json +46 -58
- package/dist/base-executor-BkNTl-jk.d.mts.map +0 -1
- package/dist/base-executor-DUf5AdoE.mjs.map +0 -1
- package/dist/base-executor-FX7YJl7f.d.ts.map +0 -1
- package/dist/src/base/base-executor.schema.d.ts +0 -128
- package/dist/src/base-executor-BkNTl-jk.d.mts +0 -155
- package/dist/src/base-executor-BkNTl-jk.d.mts.map +0 -1
- package/dist/src/base-executor-DUf5AdoE.mjs.map +0 -1
- package/dist/src/base-executor-FX7YJl7f.d.ts +0 -155
- package/dist/src/base-executor-FX7YJl7f.d.ts.map +0 -1
- package/dist/src/executors/build/executor.d.mts.map +0 -1
- package/dist/src/executors/build/executor.d.ts +0 -154
- package/dist/src/executors/build/executor.d.ts.map +0 -1
- package/dist/src/executors/build/executor.js +0 -20
- package/dist/src/executors/build/executor.mjs +0 -18
- package/dist/src/executors/build/executor.mjs.map +0 -1
- package/dist/src/executors/build/schema.d.ts +0 -144
- package/dist/src/executors/build/schema.json +0 -163
- package/dist/src/executors/clean/executor.d.mts.map +0 -1
- package/dist/src/executors/clean/executor.d.ts +0 -154
- package/dist/src/executors/clean/executor.d.ts.map +0 -1
- package/dist/src/executors/clean/executor.js +0 -15
- package/dist/src/executors/clean/executor.mjs +0 -14
- package/dist/src/executors/clean/executor.mjs.map +0 -1
- package/dist/src/executors/clean/schema.d.ts +0 -144
- package/dist/src/executors/clean/schema.json +0 -163
- package/dist/src/executors/docs/executor.d.mts.map +0 -1
- package/dist/src/executors/docs/executor.d.ts +0 -154
- package/dist/src/executors/docs/executor.d.ts.map +0 -1
- package/dist/src/executors/docs/executor.js +0 -16
- package/dist/src/executors/docs/executor.mjs +0 -14
- package/dist/src/executors/docs/executor.mjs.map +0 -1
- package/dist/src/executors/docs/schema.d.ts +0 -144
- package/dist/src/executors/docs/schema.json +0 -163
- package/dist/src/executors/lint/executor.d.mts.map +0 -1
- package/dist/src/executors/lint/executor.d.ts.map +0 -1
- package/dist/src/executors/lint/executor.js +0 -16
- package/dist/src/executors/lint/executor.mjs +0 -14
- package/dist/src/executors/lint/executor.mjs.map +0 -1
- package/dist/src/executors/lint/schema.json +0 -163
- package/dist/src/executors/prepare/executor.d.mts.map +0 -1
- package/dist/src/executors/prepare/executor.d.ts +0 -154
- package/dist/src/executors/prepare/executor.d.ts.map +0 -1
- package/dist/src/executors/prepare/executor.js +0 -20
- package/dist/src/executors/prepare/executor.mjs +0 -18
- package/dist/src/executors/prepare/executor.mjs.map +0 -1
- package/dist/src/executors/prepare/schema.d.ts +0 -144
- package/dist/src/executors/prepare/schema.json +0 -163
- package/dist/src/index.d.mts +0 -3
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.js +0 -18
- package/dist/src/index.mjs.map +0 -1
- package/dist/src/plugin/index.d.mts +0 -8
- package/dist/src/plugin/index.d.mts.map +0 -1
- package/dist/src/plugin/index.d.ts +0 -8
- package/dist/src/plugin/index.d.ts.map +0 -1
- package/dist/src/plugin/index.js +0 -8
- package/dist/src/plugin/index.mjs +0 -8
- package/dist/src/plugin/index.mjs.map +0 -1
package/docs/api/build/schema.md
CHANGED
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
# Build Executor
|
|
6
6
|
|
|
7
|
+
## `config`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file. Alias for `configFile`.
|
|
15
|
+
|
|
16
|
+
|
|
7
17
|
## `configFile`
|
|
8
18
|
- **Type**: `string`
|
|
9
19
|
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
@@ -11,7 +21,7 @@
|
|
|
11
21
|
> Powerlines Configuration File
|
|
12
22
|
|
|
13
23
|
|
|
14
|
-
The path to the Powerlines configuration file
|
|
24
|
+
The path to the Powerlines configuration file. Alias for `config`.
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `input`
|
|
@@ -42,6 +52,16 @@ The path to the tsconfig file
|
|
|
42
52
|
The path to the output directory for the build artifacts
|
|
43
53
|
|
|
44
54
|
|
|
55
|
+
## `copyPath`
|
|
56
|
+
- **Type**: `any`
|
|
57
|
+
- **Default**: `{}`
|
|
58
|
+
|
|
59
|
+
> Copy Path
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
A directory path to copy the build artifacts into
|
|
63
|
+
|
|
64
|
+
|
|
45
65
|
## `sourceMap`
|
|
46
66
|
- **Type**: `boolean`
|
|
47
67
|
|
|
@@ -120,6 +140,16 @@ The log level to use for the build process
|
|
|
120
140
|
|
|
121
141
|
## `define`
|
|
122
142
|
|
|
143
|
+
## `assets`
|
|
144
|
+
- **Type**: `Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>`
|
|
145
|
+
- **Default**: `{}`
|
|
146
|
+
|
|
147
|
+
> Assets
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
The `assets` values
|
|
151
|
+
|
|
152
|
+
|
|
123
153
|
## `autoInstall`
|
|
124
154
|
- **Type**: `boolean`
|
|
125
155
|
|
package/docs/api/clean/schema.md
CHANGED
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
# Clean Executor
|
|
6
6
|
|
|
7
|
+
## `config`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file. Alias for `configFile`.
|
|
15
|
+
|
|
16
|
+
|
|
7
17
|
## `configFile`
|
|
8
18
|
- **Type**: `string`
|
|
9
19
|
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
@@ -11,7 +21,7 @@
|
|
|
11
21
|
> Powerlines Configuration File
|
|
12
22
|
|
|
13
23
|
|
|
14
|
-
The path to the Powerlines configuration file
|
|
24
|
+
The path to the Powerlines configuration file. Alias for `config`.
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `input`
|
|
@@ -42,6 +52,16 @@ The path to the tsconfig file
|
|
|
42
52
|
The path to the output directory for the build artifacts
|
|
43
53
|
|
|
44
54
|
|
|
55
|
+
## `copyPath`
|
|
56
|
+
- **Type**: `any`
|
|
57
|
+
- **Default**: `{}`
|
|
58
|
+
|
|
59
|
+
> Copy Path
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
A directory path to copy the build artifacts into
|
|
63
|
+
|
|
64
|
+
|
|
45
65
|
## `sourceMap`
|
|
46
66
|
- **Type**: `boolean`
|
|
47
67
|
|
|
@@ -120,6 +140,16 @@ The log level to use for the build process
|
|
|
120
140
|
|
|
121
141
|
## `define`
|
|
122
142
|
|
|
143
|
+
## `assets`
|
|
144
|
+
- **Type**: `Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>`
|
|
145
|
+
- **Default**: `{}`
|
|
146
|
+
|
|
147
|
+
> Assets
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
The `assets` values
|
|
151
|
+
|
|
152
|
+
|
|
123
153
|
## `autoInstall`
|
|
124
154
|
- **Type**: `boolean`
|
|
125
155
|
|
package/docs/api/docs/schema.md
CHANGED
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
# Docs Executor
|
|
6
6
|
|
|
7
|
+
## `config`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file. Alias for `configFile`.
|
|
15
|
+
|
|
16
|
+
|
|
7
17
|
## `configFile`
|
|
8
18
|
- **Type**: `string`
|
|
9
19
|
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
@@ -11,7 +21,7 @@
|
|
|
11
21
|
> Powerlines Configuration File
|
|
12
22
|
|
|
13
23
|
|
|
14
|
-
The path to the Powerlines configuration file
|
|
24
|
+
The path to the Powerlines configuration file. Alias for `config`.
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `input`
|
|
@@ -42,6 +52,16 @@ The path to the tsconfig file
|
|
|
42
52
|
The path to the output directory for the build artifacts
|
|
43
53
|
|
|
44
54
|
|
|
55
|
+
## `copyPath`
|
|
56
|
+
- **Type**: `any`
|
|
57
|
+
- **Default**: `{}`
|
|
58
|
+
|
|
59
|
+
> Copy Path
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
A directory path to copy the build artifacts into
|
|
63
|
+
|
|
64
|
+
|
|
45
65
|
## `sourceMap`
|
|
46
66
|
- **Type**: `boolean`
|
|
47
67
|
|
|
@@ -120,6 +140,16 @@ The log level to use for the build process
|
|
|
120
140
|
|
|
121
141
|
## `define`
|
|
122
142
|
|
|
143
|
+
## `assets`
|
|
144
|
+
- **Type**: `Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>`
|
|
145
|
+
- **Default**: `{}`
|
|
146
|
+
|
|
147
|
+
> Assets
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
The `assets` values
|
|
151
|
+
|
|
152
|
+
|
|
123
153
|
## `autoInstall`
|
|
124
154
|
- **Type**: `boolean`
|
|
125
155
|
|
package/docs/api/lint/schema.md
CHANGED
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
# Lint Executor
|
|
6
6
|
|
|
7
|
+
## `config`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file. Alias for `configFile`.
|
|
15
|
+
|
|
16
|
+
|
|
7
17
|
## `configFile`
|
|
8
18
|
- **Type**: `string`
|
|
9
19
|
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
@@ -11,7 +21,7 @@
|
|
|
11
21
|
> Powerlines Configuration File
|
|
12
22
|
|
|
13
23
|
|
|
14
|
-
The path to the Powerlines configuration file
|
|
24
|
+
The path to the Powerlines configuration file. Alias for `config`.
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `input`
|
|
@@ -42,6 +52,16 @@ The path to the tsconfig file
|
|
|
42
52
|
The path to the output directory for the build artifacts
|
|
43
53
|
|
|
44
54
|
|
|
55
|
+
## `copyPath`
|
|
56
|
+
- **Type**: `any`
|
|
57
|
+
- **Default**: `{}`
|
|
58
|
+
|
|
59
|
+
> Copy Path
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
A directory path to copy the build artifacts into
|
|
63
|
+
|
|
64
|
+
|
|
45
65
|
## `sourceMap`
|
|
46
66
|
- **Type**: `boolean`
|
|
47
67
|
|
|
@@ -120,6 +140,16 @@ The log level to use for the build process
|
|
|
120
140
|
|
|
121
141
|
## `define`
|
|
122
142
|
|
|
143
|
+
## `assets`
|
|
144
|
+
- **Type**: `Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>`
|
|
145
|
+
- **Default**: `{}`
|
|
146
|
+
|
|
147
|
+
> Assets
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
The `assets` values
|
|
151
|
+
|
|
152
|
+
|
|
123
153
|
## `autoInstall`
|
|
124
154
|
- **Type**: `boolean`
|
|
125
155
|
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
# Prepare Executor
|
|
6
6
|
|
|
7
|
+
## `config`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
10
|
+
|
|
11
|
+
> Powerlines Configuration File
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
The path to the Powerlines configuration file. Alias for `configFile`.
|
|
15
|
+
|
|
16
|
+
|
|
7
17
|
## `configFile`
|
|
8
18
|
- **Type**: `string`
|
|
9
19
|
- **Default**: `"{projectRoot}/powerlines.config.ts"`
|
|
@@ -11,7 +21,7 @@
|
|
|
11
21
|
> Powerlines Configuration File
|
|
12
22
|
|
|
13
23
|
|
|
14
|
-
The path to the Powerlines configuration file
|
|
24
|
+
The path to the Powerlines configuration file. Alias for `config`.
|
|
15
25
|
|
|
16
26
|
|
|
17
27
|
## `input`
|
|
@@ -42,6 +52,16 @@ The path to the tsconfig file
|
|
|
42
52
|
The path to the output directory for the build artifacts
|
|
43
53
|
|
|
44
54
|
|
|
55
|
+
## `copyPath`
|
|
56
|
+
- **Type**: `any`
|
|
57
|
+
- **Default**: `{}`
|
|
58
|
+
|
|
59
|
+
> Copy Path
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
A directory path to copy the build artifacts into
|
|
63
|
+
|
|
64
|
+
|
|
45
65
|
## `sourceMap`
|
|
46
66
|
- **Type**: `boolean`
|
|
47
67
|
|
|
@@ -120,6 +140,16 @@ The log level to use for the build process
|
|
|
120
140
|
|
|
121
141
|
## `define`
|
|
122
142
|
|
|
143
|
+
## `assets`
|
|
144
|
+
- **Type**: `Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>`
|
|
145
|
+
- **Default**: `{}`
|
|
146
|
+
|
|
147
|
+
> Assets
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
The `assets` values
|
|
151
|
+
|
|
152
|
+
|
|
123
153
|
## `autoInstall`
|
|
124
154
|
- **Type**: `boolean`
|
|
125
155
|
|
package/executors.json
CHANGED
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"executors": {
|
|
4
4
|
"clean": {
|
|
5
|
-
"implementation": "./dist/
|
|
6
|
-
"schema": "./dist/
|
|
5
|
+
"implementation": "./dist/executors/clean/executor",
|
|
6
|
+
"schema": "./dist/executors/clean/schema.json",
|
|
7
7
|
"description": "Run the `clean` Shell Shock command on the given project"
|
|
8
8
|
},
|
|
9
9
|
"prepare": {
|
|
10
|
-
"implementation": "./dist/
|
|
11
|
-
"schema": "./dist/
|
|
10
|
+
"implementation": "./dist/executors/prepare/executor",
|
|
11
|
+
"schema": "./dist/executors/prepare/schema.json",
|
|
12
12
|
"description": "Run the `prepare` Shell Shock command on the given project"
|
|
13
13
|
},
|
|
14
14
|
"lint": {
|
|
15
|
-
"implementation": "./dist/
|
|
16
|
-
"schema": "./dist/
|
|
15
|
+
"implementation": "./dist/executors/lint/executor",
|
|
16
|
+
"schema": "./dist/executors/lint/schema.json",
|
|
17
17
|
"description": "Run the `lint` Shell Shock command on the given project"
|
|
18
18
|
},
|
|
19
19
|
"build": {
|
|
20
|
-
"implementation": "./dist/
|
|
21
|
-
"schema": "./dist/
|
|
20
|
+
"implementation": "./dist/executors/build/executor",
|
|
21
|
+
"schema": "./dist/executors/build/schema.json",
|
|
22
22
|
"description": "Run the `build` Shell Shock command on the given project"
|
|
23
23
|
},
|
|
24
24
|
"docs": {
|
|
25
|
-
"implementation": "./dist/
|
|
26
|
-
"schema": "./dist/
|
|
25
|
+
"implementation": "./dist/executors/docs/executor",
|
|
26
|
+
"schema": "./dist/executors/docs/schema.json",
|
|
27
27
|
"description": "Run the `docs` Shell Shock command on the given project"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/nx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"description": "A Nx plugin to support Shell Shock development in Nx monorepos.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -9,109 +9,97 @@
|
|
|
9
9
|
},
|
|
10
10
|
"private": false,
|
|
11
11
|
"type": "commonjs",
|
|
12
|
-
"main": "dist/
|
|
13
|
-
"module": "dist/
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"module": "dist/index.mjs",
|
|
14
14
|
"exports": {
|
|
15
15
|
"./package.json": "./package.json",
|
|
16
16
|
"./docs/*": "./docs/*",
|
|
17
17
|
"./executors.json": "./executors.json",
|
|
18
|
-
"./executors/*/schema.json": "./dist/
|
|
18
|
+
"./executors/*/schema.json": "./dist/executors/*/schema.json",
|
|
19
19
|
".": {
|
|
20
20
|
"import": {
|
|
21
|
-
"types": "./dist/
|
|
22
|
-
"default": "./dist/
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
|
+
"default": "./dist/index.mjs"
|
|
23
23
|
},
|
|
24
|
-
"require": {
|
|
25
|
-
|
|
26
|
-
"default": "./dist/src/index.js"
|
|
27
|
-
},
|
|
28
|
-
"default": {
|
|
29
|
-
"types": "./dist/src/index.d.ts",
|
|
30
|
-
"default": "./dist/src/index.js"
|
|
31
|
-
}
|
|
24
|
+
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
25
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
32
26
|
},
|
|
33
27
|
"./index": {
|
|
34
28
|
"import": {
|
|
35
|
-
"types": "./dist/
|
|
36
|
-
"default": "./dist/
|
|
29
|
+
"types": "./dist/index.d.mts",
|
|
30
|
+
"default": "./dist/index.mjs"
|
|
37
31
|
},
|
|
38
|
-
"require": {
|
|
39
|
-
|
|
40
|
-
"default": "./dist/src/index.js"
|
|
41
|
-
},
|
|
42
|
-
"default": {
|
|
43
|
-
"types": "./dist/src/index.d.ts",
|
|
44
|
-
"default": "./dist/src/index.js"
|
|
45
|
-
}
|
|
32
|
+
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
|
33
|
+
"default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
|
46
34
|
},
|
|
47
35
|
"./plugin": {
|
|
48
36
|
"import": {
|
|
49
|
-
"types": "./dist/
|
|
50
|
-
"default": "./dist/
|
|
37
|
+
"types": "./dist/plugin/index.d.mts",
|
|
38
|
+
"default": "./dist/plugin/index.mjs"
|
|
51
39
|
},
|
|
52
40
|
"require": {
|
|
53
|
-
"types": "./dist/
|
|
54
|
-
"default": "./dist/
|
|
41
|
+
"types": "./dist/plugin/index.d.ts",
|
|
42
|
+
"default": "./dist/plugin/index.js"
|
|
55
43
|
},
|
|
56
44
|
"default": {
|
|
57
|
-
"types": "./dist/
|
|
58
|
-
"default": "./dist/
|
|
45
|
+
"types": "./dist/plugin/index.d.ts",
|
|
46
|
+
"default": "./dist/plugin/index.js"
|
|
59
47
|
}
|
|
60
48
|
},
|
|
61
49
|
"./executors/*/untyped": {
|
|
62
50
|
"import": {
|
|
63
|
-
"types": "./dist/
|
|
64
|
-
"default": "./dist/
|
|
51
|
+
"types": "./dist/executors/*/untyped.d.mts",
|
|
52
|
+
"default": "./dist/executors/*/untyped.mjs"
|
|
65
53
|
},
|
|
66
54
|
"require": {
|
|
67
|
-
"types": "./dist/
|
|
68
|
-
"default": "./dist/
|
|
55
|
+
"types": "./dist/executors/*/untyped.d.ts",
|
|
56
|
+
"default": "./dist/executors/*/untyped.js"
|
|
69
57
|
},
|
|
70
58
|
"default": {
|
|
71
|
-
"types": "./dist/
|
|
72
|
-
"default": "./dist/
|
|
59
|
+
"types": "./dist/executors/*/untyped.d.ts",
|
|
60
|
+
"default": "./dist/executors/*/untyped.js"
|
|
73
61
|
}
|
|
74
62
|
},
|
|
75
63
|
"./executors/*/executor": {
|
|
76
64
|
"import": {
|
|
77
|
-
"types": "./dist/
|
|
78
|
-
"default": "./dist/
|
|
65
|
+
"types": "./dist/executors/*/executor.d.mts",
|
|
66
|
+
"default": "./dist/executors/*/executor.mjs"
|
|
79
67
|
},
|
|
80
68
|
"require": {
|
|
81
|
-
"types": "./dist/
|
|
82
|
-
"default": "./dist/
|
|
69
|
+
"types": "./dist/executors/*/executor.d.ts",
|
|
70
|
+
"default": "./dist/executors/*/executor.js"
|
|
83
71
|
},
|
|
84
72
|
"default": {
|
|
85
|
-
"types": "./dist/
|
|
86
|
-
"default": "./dist/
|
|
73
|
+
"types": "./dist/executors/*/executor.d.ts",
|
|
74
|
+
"default": "./dist/executors/*/executor.js"
|
|
87
75
|
}
|
|
88
76
|
},
|
|
89
|
-
"./executors/*/executor.js": "./dist/
|
|
90
|
-
"./executors/*/executor.mjs": "./dist/
|
|
77
|
+
"./executors/*/executor.js": "./dist/executors/*/executor.js",
|
|
78
|
+
"./executors/*/executor.mjs": "./dist/executors/*/executor.mjs"
|
|
91
79
|
},
|
|
92
|
-
"typings": "dist/
|
|
80
|
+
"typings": "dist/index.d.ts",
|
|
93
81
|
"dependencies": {
|
|
94
|
-
"@nx/devkit": "22.
|
|
95
|
-
"@
|
|
96
|
-
"@
|
|
97
|
-
"@storm-software/config": "^1.
|
|
98
|
-
"@storm-software/
|
|
99
|
-
"@
|
|
100
|
-
"@stryke/type-checks": "^0.5.34",
|
|
82
|
+
"@nx/devkit": "^22.6.0",
|
|
83
|
+
"@shell-shock/core": "^0.13.2",
|
|
84
|
+
"@storm-software/config": "^1.136.4",
|
|
85
|
+
"@storm-software/config-tools": "^1.189.45",
|
|
86
|
+
"@storm-software/workspace-tools": "^1.295.21",
|
|
87
|
+
"@stryke/type-checks": "^0.5.41",
|
|
101
88
|
"defu": "^6.1.4",
|
|
102
89
|
"jiti": "^2.6.1",
|
|
103
|
-
"powerlines": "^0.
|
|
90
|
+
"powerlines": "^0.42.8",
|
|
104
91
|
"untyped": "^1.5.2"
|
|
105
92
|
},
|
|
106
93
|
"devDependencies": {
|
|
107
|
-
"@powerlines/
|
|
108
|
-
"@powerlines/plugin-
|
|
109
|
-
"@
|
|
110
|
-
"@
|
|
94
|
+
"@powerlines/nx": "^0.11.295",
|
|
95
|
+
"@powerlines/plugin-tsdown": "^0.1.315",
|
|
96
|
+
"@powerlines/plugin-untyped": "^0.2.320",
|
|
97
|
+
"@storm-software/testing-tools": "^1.119.120",
|
|
98
|
+
"@types/node": "^25.5.0",
|
|
111
99
|
"eslint-flat-config-utils": "^2.1.4",
|
|
112
100
|
"jsonc-eslint-parser": "^2.4.2"
|
|
113
101
|
},
|
|
114
102
|
"publishConfig": { "access": "public" },
|
|
115
103
|
"executors": "./executors.json",
|
|
116
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "64e1ac187a12cd18acfd8134768bb793bbda3947"
|
|
117
105
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-BkNTl-jk.d.mts","names":["BaseExecutorSchema","Array","Record"],"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 * Powerlines Configuration File\n * \n * The path to the Powerlines configuration file\n * \n * @default \"{projectRoot}/powerlines.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Input Entry File(s)\n * \n * The entry file(s) that serve as the input for the project\n * \n * \n * @format path\n */\n input?: Array<string>,\n\n /**\n * TSConfig Path\n * \n * The path to the tsconfig file\n * \n * @default \"{projectRoot}/tsconfig.json\"\n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Output Path\n * \n * The path to the output directory for the build artifacts\n * \n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * Sourcemap\n * \n * Generate a sourcemap\n * \n */\n sourceMap?: boolean,\n\n /**\n * Format\n * \n * The format to build\n * \n * @default [\"cjs\",\"esm\"]\n */\n format?: Array<string>,\n\n /**\n * Platform\n * \n * The platform to build\n * \n * @default \"neutral\"\n * \n * @enum neutral,node,browser\n */\n platform?: string,\n\n /**\n * External\n * \n * The external dependencies\n * \n */\n external?: Array<any>,\n\n /**\n * No External\n * \n * The dependencies that should not be treated as external\n * \n */\n noExternal?: Array<any>,\n\n /**\n * Skip Node Modules Bundle\n * \n * Skip bundling node_modules during the build process (if required)\n * \n */\n skipNodeModulesBundle?: boolean,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\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 * Define\n * \n * The `define` values\n * \n */\n define?: Record<string, string>,\n}\n\n"],"mappings":";;;;;;;;;UAIiBA,kBAAAA;;;AAAjB;;;;;;;;;;AC0BA;;;;;;;EAMW,KAAA,CAAA,EDZFC,KCYE,CAAA,MAAA,CAAA;;EAEQ;;AAanB;;;;;;;EAMiD,QAAA,CAAA,EAAA,MAAA;;EACxC;;;;;;;;;;;;;;;;;;;;;;;;;WDICA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;KC/FE,2CACO,oBAAoB,2CACb,qBAAqB,sBAC3C;ED7BaF,WAAAA,EAAAA,MAAAA;EAoBRC,OAAAA,ECWE,QDXFA;EAsCCA,OAAAA,EC1BC,eD0BDA;EAmBEA,YAAAA,EC5CI,YD4CJA;EAQEA,eAAAA,ECnDK,oBDmDLA;CAoCJC;;;;;AC/FV;;;;;;AAKW,iBAgBK,YAhBL,CAAA,iBAiBQ,iBAjBR,GAiB4B,iBAjB5B,EAAA,wBAkBe,kBAlBf,GAkBoC,kBAlBpC,CAAA,CAAA,OAAA,EAoBA,QApBA,EAAA,UAAA,EAAA,CAAA,OAAA,EAsBE,yBAtBF,CAsB4B,QAtB5B,EAsBsC,eAtBtC,CAAA,EAAA,GAAA,EAuBF,aAvBE,EAAA,GAyBL,OAzBK,CAyBG,kBAzBH,GAAA,IAAA,GAAA,SAAA,CAAA,GA0BL,kBA1BK,GAAA,IAAA,GAAA,SAAA,CAAA,EA6BR,eA7BQ,CA6BQ,eA7BR,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-DUf5AdoE.mjs","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\";\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\").createShellShock;\n }>(\"@shell-shock/core\");\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 projectType: projectConfig.projectType,\n mode: options.mode,\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,QAAO,gBACL,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,MADhB,WAAW,QAAQ,MAAM,EAAE,OAAO,OAAO,CAAC,CACf,OAErC,oBAAoB;EAEvB,MAAM,MAAM,MAAM,iBAChB,KACE;GACE,MAAM,cAAc;GACpB,MAAM,cAAc;GACpB,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,aAAa,cAAc,UAAU;GACrC,aAAa,cAAc;GAC3B,MAAM,QAAQ;GACd,QAAQ,EACN,YACE,QAAQ,cACR,cAAc,SAAS,OAAO,SAAS,YAC1C;GACF,EACD,QACD,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ;KACrB;IACD;IACD,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,cACE,qDACE,QACD,qBACC,QAAQ,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-FX7YJl7f.d.ts","names":["BaseExecutorSchema","Array","Record"],"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 * Powerlines Configuration File\n * \n * The path to the Powerlines configuration file\n * \n * @default \"{projectRoot}/powerlines.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Input Entry File(s)\n * \n * The entry file(s) that serve as the input for the project\n * \n * \n * @format path\n */\n input?: Array<string>,\n\n /**\n * TSConfig Path\n * \n * The path to the tsconfig file\n * \n * @default \"{projectRoot}/tsconfig.json\"\n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Output Path\n * \n * The path to the output directory for the build artifacts\n * \n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * Sourcemap\n * \n * Generate a sourcemap\n * \n */\n sourceMap?: boolean,\n\n /**\n * Format\n * \n * The format to build\n * \n * @default [\"cjs\",\"esm\"]\n */\n format?: Array<string>,\n\n /**\n * Platform\n * \n * The platform to build\n * \n * @default \"neutral\"\n * \n * @enum neutral,node,browser\n */\n platform?: string,\n\n /**\n * External\n * \n * The external dependencies\n * \n */\n external?: Array<any>,\n\n /**\n * No External\n * \n * The dependencies that should not be treated as external\n * \n */\n noExternal?: Array<any>,\n\n /**\n * Skip Node Modules Bundle\n * \n * Skip bundling node_modules during the build process (if required)\n * \n */\n skipNodeModulesBundle?: boolean,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\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 * Define\n * \n * The `define` values\n * \n */\n define?: Record<string, string>,\n}\n\n"],"mappings":";;;;;;;;;UAIiBA,kBAAAA;;;AAAjB;;;;;;;;;;AC0BA;;;;;;;EAMW,KAAA,CAAA,EDZFC,KCYE,CAAA,MAAA,CAAA;;EAEQ;;AAanB;;;;;;;EAMiD,QAAA,CAAA,EAAA,MAAA;;EACxC;;;;;;;;;;;;;;;;;;;;;;;;;WDICA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;KC/FE,2CACO,oBAAoB,2CACb,qBAAqB,sBAC3C;ED7BaF,WAAAA,EAAAA,MAAAA;EAoBRC,OAAAA,ECWE,QDXFA;EAsCCA,OAAAA,EC1BC,eD0BDA;EAmBEA,YAAAA,EC5CI,YD4CJA;EAQEA,eAAAA,ECnDK,oBDmDLA;CAoCJC;;;;;AC/FV;;;;;;AAKW,iBAgBK,YAhBL,CAAA,iBAiBQ,iBAjBR,GAiB4B,iBAjB5B,EAAA,wBAkBe,kBAlBf,GAkBoC,kBAlBpC,CAAA,CAAA,OAAA,EAoBA,QApBA,EAAA,UAAA,EAAA,CAAA,OAAA,EAsBE,yBAtBF,CAsB4B,QAtB5B,EAsBsC,eAtBtC,CAAA,EAAA,GAAA,EAuBF,aAvBE,EAAA,GAyBL,OAzBK,CAyBG,kBAzBH,GAAA,IAAA,GAAA,SAAA,CAAA,GA0BL,kBA1BK,GAAA,IAAA,GAAA,SAAA,CAAA,EA6BR,eA7BQ,CA6BQ,eA7BR,CAAA"}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Generated by powerlines
|
|
3
|
-
// Do not edit this file directly
|
|
4
|
-
|
|
5
|
-
export interface BaseExecutorSchema {
|
|
6
|
-
/**
|
|
7
|
-
* Powerlines Configuration File
|
|
8
|
-
*
|
|
9
|
-
* The path to the Powerlines configuration file
|
|
10
|
-
*
|
|
11
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
|
-
*
|
|
13
|
-
* @format path
|
|
14
|
-
*/
|
|
15
|
-
configFile?: string,
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Input Entry File(s)
|
|
19
|
-
*
|
|
20
|
-
* The entry file(s) that serve as the input for the project
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @format path
|
|
24
|
-
*/
|
|
25
|
-
input?: Array<string>,
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* TSConfig Path
|
|
29
|
-
*
|
|
30
|
-
* The path to the tsconfig file
|
|
31
|
-
*
|
|
32
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
33
|
-
*
|
|
34
|
-
* @format path
|
|
35
|
-
*/
|
|
36
|
-
tsconfig?: string,
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Output Path
|
|
40
|
-
*
|
|
41
|
-
* The path to the output directory for the build artifacts
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* @format path
|
|
45
|
-
*/
|
|
46
|
-
outputPath?: string,
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Sourcemap
|
|
50
|
-
*
|
|
51
|
-
* Generate a sourcemap
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
sourceMap?: boolean,
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Format
|
|
58
|
-
*
|
|
59
|
-
* The format to build
|
|
60
|
-
*
|
|
61
|
-
* @default ["cjs","esm"]
|
|
62
|
-
*/
|
|
63
|
-
format?: Array<string>,
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Platform
|
|
67
|
-
*
|
|
68
|
-
* The platform to build
|
|
69
|
-
*
|
|
70
|
-
* @default "neutral"
|
|
71
|
-
*
|
|
72
|
-
* @enum neutral,node,browser
|
|
73
|
-
*/
|
|
74
|
-
platform?: string,
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* External
|
|
78
|
-
*
|
|
79
|
-
* The external dependencies
|
|
80
|
-
*
|
|
81
|
-
*/
|
|
82
|
-
external?: Array<any>,
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* No External
|
|
86
|
-
*
|
|
87
|
-
* The dependencies that should not be treated as external
|
|
88
|
-
*
|
|
89
|
-
*/
|
|
90
|
-
noExternal?: Array<any>,
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Skip Node Modules Bundle
|
|
94
|
-
*
|
|
95
|
-
* Skip bundling node_modules during the build process (if required)
|
|
96
|
-
*
|
|
97
|
-
*/
|
|
98
|
-
skipNodeModulesBundle?: boolean,
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Mode
|
|
102
|
-
*
|
|
103
|
-
* The build mode
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* @enum development,test,production
|
|
107
|
-
*/
|
|
108
|
-
mode?: string,
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Log Level
|
|
112
|
-
*
|
|
113
|
-
* The log level to use for the build process
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
117
|
-
*/
|
|
118
|
-
logLevel?: string,
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* Define
|
|
122
|
-
*
|
|
123
|
-
* The `define` values
|
|
124
|
-
*
|
|
125
|
-
*/
|
|
126
|
-
define?: Record<string, string>,
|
|
127
|
-
}
|
|
128
|
-
|