@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as ShellShockExecutorContext } from "../../base-executor-ICVyKAxY.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { ShellShockAPI } from "@shell-shock/core";
|
|
@@ -10,14 +10,23 @@ interface PrepareExecutorSchema {
|
|
|
10
10
|
/**
|
|
11
11
|
* Powerlines Configuration File
|
|
12
12
|
*
|
|
13
|
-
* The path to the Powerlines configuration file
|
|
13
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
|
+
*
|
|
15
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
|
+
*
|
|
17
|
+
* @format path
|
|
18
|
+
*/
|
|
19
|
+
config?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Powerlines Configuration File
|
|
22
|
+
*
|
|
23
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
14
24
|
*
|
|
15
25
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
26
|
*
|
|
17
27
|
* @format path
|
|
18
28
|
*/
|
|
19
29
|
configFile?: string;
|
|
20
|
-
|
|
21
30
|
/**
|
|
22
31
|
* Input Entry File(s)
|
|
23
32
|
*
|
|
@@ -27,7 +36,6 @@ interface PrepareExecutorSchema {
|
|
|
27
36
|
* @format path
|
|
28
37
|
*/
|
|
29
38
|
input?: Array<string>;
|
|
30
|
-
|
|
31
39
|
/**
|
|
32
40
|
* TSConfig Path
|
|
33
41
|
*
|
|
@@ -38,7 +46,6 @@ interface PrepareExecutorSchema {
|
|
|
38
46
|
* @format path
|
|
39
47
|
*/
|
|
40
48
|
tsconfig?: string;
|
|
41
|
-
|
|
42
49
|
/**
|
|
43
50
|
* Output Path
|
|
44
51
|
*
|
|
@@ -48,7 +55,15 @@ interface PrepareExecutorSchema {
|
|
|
48
55
|
* @format path
|
|
49
56
|
*/
|
|
50
57
|
outputPath?: string;
|
|
51
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Copy Path
|
|
60
|
+
*
|
|
61
|
+
* A directory path to copy the build artifacts into
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @oneOf [object Object],[object Object]
|
|
65
|
+
*/
|
|
66
|
+
copyPath?: any;
|
|
52
67
|
/**
|
|
53
68
|
* Sourcemap
|
|
54
69
|
*
|
|
@@ -56,7 +71,6 @@ interface PrepareExecutorSchema {
|
|
|
56
71
|
*
|
|
57
72
|
*/
|
|
58
73
|
sourceMap?: boolean;
|
|
59
|
-
|
|
60
74
|
/**
|
|
61
75
|
* Format
|
|
62
76
|
*
|
|
@@ -65,7 +79,6 @@ interface PrepareExecutorSchema {
|
|
|
65
79
|
* @default ["cjs","esm"]
|
|
66
80
|
*/
|
|
67
81
|
format?: Array<string>;
|
|
68
|
-
|
|
69
82
|
/**
|
|
70
83
|
* Platform
|
|
71
84
|
*
|
|
@@ -76,7 +89,6 @@ interface PrepareExecutorSchema {
|
|
|
76
89
|
* @enum neutral,node,browser
|
|
77
90
|
*/
|
|
78
91
|
platform?: string;
|
|
79
|
-
|
|
80
92
|
/**
|
|
81
93
|
* External
|
|
82
94
|
*
|
|
@@ -84,7 +96,6 @@ interface PrepareExecutorSchema {
|
|
|
84
96
|
*
|
|
85
97
|
*/
|
|
86
98
|
external?: Array<any>;
|
|
87
|
-
|
|
88
99
|
/**
|
|
89
100
|
* No External
|
|
90
101
|
*
|
|
@@ -92,7 +103,6 @@ interface PrepareExecutorSchema {
|
|
|
92
103
|
*
|
|
93
104
|
*/
|
|
94
105
|
noExternal?: Array<any>;
|
|
95
|
-
|
|
96
106
|
/**
|
|
97
107
|
* Skip Node Modules Bundle
|
|
98
108
|
*
|
|
@@ -100,7 +110,6 @@ interface PrepareExecutorSchema {
|
|
|
100
110
|
*
|
|
101
111
|
*/
|
|
102
112
|
skipNodeModulesBundle?: boolean;
|
|
103
|
-
|
|
104
113
|
/**
|
|
105
114
|
* Mode
|
|
106
115
|
*
|
|
@@ -110,7 +119,6 @@ interface PrepareExecutorSchema {
|
|
|
110
119
|
* @enum development,test,production
|
|
111
120
|
*/
|
|
112
121
|
mode?: string;
|
|
113
|
-
|
|
114
122
|
/**
|
|
115
123
|
* Log Level
|
|
116
124
|
*
|
|
@@ -120,7 +128,6 @@ interface PrepareExecutorSchema {
|
|
|
120
128
|
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
121
129
|
*/
|
|
122
130
|
logLevel?: string;
|
|
123
|
-
|
|
124
131
|
/**
|
|
125
132
|
* Define
|
|
126
133
|
*
|
|
@@ -128,7 +135,19 @@ interface PrepareExecutorSchema {
|
|
|
128
135
|
*
|
|
129
136
|
*/
|
|
130
137
|
define?: Record<string, string>;
|
|
131
|
-
|
|
138
|
+
/**
|
|
139
|
+
* Assets
|
|
140
|
+
*
|
|
141
|
+
* The `assets` values
|
|
142
|
+
*
|
|
143
|
+
*/
|
|
144
|
+
assets?: Array<{
|
|
145
|
+
input?: string;
|
|
146
|
+
output?: string;
|
|
147
|
+
glob: string;
|
|
148
|
+
ignore?: string[];
|
|
149
|
+
dot?: boolean;
|
|
150
|
+
}>;
|
|
132
151
|
/**
|
|
133
152
|
* Auto Install
|
|
134
153
|
*
|
|
@@ -136,7 +155,6 @@ interface PrepareExecutorSchema {
|
|
|
136
155
|
*
|
|
137
156
|
*/
|
|
138
157
|
autoInstall?: boolean;
|
|
139
|
-
|
|
140
158
|
/**
|
|
141
159
|
* Skip Cache
|
|
142
160
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["PrepareExecutorSchema","Array","Record"
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/prepare/schema.d.ts","../../../src/executors/prepare/executor.ts"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;ACnBD;;;;;ED6BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;ACrBA;;;;ED6BAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBC/IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,YAAqC,qBAAA,GAC9C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const require_base_executor = require('../../base-executor-
|
|
1
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
+
const require_base_executor = require('../../base-executor-KUL9jD5R.js');
|
|
3
3
|
let defu = require("defu");
|
|
4
4
|
defu = require_base_executor.__toESM(defu);
|
|
5
5
|
|
|
@@ -13,8 +13,7 @@ async function executorFn(context, api) {
|
|
|
13
13
|
return { success: true };
|
|
14
14
|
}
|
|
15
15
|
const executor = require_base_executor.withExecutor("prepare", executorFn);
|
|
16
|
-
var executor_default = executor;
|
|
17
16
|
|
|
18
17
|
//#endregion
|
|
19
|
-
exports.default =
|
|
18
|
+
exports.default = executor;
|
|
20
19
|
exports.executorFn = executorFn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as withExecutor } from "../../base-executor-
|
|
1
|
+
import { t as withExecutor } from "../../base-executor-DojAZA0w.mjs";
|
|
2
2
|
import defu from "defu";
|
|
3
3
|
|
|
4
4
|
//#region src/executors/prepare/executor.ts
|
|
@@ -11,8 +11,7 @@ async function executorFn(context, api) {
|
|
|
11
11
|
return { success: true };
|
|
12
12
|
}
|
|
13
13
|
const executor = withExecutor("prepare", executorFn);
|
|
14
|
-
var executor_default = executor;
|
|
15
14
|
|
|
16
15
|
//#endregion
|
|
17
|
-
export {
|
|
16
|
+
export { executor as default, executorFn };
|
|
18
17
|
//# sourceMappingURL=executor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[
|
|
1
|
+
{"version":3,"file":"executor.mjs","names":[],"sources":["../../../src/executors/prepare/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 { PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI } from \"@shell-shock/core\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { PrepareInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { PrepareExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"prepare\", PrepareExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.prepare(\n defu(\n {\n command: \"prepare\",\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall\n },\n context.inlineConfig\n ) as PrepareInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<PrepareExecutorSchema> = withExecutor<\n \"prepare\",\n PrepareExecutorSchema\n>(\"prepare\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,QACR,KACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAmD,aAGvD,WAAW,WAAW"}
|
|
File without changes
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-BkNTl-jk.mjs";
|
|
2
|
-
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
|
-
import { ShellShockAPI } from "@shell-shock/core";
|
|
5
|
-
|
|
6
1
|
//#region src/executors/prepare/schema.d.ts
|
|
7
2
|
// Generated by powerlines
|
|
8
3
|
// Do not edit this file directly
|
|
@@ -10,14 +5,23 @@ interface PrepareExecutorSchema {
|
|
|
10
5
|
/**
|
|
11
6
|
* Powerlines Configuration File
|
|
12
7
|
*
|
|
13
|
-
* The path to the Powerlines configuration file
|
|
8
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
9
|
+
*
|
|
10
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
11
|
+
*
|
|
12
|
+
* @format path
|
|
13
|
+
*/
|
|
14
|
+
config?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Powerlines Configuration File
|
|
17
|
+
*
|
|
18
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
14
19
|
*
|
|
15
20
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
21
|
*
|
|
17
22
|
* @format path
|
|
18
23
|
*/
|
|
19
24
|
configFile?: string;
|
|
20
|
-
|
|
21
25
|
/**
|
|
22
26
|
* Input Entry File(s)
|
|
23
27
|
*
|
|
@@ -27,7 +31,6 @@ interface PrepareExecutorSchema {
|
|
|
27
31
|
* @format path
|
|
28
32
|
*/
|
|
29
33
|
input?: Array<string>;
|
|
30
|
-
|
|
31
34
|
/**
|
|
32
35
|
* TSConfig Path
|
|
33
36
|
*
|
|
@@ -38,7 +41,6 @@ interface PrepareExecutorSchema {
|
|
|
38
41
|
* @format path
|
|
39
42
|
*/
|
|
40
43
|
tsconfig?: string;
|
|
41
|
-
|
|
42
44
|
/**
|
|
43
45
|
* Output Path
|
|
44
46
|
*
|
|
@@ -48,7 +50,15 @@ interface PrepareExecutorSchema {
|
|
|
48
50
|
* @format path
|
|
49
51
|
*/
|
|
50
52
|
outputPath?: string;
|
|
51
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Copy Path
|
|
55
|
+
*
|
|
56
|
+
* A directory path to copy the build artifacts into
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
* @oneOf [object Object],[object Object]
|
|
60
|
+
*/
|
|
61
|
+
copyPath?: any;
|
|
52
62
|
/**
|
|
53
63
|
* Sourcemap
|
|
54
64
|
*
|
|
@@ -56,7 +66,6 @@ interface PrepareExecutorSchema {
|
|
|
56
66
|
*
|
|
57
67
|
*/
|
|
58
68
|
sourceMap?: boolean;
|
|
59
|
-
|
|
60
69
|
/**
|
|
61
70
|
* Format
|
|
62
71
|
*
|
|
@@ -65,7 +74,6 @@ interface PrepareExecutorSchema {
|
|
|
65
74
|
* @default ["cjs","esm"]
|
|
66
75
|
*/
|
|
67
76
|
format?: Array<string>;
|
|
68
|
-
|
|
69
77
|
/**
|
|
70
78
|
* Platform
|
|
71
79
|
*
|
|
@@ -76,7 +84,6 @@ interface PrepareExecutorSchema {
|
|
|
76
84
|
* @enum neutral,node,browser
|
|
77
85
|
*/
|
|
78
86
|
platform?: string;
|
|
79
|
-
|
|
80
87
|
/**
|
|
81
88
|
* External
|
|
82
89
|
*
|
|
@@ -84,7 +91,6 @@ interface PrepareExecutorSchema {
|
|
|
84
91
|
*
|
|
85
92
|
*/
|
|
86
93
|
external?: Array<any>;
|
|
87
|
-
|
|
88
94
|
/**
|
|
89
95
|
* No External
|
|
90
96
|
*
|
|
@@ -92,7 +98,6 @@ interface PrepareExecutorSchema {
|
|
|
92
98
|
*
|
|
93
99
|
*/
|
|
94
100
|
noExternal?: Array<any>;
|
|
95
|
-
|
|
96
101
|
/**
|
|
97
102
|
* Skip Node Modules Bundle
|
|
98
103
|
*
|
|
@@ -100,7 +105,6 @@ interface PrepareExecutorSchema {
|
|
|
100
105
|
*
|
|
101
106
|
*/
|
|
102
107
|
skipNodeModulesBundle?: boolean;
|
|
103
|
-
|
|
104
108
|
/**
|
|
105
109
|
* Mode
|
|
106
110
|
*
|
|
@@ -110,7 +114,6 @@ interface PrepareExecutorSchema {
|
|
|
110
114
|
* @enum development,test,production
|
|
111
115
|
*/
|
|
112
116
|
mode?: string;
|
|
113
|
-
|
|
114
117
|
/**
|
|
115
118
|
* Log Level
|
|
116
119
|
*
|
|
@@ -120,7 +123,6 @@ interface PrepareExecutorSchema {
|
|
|
120
123
|
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
121
124
|
*/
|
|
122
125
|
logLevel?: string;
|
|
123
|
-
|
|
124
126
|
/**
|
|
125
127
|
* Define
|
|
126
128
|
*
|
|
@@ -128,7 +130,19 @@ interface PrepareExecutorSchema {
|
|
|
128
130
|
*
|
|
129
131
|
*/
|
|
130
132
|
define?: Record<string, string>;
|
|
131
|
-
|
|
133
|
+
/**
|
|
134
|
+
* Assets
|
|
135
|
+
*
|
|
136
|
+
* The `assets` values
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
assets?: Array<{
|
|
140
|
+
input?: string;
|
|
141
|
+
output?: string;
|
|
142
|
+
glob: string;
|
|
143
|
+
ignore?: string[];
|
|
144
|
+
dot?: boolean;
|
|
145
|
+
}>;
|
|
132
146
|
/**
|
|
133
147
|
* Auto Install
|
|
134
148
|
*
|
|
@@ -136,7 +150,6 @@ interface PrepareExecutorSchema {
|
|
|
136
150
|
*
|
|
137
151
|
*/
|
|
138
152
|
autoInstall?: boolean;
|
|
139
|
-
|
|
140
153
|
/**
|
|
141
154
|
* Skip Cache
|
|
142
155
|
*
|
|
@@ -146,9 +159,5 @@ interface PrepareExecutorSchema {
|
|
|
146
159
|
skipCache?: boolean;
|
|
147
160
|
}
|
|
148
161
|
//#endregion
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
152
|
-
//#endregion
|
|
153
|
-
export { executor as default, executorFn };
|
|
154
|
-
//# sourceMappingURL=executor.d.mts.map
|
|
162
|
+
export { PrepareExecutorSchema };
|
|
163
|
+
//# sourceMappingURL=schema.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.mts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../src/executors/prepare/schema.d.ts"],"mappings":";;;UAIiBA,qBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA"}
|