@shell-shock/nx 0.0.43 → 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 +24 -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-B_1n4Nst.js → base/base-executor.js} +5 -41
- package/dist/{src/base-executor-Tb7NcSc4.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 -24
- 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/{src/index.js → base/base-executor.untyped.js} +3 -4
- 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/{src/base-executor-5IKYZdSK.d.mts → base-executor-CPOK8Lba.d.mts} +34 -2
- 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/{base-executor-Tb7NcSc4.mjs → base-executor-DojAZA0w.mjs} +2 -2
- package/dist/base-executor-DojAZA0w.mjs.map +1 -0
- package/dist/{base-executor-5IKYZdSK.d.mts → base-executor-ICVyKAxY.d.ts} +34 -2
- package/dist/base-executor-ICVyKAxY.d.ts.map +1 -0
- package/dist/{src/base-executor-B_1n4Nst.js → base-executor-KUL9jD5R.js} +1 -1
- 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 -2
- package/dist/executors/build/executor.d.mts.map +1 -1
- package/dist/executors/build/executor.d.ts +34 -2
- package/dist/executors/build/executor.d.ts.map +1 -1
- package/dist/executors/build/executor.js +1 -1
- package/dist/executors/build/executor.mjs +1 -1
- 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 -12
- 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 -2
- package/dist/executors/clean/executor.d.mts.map +1 -1
- package/dist/executors/clean/executor.d.ts +34 -2
- package/dist/executors/clean/executor.d.ts.map +1 -1
- package/dist/executors/clean/executor.js +1 -1
- package/dist/executors/clean/executor.mjs +1 -1
- 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 -12
- 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 -2
- package/dist/executors/docs/executor.d.mts.map +1 -1
- package/dist/executors/docs/executor.d.ts +34 -2
- package/dist/executors/docs/executor.d.ts.map +1 -1
- package/dist/executors/docs/executor.js +1 -1
- package/dist/executors/docs/executor.mjs +1 -1
- 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 -12
- 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 -2
- package/dist/executors/lint/executor.d.mts.map +1 -1
- package/dist/executors/lint/executor.d.ts +34 -2
- package/dist/executors/lint/executor.d.ts.map +1 -1
- package/dist/executors/lint/executor.js +1 -1
- package/dist/executors/lint/executor.mjs +1 -1
- 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 -12
- 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 -2
- package/dist/executors/prepare/executor.d.mts.map +1 -1
- package/dist/executors/prepare/executor.d.ts +34 -2
- package/dist/executors/prepare/executor.d.ts.map +1 -1
- package/dist/executors/prepare/executor.js +1 -1
- package/dist/executors/prepare/executor.mjs +1 -1
- 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 -12
- 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 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- 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 +3 -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 +45 -57
- package/dist/base-executor-5IKYZdSK.d.mts.map +0 -1
- package/dist/base-executor-D8wAP52R.d.ts +0 -143
- package/dist/base-executor-D8wAP52R.d.ts.map +0 -1
- package/dist/base-executor-Tb7NcSc4.mjs.map +0 -1
- package/dist/src/base/base-executor.schema.d.ts +0 -128
- package/dist/src/base-executor-5IKYZdSK.d.mts.map +0 -1
- package/dist/src/base-executor-D8wAP52R.d.ts +0 -143
- package/dist/src/base-executor-D8wAP52R.d.ts.map +0 -1
- package/dist/src/base-executor-Tb7NcSc4.mjs.map +0 -1
- package/dist/src/executors/build/executor.d.mts.map +0 -1
- package/dist/src/executors/build/executor.d.ts +0 -140
- package/dist/src/executors/build/executor.d.ts.map +0 -1
- package/dist/src/executors/build/executor.js +0 -19
- package/dist/src/executors/build/executor.mjs +0 -17
- 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 -140
- package/dist/src/executors/clean/executor.d.ts.map +0 -1
- package/dist/src/executors/clean/executor.js +0 -14
- package/dist/src/executors/clean/executor.mjs +0 -13
- 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 -140
- package/dist/src/executors/docs/executor.d.ts.map +0 -1
- package/dist/src/executors/docs/executor.js +0 -15
- package/dist/src/executors/docs/executor.mjs +0 -13
- 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 -15
- package/dist/src/executors/lint/executor.mjs +0 -13
- 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 -140
- package/dist/src/executors/prepare/executor.d.ts.map +0 -1
- package/dist/src/executors/prepare/executor.js +0 -19
- package/dist/src/executors/prepare/executor.mjs +0 -17
- 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 -2
- package/dist/src/index.d.ts +0 -2
- 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 -9
- package/dist/src/plugin/index.mjs +0 -8
- package/dist/src/plugin/index.mjs.map +0 -1
|
@@ -11,7 +11,17 @@ interface BaseExecutorSchema {
|
|
|
11
11
|
/**
|
|
12
12
|
* Powerlines Configuration File
|
|
13
13
|
*
|
|
14
|
-
* The path to the Powerlines configuration file
|
|
14
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
15
|
+
*
|
|
16
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
17
|
+
*
|
|
18
|
+
* @format path
|
|
19
|
+
*/
|
|
20
|
+
config?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Powerlines Configuration File
|
|
23
|
+
*
|
|
24
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
15
25
|
*
|
|
16
26
|
* @default "{projectRoot}/powerlines.config.ts"
|
|
17
27
|
*
|
|
@@ -46,6 +56,15 @@ interface BaseExecutorSchema {
|
|
|
46
56
|
* @format path
|
|
47
57
|
*/
|
|
48
58
|
outputPath?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Copy Path
|
|
61
|
+
*
|
|
62
|
+
* A directory path to copy the build artifacts into
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
* @oneOf [object Object],[object Object]
|
|
66
|
+
*/
|
|
67
|
+
copyPath?: any;
|
|
49
68
|
/**
|
|
50
69
|
* Sourcemap
|
|
51
70
|
*
|
|
@@ -117,6 +136,19 @@ interface BaseExecutorSchema {
|
|
|
117
136
|
*
|
|
118
137
|
*/
|
|
119
138
|
define?: Record<string, string>;
|
|
139
|
+
/**
|
|
140
|
+
* Assets
|
|
141
|
+
*
|
|
142
|
+
* The `assets` values
|
|
143
|
+
*
|
|
144
|
+
*/
|
|
145
|
+
assets?: Array<{
|
|
146
|
+
input?: string;
|
|
147
|
+
output?: string;
|
|
148
|
+
glob: string;
|
|
149
|
+
ignore?: string[];
|
|
150
|
+
dot?: boolean;
|
|
151
|
+
}>;
|
|
120
152
|
}
|
|
121
153
|
//#endregion
|
|
122
154
|
//#region src/base/base-executor.d.ts
|
|
@@ -140,4 +172,4 @@ type ShellShockExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCo
|
|
|
140
172
|
declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: ShellShockExecutorContext<TCommand, TExecutorSchema>, api: ShellShockAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
|
|
141
173
|
//#endregion
|
|
142
174
|
export { withExecutor as n, ShellShockExecutorContext as t };
|
|
143
|
-
//# sourceMappingURL=base-executor-
|
|
175
|
+
//# sourceMappingURL=base-executor-ICVyKAxY.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor-ICVyKAxY.d.ts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../src/base/base-executor.schema.d.ts","../src/base/base-executor.ts"],"mappings":";;;;;;;;;UAIiBA,kBAAAA;;;AAAjB;;;;;;;EAUCG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;AChBD;;;;;;ED0BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;ACvBD;EDgCCC,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;AAAAA;;;KC5HxE,yBAAA,kBACO,iBAAA,GAAoB,iBAAA,0BACb,kBAAA,GAAqB,kBAAA,IAC3C,eAAA;EACF,WAAA;EACA,OAAA,EAAS,QAAA;EACT,OAAA,EAAS,eAAA;EACT,YAAA,EAAc,YAAA;EACd,eAAA,EAAiB,oBAAA;AAAA;;;;;;;;;;;iBAaH,YAAA,kBACG,iBAAA,GAAoB,iBAAA,0BACb,kBAAA,GAAqB,kBAAA,CAAA,CAE7C,OAAA,EAAS,QAAA,EACT,UAAA,GACE,OAAA,EAAS,yBAAA,CAA0B,QAAA,EAAU,eAAA,GAC7C,GAAA,EAAK,aAAA,KAEH,OAAA,CAAQ,kBAAA,uBACR,kBAAA,sBAGH,eAAA,CAAgB,eAAA"}
|
|
@@ -58,7 +58,7 @@ function withExecutor(command, executorFn) {
|
|
|
58
58
|
description: projectConfig.metadata?.description,
|
|
59
59
|
projectType: projectConfig.projectType,
|
|
60
60
|
mode: options.mode,
|
|
61
|
-
output: {
|
|
61
|
+
output: { path: options.outputPath }
|
|
62
62
|
}, options));
|
|
63
63
|
try {
|
|
64
64
|
return await Promise.resolve(executorFn((0, defu.default)({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped-D4R6pki2.d.ts","names":[],"sources":["../src/base/base-executor.untyped.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped-hmlG6oyC.d.mts","names":[],"sources":["../src/base/base-executor.untyped.ts"],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: ((k) => from[k]).bind(null, key),
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
25
|
+
}) : target, mod));
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
|
|
29
|
+
Object.defineProperty(exports, '__toESM', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return __toESM;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as ShellShockExecutorContext } from "../../base-executor-CPOK8Lba.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { ShellShockAPI } from "@shell-shock/core/api";
|
|
4
4
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
@@ -10,7 +10,17 @@ interface BuildExecutorSchema {
|
|
|
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
|
*
|
|
@@ -45,6 +55,15 @@ interface BuildExecutorSchema {
|
|
|
45
55
|
* @format path
|
|
46
56
|
*/
|
|
47
57
|
outputPath?: string;
|
|
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;
|
|
48
67
|
/**
|
|
49
68
|
* Sourcemap
|
|
50
69
|
*
|
|
@@ -116,6 +135,19 @@ interface BuildExecutorSchema {
|
|
|
116
135
|
*
|
|
117
136
|
*/
|
|
118
137
|
define?: Record<string, string>;
|
|
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
|
+
}>;
|
|
119
151
|
/**
|
|
120
152
|
* Auto Install
|
|
121
153
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","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/build/schema.d.ts","../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;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,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -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 { ShellShockAPI } from "@shell-shock/core/api";
|
|
4
4
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
@@ -10,7 +10,17 @@ interface BuildExecutorSchema {
|
|
|
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
|
*
|
|
@@ -45,6 +55,15 @@ interface BuildExecutorSchema {
|
|
|
45
55
|
* @format path
|
|
46
56
|
*/
|
|
47
57
|
outputPath?: string;
|
|
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;
|
|
48
67
|
/**
|
|
49
68
|
* Sourcemap
|
|
50
69
|
*
|
|
@@ -116,6 +135,19 @@ interface BuildExecutorSchema {
|
|
|
116
135
|
*
|
|
117
136
|
*/
|
|
118
137
|
define?: Record<string, string>;
|
|
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
|
+
}>;
|
|
119
151
|
/**
|
|
120
152
|
* Auto Install
|
|
121
153
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache"],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","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/build/schema.d.ts","../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;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,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
-
const require_base_executor = require('../../base-executor-
|
|
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
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[],"sources":["
|
|
1
|
+
{"version":3,"file":"executor.mjs","names":[],"sources":["../../../src/executors/build/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/api\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport type { BuildInlineConfig } from \"powerlines\";\nimport type { ShellShockExecutorContext } from \"../../base/base-executor\";\nimport { withExecutor } from \"../../base/base-executor\";\nimport type { BuildExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: ShellShockExecutorContext<\"build\", BuildExecutorSchema>,\n api: ShellShockAPI\n): Promise<BaseExecutorResult> {\n await api.build(\n defu(\n {\n command: \"build\",\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall\n },\n context.inlineConfig\n ) as BuildInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<BuildExecutorSchema> = withExecutor<\n \"build\",\n BuildExecutorSchema\n>(\"build\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;AA2BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,MACR,KACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAM,WAAiD,aAGrD,SAAS,WAAW"}
|
|
File without changes
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import { t as ShellShockExecutorContext } from "../../base-executor-5IKYZdSK.mjs";
|
|
2
|
-
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { ShellShockAPI } from "@shell-shock/core/api";
|
|
4
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
5
|
-
|
|
6
1
|
//#region src/executors/build/schema.d.ts
|
|
7
2
|
// Generated by powerlines
|
|
8
3
|
// Do not edit this file directly
|
|
@@ -10,7 +5,17 @@ interface BuildExecutorSchema {
|
|
|
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
|
*
|
|
@@ -45,6 +50,15 @@ interface BuildExecutorSchema {
|
|
|
45
50
|
* @format path
|
|
46
51
|
*/
|
|
47
52
|
outputPath?: string;
|
|
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;
|
|
48
62
|
/**
|
|
49
63
|
* Sourcemap
|
|
50
64
|
*
|
|
@@ -116,6 +130,19 @@ interface BuildExecutorSchema {
|
|
|
116
130
|
*
|
|
117
131
|
*/
|
|
118
132
|
define?: Record<string, string>;
|
|
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
|
+
}>;
|
|
119
146
|
/**
|
|
120
147
|
* Auto Install
|
|
121
148
|
*
|
|
@@ -132,9 +159,5 @@ interface BuildExecutorSchema {
|
|
|
132
159
|
skipCache?: boolean;
|
|
133
160
|
}
|
|
134
161
|
//#endregion
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
declare const executor: PromiseExecutor<BuildExecutorSchema>;
|
|
138
|
-
//#endregion
|
|
139
|
-
export { executor as default, executorFn };
|
|
140
|
-
//# sourceMappingURL=executor.d.mts.map
|
|
162
|
+
export { BuildExecutorSchema };
|
|
163
|
+
//# sourceMappingURL=schema.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.mts","names":["BuildExecutorSchema","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/build/schema.d.ts"],"mappings":";;;UAIiBA,mBAAAA;;;;;;;;;;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"}
|