@powerlines/nx 0.11.268 → 0.11.270
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/README.md +29 -31
- package/dist/src/base/base-executor.d.mts +1 -1
- package/dist/src/base/base-executor.d.ts +1 -1
- package/dist/src/base/base-executor.js +78 -3
- package/dist/src/base/base-executor.mjs +75 -3
- package/dist/src/base/base-executor.mjs.map +1 -0
- package/dist/src/base/base-executor.schema.d.mts +117 -2
- package/dist/src/base/base-executor.schema.d.mts.map +1 -0
- package/dist/src/base/base-executor.schema.d.ts +117 -2
- package/dist/src/base/base-executor.schema.d.ts.map +1 -0
- package/dist/src/base/base-executor.untyped.d.mts +1 -1
- package/dist/src/base/base-executor.untyped.d.ts +1 -1
- package/dist/src/base/base-executor.untyped.js +135 -2
- package/dist/src/base/base-executor.untyped.mjs +135 -2
- package/dist/src/base/base-executor.untyped.mjs.map +1 -0
- package/dist/src/base/index.d.mts +1 -3
- package/dist/src/base/index.d.ts +1 -1
- package/dist/src/base/index.js +4 -5
- package/dist/src/base/index.mjs +2 -4
- package/dist/src/base-executor-Bj63x9OE.d.ts +28 -0
- package/dist/src/base-executor-Bj63x9OE.d.ts.map +1 -0
- package/dist/src/base-executor-D6POztG2.d.mts +28 -0
- package/dist/src/base-executor-D6POztG2.d.mts.map +1 -0
- package/dist/src/base-executor.untyped-D4R6pki2.d.ts +7 -0
- package/dist/src/base-executor.untyped-D4R6pki2.d.ts.map +1 -0
- package/dist/src/base-executor.untyped-hmlG6oyC.d.mts +7 -0
- package/dist/src/base-executor.untyped-hmlG6oyC.d.mts.map +1 -0
- package/dist/src/chunk-BE-pF4vm.js +34 -0
- package/dist/src/{constants-BvODbBl8.d.ts → constants-CbG11Mby.d.ts} +1 -1
- package/dist/src/constants-CbG11Mby.d.ts.map +1 -0
- package/dist/src/{constants-ByputsG8.d.mts → constants-VDvVnoLC.d.mts} +1 -1
- package/dist/src/constants-VDvVnoLC.d.mts.map +1 -0
- package/dist/src/executors/build/executor.d.mts +2 -16
- package/dist/src/executors/build/executor.d.mts.map +1 -1
- package/dist/src/executors/build/executor.d.ts +2 -16
- package/dist/src/executors/build/executor.d.ts.map +1 -1
- package/dist/src/executors/build/executor.js +6 -7
- package/dist/src/executors/build/executor.mjs +4 -6
- package/dist/src/executors/build/executor.mjs.map +1 -1
- package/dist/src/executors/build/untyped.d.mts +2 -2
- package/dist/src/executors/build/untyped.d.mts.map +1 -1
- package/dist/src/executors/build/untyped.d.ts +2 -2
- package/dist/src/executors/build/untyped.d.ts.map +1 -1
- package/dist/src/executors/build/untyped.js +3 -4
- package/dist/src/executors/build/untyped.mjs +1 -2
- package/dist/src/executors/build/untyped.mjs.map +1 -1
- package/dist/src/executors/clean/executor.d.mts +2 -13
- package/dist/src/executors/clean/executor.d.mts.map +1 -1
- package/dist/src/executors/clean/executor.d.ts +2 -13
- package/dist/src/executors/clean/executor.d.ts.map +1 -1
- package/dist/src/executors/clean/executor.js +4 -6
- package/dist/src/executors/clean/executor.mjs +2 -4
- package/dist/src/executors/clean/executor.mjs.map +1 -1
- package/dist/src/executors/clean/untyped.d.mts +2 -2
- package/dist/src/executors/clean/untyped.d.mts.map +1 -1
- package/dist/src/executors/clean/untyped.d.ts +2 -2
- package/dist/src/executors/clean/untyped.d.ts.map +1 -1
- package/dist/src/executors/clean/untyped.js +3 -3
- package/dist/src/executors/clean/untyped.mjs +1 -1
- package/dist/src/executors/docs/executor.d.mts +2 -15
- package/dist/src/executors/docs/executor.d.mts.map +1 -1
- package/dist/src/executors/docs/executor.d.ts +2 -15
- package/dist/src/executors/docs/executor.d.ts.map +1 -1
- package/dist/src/executors/docs/executor.js +4 -6
- package/dist/src/executors/docs/executor.mjs +2 -4
- package/dist/src/executors/docs/executor.mjs.map +1 -1
- package/dist/src/executors/docs/untyped.d.mts +2 -2
- package/dist/src/executors/docs/untyped.d.mts.map +1 -1
- package/dist/src/executors/docs/untyped.d.ts +2 -2
- package/dist/src/executors/docs/untyped.d.ts.map +1 -1
- package/dist/src/executors/docs/untyped.js +3 -4
- package/dist/src/executors/docs/untyped.mjs +1 -2
- package/dist/src/executors/docs/untyped.mjs.map +1 -1
- package/dist/src/executors/lint/executor.d.mts +2 -15
- package/dist/src/executors/lint/executor.d.mts.map +1 -1
- package/dist/src/executors/lint/executor.d.ts +2 -15
- package/dist/src/executors/lint/executor.d.ts.map +1 -1
- package/dist/src/executors/lint/executor.js +4 -6
- package/dist/src/executors/lint/executor.mjs +2 -4
- package/dist/src/executors/lint/executor.mjs.map +1 -1
- package/dist/src/executors/lint/untyped.d.mts +2 -2
- package/dist/src/executors/lint/untyped.d.mts.map +1 -1
- package/dist/src/executors/lint/untyped.d.ts +2 -2
- package/dist/src/executors/lint/untyped.d.ts.map +1 -1
- package/dist/src/executors/lint/untyped.js +3 -4
- package/dist/src/executors/lint/untyped.mjs +1 -2
- package/dist/src/executors/lint/untyped.mjs.map +1 -1
- package/dist/src/executors/prepare/executor.d.mts +2 -15
- package/dist/src/executors/prepare/executor.d.mts.map +1 -1
- package/dist/src/executors/prepare/executor.d.ts +2 -15
- package/dist/src/executors/prepare/executor.d.ts.map +1 -1
- package/dist/src/executors/prepare/executor.js +6 -7
- package/dist/src/executors/prepare/executor.mjs +4 -6
- package/dist/src/executors/prepare/executor.mjs.map +1 -1
- package/dist/src/executors/prepare/untyped.d.mts +2 -2
- package/dist/src/executors/prepare/untyped.d.mts.map +1 -1
- package/dist/src/executors/prepare/untyped.d.ts +2 -2
- package/dist/src/executors/prepare/untyped.d.ts.map +1 -1
- package/dist/src/executors/prepare/untyped.js +26 -3
- package/dist/src/executors/prepare/untyped.mjs +26 -3
- package/dist/src/executors/prepare/untyped.mjs.map +1 -0
- package/dist/src/generators/sync/generator.d.mts.map +1 -1
- package/dist/src/generators/sync/generator.d.ts.map +1 -1
- package/dist/src/generators/sync/generator.js +5 -6
- package/dist/src/generators/sync/generator.mjs +1 -2
- package/dist/src/generators/sync/generator.mjs.map +1 -1
- package/dist/src/generators/sync/untyped.d.mts +2 -2
- package/dist/src/generators/sync/untyped.d.mts.map +1 -1
- package/dist/src/generators/sync/untyped.d.ts +2 -2
- package/dist/src/generators/sync/untyped.d.ts.map +1 -1
- package/dist/src/generators/sync/untyped.js +1 -1
- package/dist/src/helpers/constants.d.mts +1 -1
- package/dist/src/helpers/constants.d.ts +1 -1
- package/dist/src/helpers/constants.js +34 -2
- package/dist/src/helpers/constants.mjs +33 -2
- package/dist/src/helpers/constants.mjs.map +1 -0
- package/dist/src/helpers/index.d.mts +2 -3
- package/dist/src/helpers/index.d.ts +2 -2
- package/dist/src/helpers/index.js +7 -8
- package/dist/src/helpers/index.mjs +2 -4
- package/dist/src/helpers/plugin-utilities.d.mts +1 -1
- package/dist/src/helpers/plugin-utilities.d.ts +1 -1
- package/dist/src/helpers/plugin-utilities.js +274 -5
- package/dist/src/helpers/plugin-utilities.mjs +270 -3
- package/dist/src/helpers/plugin-utilities.mjs.map +1 -0
- package/dist/src/index.d.mts +4 -7
- package/dist/src/index.d.ts +4 -4
- package/dist/src/index.js +11 -12
- package/dist/src/index.mjs +5 -7
- package/dist/src/plugin/index.d.mts +1 -1
- package/dist/src/plugin/index.d.mts.map +1 -1
- package/dist/src/plugin/index.d.ts +1 -1
- package/dist/src/plugin/index.d.ts.map +1 -1
- package/dist/src/plugin/index.js +3 -3
- package/dist/src/plugin/index.mjs +1 -2
- package/dist/src/plugin/index.mjs.map +1 -1
- package/dist/src/{plugin-DIj3oU64.d.mts → plugin-B_ZGdX7U.d.mts} +1 -1
- package/dist/src/plugin-B_ZGdX7U.d.mts.map +1 -0
- package/dist/src/{plugin-DN475itb.d.ts → plugin-DpyutMl2.d.ts} +1 -1
- package/dist/src/plugin-DpyutMl2.d.ts.map +1 -0
- package/dist/src/{plugin-utilities-Bz3Muyag.d.mts → plugin-utilities-Cg-Ccp4C.d.mts} +2 -3
- package/dist/src/plugin-utilities-Cg-Ccp4C.d.mts.map +1 -0
- package/dist/src/{plugin-utilities-CeMy-9YQ.d.ts → plugin-utilities-CmfuC3TZ.d.ts} +2 -3
- package/dist/src/plugin-utilities-CmfuC3TZ.d.ts.map +1 -0
- package/dist/src/types/index.d.mts +1 -1
- package/dist/src/types/index.d.ts +1 -1
- package/dist/src/types/plugin.d.mts +1 -1
- package/dist/src/types/plugin.d.ts +1 -1
- package/package.json +4 -4
- package/dist/src/base-B7jekb-W.js +0 -0
- package/dist/src/base-BRSa-clf.mjs +0 -1
- package/dist/src/base-executor-BY0qdmfF.js +0 -4881
- package/dist/src/base-executor-CC8rBACl.mjs +0 -4863
- package/dist/src/base-executor-CC8rBACl.mjs.map +0 -1
- package/dist/src/base-executor-CWToCKgJ.d.ts +0 -2195
- package/dist/src/base-executor-CWToCKgJ.d.ts.map +0 -1
- package/dist/src/base-executor-Cc27ehGx.js +0 -4881
- package/dist/src/base-executor-PhChSWwR.mjs +0 -4863
- package/dist/src/base-executor-PhChSWwR.mjs.map +0 -1
- package/dist/src/base-executor-xsZuLKpp.d.mts +0 -2197
- package/dist/src/base-executor-xsZuLKpp.d.mts.map +0 -1
- package/dist/src/base-executor.schema-BaaDD_VU.d.ts +0 -130
- package/dist/src/base-executor.schema-BaaDD_VU.d.ts.map +0 -1
- package/dist/src/base-executor.schema-CYPLsYvI.d.mts +0 -130
- package/dist/src/base-executor.schema-CYPLsYvI.d.mts.map +0 -1
- package/dist/src/base-executor.untyped-B24q82iI.d.ts +0 -7
- package/dist/src/base-executor.untyped-B24q82iI.d.ts.map +0 -1
- package/dist/src/base-executor.untyped-C1pQETnQ.mjs +0 -136
- package/dist/src/base-executor.untyped-C1pQETnQ.mjs.map +0 -1
- package/dist/src/base-executor.untyped-Cz1Zw_02.js +0 -141
- package/dist/src/base-executor.untyped-DBccuF6E.d.ts +0 -7
- package/dist/src/base-executor.untyped-DBccuF6E.d.ts.map +0 -1
- package/dist/src/base-executor.untyped-imww7Gm9.d.mts +0 -7
- package/dist/src/base-executor.untyped-imww7Gm9.d.mts.map +0 -1
- package/dist/src/config-CGQhS8tm.js +0 -239
- package/dist/src/config-LoR-NIJg.mjs +0 -147
- package/dist/src/config-LoR-NIJg.mjs.map +0 -1
- package/dist/src/constants-BvODbBl8.d.ts.map +0 -1
- package/dist/src/constants-ByputsG8.d.mts.map +0 -1
- package/dist/src/constants-CKuImMYn.js +0 -39
- package/dist/src/constants-DzvoYj5w.mjs +0 -34
- package/dist/src/constants-DzvoYj5w.mjs.map +0 -1
- package/dist/src/helpers-B78f0Oey.js +0 -0
- package/dist/src/helpers-j01T2doK.mjs +0 -1
- package/dist/src/index-7rWKHdox.d.mts +0 -1
- package/dist/src/index-CB5PSF-Q.d.ts +0 -1
- package/dist/src/index-CDDzqahH.d.ts +0 -1
- package/dist/src/index-CsuikFeJ.d.mts +0 -1
- package/dist/src/index-LhFpnU-f.d.mts +0 -1
- package/dist/src/index-g0mugXoV.d.ts +0 -1
- package/dist/src/plugin-BnaFlFmT.js +0 -0
- package/dist/src/plugin-DIj3oU64.d.mts.map +0 -1
- package/dist/src/plugin-DN475itb.d.ts.map +0 -1
- package/dist/src/plugin-DRjpXVSI.mjs +0 -1
- package/dist/src/plugin-utilities-ByTgFCEW.js +0 -287
- package/dist/src/plugin-utilities-Bz3Muyag.d.mts.map +0 -1
- package/dist/src/plugin-utilities-CeMy-9YQ.d.ts.map +0 -1
- package/dist/src/plugin-utilities-DamtoOxO.mjs +0 -270
- package/dist/src/plugin-utilities-DamtoOxO.mjs.map +0 -1
- package/dist/src/untyped-BzuygGwJ.mjs +0 -27
- package/dist/src/untyped-BzuygGwJ.mjs.map +0 -1
- package/dist/src/untyped-CB-jtwm-.js +0 -32
|
@@ -1,3 +1,136 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineUntypedSchema } from "untyped";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/base/base-executor.untyped.ts
|
|
4
|
+
var base_executor_untyped_default = defineUntypedSchema({
|
|
5
|
+
$schema: {
|
|
6
|
+
id: "BaseExecutorSchema",
|
|
7
|
+
title: "Base Executor",
|
|
8
|
+
description: "A shared/base schema type definition for Powerlines executors",
|
|
9
|
+
required: []
|
|
10
|
+
},
|
|
11
|
+
configFile: {
|
|
12
|
+
$schema: {
|
|
13
|
+
title: "Powerlines Configuration File",
|
|
14
|
+
type: "string",
|
|
15
|
+
format: "path",
|
|
16
|
+
description: "The path to the Powerlines configuration file"
|
|
17
|
+
},
|
|
18
|
+
$default: "{projectRoot}/powerlines.config.ts"
|
|
19
|
+
},
|
|
20
|
+
input: { $schema: {
|
|
21
|
+
title: "Input Entry File(s)",
|
|
22
|
+
format: "path",
|
|
23
|
+
type: "array",
|
|
24
|
+
description: "The entry file(s) that serve as the input for the project",
|
|
25
|
+
items: { type: "string" }
|
|
26
|
+
} },
|
|
27
|
+
tsconfig: {
|
|
28
|
+
$schema: {
|
|
29
|
+
title: "TSConfig Path",
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "path",
|
|
32
|
+
description: "The path to the tsconfig file"
|
|
33
|
+
},
|
|
34
|
+
$default: "{projectRoot}/tsconfig.json"
|
|
35
|
+
},
|
|
36
|
+
outputPath: { $schema: {
|
|
37
|
+
title: "Output Path",
|
|
38
|
+
type: "string",
|
|
39
|
+
format: "path",
|
|
40
|
+
description: "The path to the output directory for the build artifacts"
|
|
41
|
+
} },
|
|
42
|
+
sourceMap: { $schema: {
|
|
43
|
+
title: "Sourcemap",
|
|
44
|
+
type: "boolean",
|
|
45
|
+
description: "Generate a sourcemap"
|
|
46
|
+
} },
|
|
47
|
+
format: {
|
|
48
|
+
$schema: {
|
|
49
|
+
title: "Format",
|
|
50
|
+
type: "array",
|
|
51
|
+
description: "The format to build",
|
|
52
|
+
items: {
|
|
53
|
+
type: "string",
|
|
54
|
+
enum: [
|
|
55
|
+
"cjs",
|
|
56
|
+
"esm",
|
|
57
|
+
"iife"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
$resolve: (val = ["cjs", "esm"]) => [].concat(val)
|
|
62
|
+
},
|
|
63
|
+
platform: {
|
|
64
|
+
$schema: {
|
|
65
|
+
title: "Platform",
|
|
66
|
+
type: "string",
|
|
67
|
+
description: "The platform to build",
|
|
68
|
+
enum: [
|
|
69
|
+
"neutral",
|
|
70
|
+
"node",
|
|
71
|
+
"browser"
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
$default: "neutral"
|
|
75
|
+
},
|
|
76
|
+
external: {
|
|
77
|
+
$schema: {
|
|
78
|
+
title: "External",
|
|
79
|
+
type: "array",
|
|
80
|
+
description: "The external dependencies"
|
|
81
|
+
},
|
|
82
|
+
$resolve: (val = []) => [].concat(val)
|
|
83
|
+
},
|
|
84
|
+
noExternal: {
|
|
85
|
+
$schema: {
|
|
86
|
+
title: "No External",
|
|
87
|
+
type: "array",
|
|
88
|
+
description: "The dependencies that should not be treated as external"
|
|
89
|
+
},
|
|
90
|
+
$resolve: (val = []) => [].concat(val)
|
|
91
|
+
},
|
|
92
|
+
skipNodeModulesBundle: { $schema: {
|
|
93
|
+
title: "Skip Node Modules Bundle",
|
|
94
|
+
type: "boolean",
|
|
95
|
+
description: "Skip bundling node_modules during the build process (if required)"
|
|
96
|
+
} },
|
|
97
|
+
mode: { $schema: {
|
|
98
|
+
title: "Mode",
|
|
99
|
+
type: "string",
|
|
100
|
+
description: "The build mode",
|
|
101
|
+
enum: [
|
|
102
|
+
"development",
|
|
103
|
+
"test",
|
|
104
|
+
"production"
|
|
105
|
+
]
|
|
106
|
+
} },
|
|
107
|
+
logLevel: { $schema: {
|
|
108
|
+
title: "Log Level",
|
|
109
|
+
type: "string",
|
|
110
|
+
description: "The log level to use for the build process",
|
|
111
|
+
enum: [
|
|
112
|
+
"fatal",
|
|
113
|
+
"error",
|
|
114
|
+
"warn",
|
|
115
|
+
"success",
|
|
116
|
+
"info",
|
|
117
|
+
"debug",
|
|
118
|
+
"trace",
|
|
119
|
+
"silent"
|
|
120
|
+
]
|
|
121
|
+
} },
|
|
122
|
+
define: {
|
|
123
|
+
$schema: {
|
|
124
|
+
title: "Define",
|
|
125
|
+
type: "object",
|
|
126
|
+
tsType: "Record<string, string>",
|
|
127
|
+
description: "The `define` values"
|
|
128
|
+
},
|
|
129
|
+
$resolve: (val = {}) => val,
|
|
130
|
+
$default: {}
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
//#endregion
|
|
135
|
+
export { base_executor_untyped_default as default };
|
|
136
|
+
//# sourceMappingURL=base-executor.untyped.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped.mjs","names":[],"sources":["../../../src/base/base-executor.untyped.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\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/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { defineUntypedSchema } from \"untyped\";\n\nexport default defineUntypedSchema({\n $schema: {\n id: \"BaseExecutorSchema\",\n title: \"Base Executor\",\n description:\n \"A shared/base schema type definition for Powerlines executors\",\n required: []\n },\n configFile: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the Powerlines configuration file\"\n },\n $default: \"{projectRoot}/powerlines.config.ts\"\n },\n input: {\n $schema: {\n title: \"Input Entry File(s)\",\n format: \"path\",\n type: \"array\",\n description: \"The entry file(s) that serve as the input for the project\",\n items: { type: \"string\" }\n }\n },\n tsconfig: {\n $schema: {\n title: \"TSConfig Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the tsconfig file\"\n },\n $default: \"{projectRoot}/tsconfig.json\"\n },\n outputPath: {\n $schema: {\n title: \"Output Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the output directory for the build artifacts\"\n }\n },\n sourceMap: {\n $schema: {\n title: \"Sourcemap\",\n type: \"boolean\",\n description: \"Generate a sourcemap\"\n }\n },\n format: {\n $schema: {\n title: \"Format\",\n type: \"array\",\n description: \"The format to build\",\n items: {\n type: \"string\",\n enum: [\"cjs\", \"esm\", \"iife\"]\n }\n },\n $resolve: (val: string[] = [\"cjs\", \"esm\"]) => ([] as string[]).concat(val)\n },\n platform: {\n $schema: {\n title: \"Platform\",\n type: \"string\",\n description: \"The platform to build\",\n enum: [\"neutral\", \"node\", \"browser\"]\n },\n $default: \"neutral\"\n },\n external: {\n $schema: {\n title: \"External\",\n type: \"array\",\n description: \"The external dependencies\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n noExternal: {\n $schema: {\n title: \"No External\",\n type: \"array\",\n description: \"The dependencies that should not be treated as external\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n skipNodeModulesBundle: {\n $schema: {\n title: \"Skip Node Modules Bundle\",\n type: \"boolean\",\n description:\n \"Skip bundling node_modules during the build process (if required)\"\n }\n },\n mode: {\n $schema: {\n title: \"Mode\",\n type: \"string\",\n description: \"The build mode\",\n enum: [\"development\", \"test\", \"production\"]\n }\n },\n logLevel: {\n $schema: {\n title: \"Log Level\",\n type: \"string\",\n description: \"The log level to use for the build process\",\n enum: [\n \"fatal\",\n \"error\",\n \"warn\",\n \"success\",\n \"info\",\n \"debug\",\n \"trace\",\n \"silent\"\n ]\n }\n },\n define: {\n $schema: {\n title: \"Define\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description: \"The `define` values\"\n },\n $resolve: (val: Record<string, string> = {}) => val,\n $default: {}\n }\n});\n"],"mappings":";;;AAoBA,oCAAe,oBAAoB;CACjC,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aACE;EACF,UAAU,EAAE;EACb;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,UAAU;EACX;CACD,OAAO,EACL,SAAS;EACP,OAAO;EACP,QAAQ;EACR,MAAM;EACN,aAAa;EACb,OAAO,EAAE,MAAM,UAAU;EAC1B,EACF;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,UAAU;EACX;CACD,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;EACd,EACF;CACD,WAAW,EACT,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACd,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,OAAO;IACL,MAAM;IACN,MAAM;KAAC;KAAO;KAAO;KAAO;IAC7B;GACF;EACD,WAAW,MAAgB,CAAC,OAAO,MAAM,KAAM,EAAE,CAAc,OAAO,IAAI;EAC3E;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,MAAM;IAAC;IAAW;IAAQ;IAAU;GACrC;EACD,UAAU;EACX;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,uBAAuB,EACrB,SAAS;EACP,OAAO;EACP,MAAM;EACN,aACE;EACH,EACF;CACD,MAAM,EACJ,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GAAC;GAAe;GAAQ;GAAa;EAC5C,EACF;CACD,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EACF,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,WAAW,MAA8B,EAAE,KAAK;EAChD,UAAU,EAAE;EACb;CACF,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-
|
|
2
|
-
import "../base-executor.untyped-imww7Gm9.mjs";
|
|
3
|
-
import "../index-LhFpnU-f.mjs";
|
|
1
|
+
import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-D6POztG2.mjs";
|
|
4
2
|
export { PowerlinesExecutorContext, withExecutor };
|
package/dist/src/base/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-
|
|
1
|
+
import { n as withExecutor, t as PowerlinesExecutorContext } from "../base-executor-Bj63x9OE.js";
|
|
2
2
|
export { PowerlinesExecutorContext, withExecutor };
|
package/dist/src/base/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
require('
|
|
4
|
-
require('../base-B7jekb-W.js');
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_base_base_executor = require('./base-executor.js');
|
|
3
|
+
require('./base-executor.untyped.js');
|
|
5
4
|
|
|
6
|
-
exports.withExecutor =
|
|
5
|
+
exports.withExecutor = require_base_base_executor.withExecutor;
|
package/dist/src/base/index.mjs
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "../base-executor.untyped-C1pQETnQ.mjs";
|
|
4
|
-
import "../base-BRSa-clf.mjs";
|
|
1
|
+
import { withExecutor } from "./base-executor.mjs";
|
|
2
|
+
import "./base-executor.untyped.mjs";
|
|
5
3
|
|
|
6
4
|
export { withExecutor };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseExecutorSchema } from "./base/base-executor.schema.js";
|
|
2
|
+
import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
|
|
3
|
+
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
4
|
+
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
5
|
+
import PowerlinesAPI, { InlineConfig, PowerlinesCommand } from "powerlines";
|
|
6
|
+
|
|
7
|
+
//#region src/base/base-executor.d.ts
|
|
8
|
+
type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
|
|
9
|
+
projectName: string;
|
|
10
|
+
command: TCommand;
|
|
11
|
+
options: TExecutorSchema;
|
|
12
|
+
inlineConfig: InlineConfig;
|
|
13
|
+
workspaceConfig: StormWorkspaceConfig;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
|
|
20
|
+
*
|
|
21
|
+
* @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
|
|
22
|
+
* @param executorFn - The function that will be executed when the command is run.
|
|
23
|
+
* @returns A Promise that resolves to the result of the executor function.
|
|
24
|
+
*/
|
|
25
|
+
declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: PowerlinesExecutorContext<TCommand, TExecutorSchema>, api: PowerlinesAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { withExecutor as n, PowerlinesExecutorContext as t };
|
|
28
|
+
//# sourceMappingURL=base-executor-Bj63x9OE.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor-Bj63x9OE.d.ts","names":[],"sources":["../../src/base/base-executor.ts"],"mappings":";;;;;;;KAiCY,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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseExecutorSchema } from "./base/base-executor.schema.mjs";
|
|
2
|
+
import PowerlinesAPI, { InlineConfig, PowerlinesCommand } from "powerlines";
|
|
3
|
+
import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
|
|
4
|
+
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
5
|
+
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
6
|
+
|
|
7
|
+
//#region src/base/base-executor.d.ts
|
|
8
|
+
type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
|
|
9
|
+
projectName: string;
|
|
10
|
+
command: TCommand;
|
|
11
|
+
options: TExecutorSchema;
|
|
12
|
+
inlineConfig: InlineConfig;
|
|
13
|
+
workspaceConfig: StormWorkspaceConfig;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
|
|
20
|
+
*
|
|
21
|
+
* @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
|
|
22
|
+
* @param executorFn - The function that will be executed when the command is run.
|
|
23
|
+
* @returns A Promise that resolves to the result of the executor function.
|
|
24
|
+
*/
|
|
25
|
+
declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: PowerlinesExecutorContext<TCommand, TExecutorSchema>, api: PowerlinesAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
|
|
26
|
+
//#endregion
|
|
27
|
+
export { withExecutor as n, PowerlinesExecutorContext as t };
|
|
28
|
+
//# sourceMappingURL=base-executor-D6POztG2.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor-D6POztG2.d.mts","names":[],"sources":["../../src/base/base-executor.ts"],"mappings":";;;;;;;KAiCY,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"}
|
|
@@ -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
|
+
});
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
declare const CONFIG_INPUTS: readonly ["{projectRoot}/{framework}.json", "{projectRoot}/{framework}.*.json", "{projectRoot}/{framework}.jsonc", "{projectRoot}/{framework}.*.jsonc", "{projectRoot}/{framework}.json5", "{projectRoot}/{framework}.*.json5", "{projectRoot}/{framework}.yaml", "{projectRoot}/{framework}.*.yaml", "{projectRoot}/{framework}.yml", "{projectRoot}/{framework}.*.yml", "{projectRoot}/{framework}.toml", "{projectRoot}/{framework}.*.toml", "{projectRoot}/{framework}.config.js", "{projectRoot}/{framework}.*.config.js", "{projectRoot}/{framework}.config.cjs", "{projectRoot}/{framework}.*.config.cjs", "{projectRoot}/{framework}.config.mjs", "{projectRoot}/{framework}.*.config.mjs", "{projectRoot}/{framework}.config.ts", "{projectRoot}/{framework}.*.config.ts", "{projectRoot}/{framework}.config.cts", "{projectRoot}/{framework}.*.config.cts", "{projectRoot}/{framework}.config.mts", "{projectRoot}/{framework}.*.config.mts"];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { CONFIG_INPUTS as t };
|
|
8
|
-
//# sourceMappingURL=constants-
|
|
8
|
+
//# sourceMappingURL=constants-CbG11Mby.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-CbG11Mby.d.ts","names":[],"sources":["../../src/helpers/constants.ts"],"mappings":";;AAqBA;;cAAa,aAAA"}
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
declare const CONFIG_INPUTS: readonly ["{projectRoot}/{framework}.json", "{projectRoot}/{framework}.*.json", "{projectRoot}/{framework}.jsonc", "{projectRoot}/{framework}.*.jsonc", "{projectRoot}/{framework}.json5", "{projectRoot}/{framework}.*.json5", "{projectRoot}/{framework}.yaml", "{projectRoot}/{framework}.*.yaml", "{projectRoot}/{framework}.yml", "{projectRoot}/{framework}.*.yml", "{projectRoot}/{framework}.toml", "{projectRoot}/{framework}.*.toml", "{projectRoot}/{framework}.config.js", "{projectRoot}/{framework}.*.config.js", "{projectRoot}/{framework}.config.cjs", "{projectRoot}/{framework}.*.config.cjs", "{projectRoot}/{framework}.config.mjs", "{projectRoot}/{framework}.*.config.mjs", "{projectRoot}/{framework}.config.ts", "{projectRoot}/{framework}.*.config.ts", "{projectRoot}/{framework}.config.cts", "{projectRoot}/{framework}.*.config.cts", "{projectRoot}/{framework}.config.mts", "{projectRoot}/{framework}.*.config.mts"];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { CONFIG_INPUTS as t };
|
|
8
|
-
//# sourceMappingURL=constants-
|
|
8
|
+
//# sourceMappingURL=constants-VDvVnoLC.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants-VDvVnoLC.d.mts","names":[],"sources":["../../src/helpers/constants.ts"],"mappings":";;AAqBA;;cAAa,aAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-D6POztG2.mjs";
|
|
2
|
+
import PowerlinesAPI from "powerlines";
|
|
2
3
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
4
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
5
|
|
|
@@ -16,7 +17,6 @@ interface BuildExecutorSchema {
|
|
|
16
17
|
* @format path
|
|
17
18
|
*/
|
|
18
19
|
configFile?: string;
|
|
19
|
-
|
|
20
20
|
/**
|
|
21
21
|
* Input Entry File(s)
|
|
22
22
|
*
|
|
@@ -26,7 +26,6 @@ interface BuildExecutorSchema {
|
|
|
26
26
|
* @format path
|
|
27
27
|
*/
|
|
28
28
|
input?: Array<string>;
|
|
29
|
-
|
|
30
29
|
/**
|
|
31
30
|
* TSConfig Path
|
|
32
31
|
*
|
|
@@ -37,7 +36,6 @@ interface BuildExecutorSchema {
|
|
|
37
36
|
* @format path
|
|
38
37
|
*/
|
|
39
38
|
tsconfig?: string;
|
|
40
|
-
|
|
41
39
|
/**
|
|
42
40
|
* Output Path
|
|
43
41
|
*
|
|
@@ -47,7 +45,6 @@ interface BuildExecutorSchema {
|
|
|
47
45
|
* @format path
|
|
48
46
|
*/
|
|
49
47
|
outputPath?: string;
|
|
50
|
-
|
|
51
48
|
/**
|
|
52
49
|
* Sourcemap
|
|
53
50
|
*
|
|
@@ -55,7 +52,6 @@ interface BuildExecutorSchema {
|
|
|
55
52
|
*
|
|
56
53
|
*/
|
|
57
54
|
sourceMap?: boolean;
|
|
58
|
-
|
|
59
55
|
/**
|
|
60
56
|
* Format
|
|
61
57
|
*
|
|
@@ -64,7 +60,6 @@ interface BuildExecutorSchema {
|
|
|
64
60
|
* @default ["cjs","esm"]
|
|
65
61
|
*/
|
|
66
62
|
format?: Array<string>;
|
|
67
|
-
|
|
68
63
|
/**
|
|
69
64
|
* Platform
|
|
70
65
|
*
|
|
@@ -75,7 +70,6 @@ interface BuildExecutorSchema {
|
|
|
75
70
|
* @enum neutral,node,browser
|
|
76
71
|
*/
|
|
77
72
|
platform?: string;
|
|
78
|
-
|
|
79
73
|
/**
|
|
80
74
|
* External
|
|
81
75
|
*
|
|
@@ -83,7 +77,6 @@ interface BuildExecutorSchema {
|
|
|
83
77
|
*
|
|
84
78
|
*/
|
|
85
79
|
external?: Array<any>;
|
|
86
|
-
|
|
87
80
|
/**
|
|
88
81
|
* No External
|
|
89
82
|
*
|
|
@@ -91,7 +84,6 @@ interface BuildExecutorSchema {
|
|
|
91
84
|
*
|
|
92
85
|
*/
|
|
93
86
|
noExternal?: Array<any>;
|
|
94
|
-
|
|
95
87
|
/**
|
|
96
88
|
* Skip Node Modules Bundle
|
|
97
89
|
*
|
|
@@ -99,7 +91,6 @@ interface BuildExecutorSchema {
|
|
|
99
91
|
*
|
|
100
92
|
*/
|
|
101
93
|
skipNodeModulesBundle?: boolean;
|
|
102
|
-
|
|
103
94
|
/**
|
|
104
95
|
* Mode
|
|
105
96
|
*
|
|
@@ -109,7 +100,6 @@ interface BuildExecutorSchema {
|
|
|
109
100
|
* @enum development,test,production
|
|
110
101
|
*/
|
|
111
102
|
mode?: string;
|
|
112
|
-
|
|
113
103
|
/**
|
|
114
104
|
* Log Level
|
|
115
105
|
*
|
|
@@ -119,7 +109,6 @@ interface BuildExecutorSchema {
|
|
|
119
109
|
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
120
110
|
*/
|
|
121
111
|
logLevel?: string;
|
|
122
|
-
|
|
123
112
|
/**
|
|
124
113
|
* Define
|
|
125
114
|
*
|
|
@@ -127,7 +116,6 @@ interface BuildExecutorSchema {
|
|
|
127
116
|
*
|
|
128
117
|
*/
|
|
129
118
|
define?: Record<string, string>;
|
|
130
|
-
|
|
131
119
|
/**
|
|
132
120
|
* Auto Install
|
|
133
121
|
*
|
|
@@ -135,7 +123,6 @@ interface BuildExecutorSchema {
|
|
|
135
123
|
*
|
|
136
124
|
*/
|
|
137
125
|
autoInstall?: boolean;
|
|
138
|
-
|
|
139
126
|
/**
|
|
140
127
|
* Skip Cache
|
|
141
128
|
*
|
|
@@ -143,7 +130,6 @@ interface BuildExecutorSchema {
|
|
|
143
130
|
*
|
|
144
131
|
*/
|
|
145
132
|
skipCache?: boolean;
|
|
146
|
-
|
|
147
133
|
/**
|
|
148
134
|
* Entry Path(s)
|
|
149
135
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"
|
|
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","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;;;;ACND;;;EDgBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;;ACNA;EDeAC,MAAAA,GAASP,KAAAA;ECbqB;;;;;;;;;EDwB9BQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC1HqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-Bj63x9OE.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
|
+
import PowerlinesAPI from "powerlines";
|
|
4
5
|
|
|
5
6
|
//#region src/executors/build/schema.d.ts
|
|
6
7
|
// Generated by @storm-software/untyped
|
|
@@ -16,7 +17,6 @@ interface BuildExecutorSchema {
|
|
|
16
17
|
* @format path
|
|
17
18
|
*/
|
|
18
19
|
configFile?: string;
|
|
19
|
-
|
|
20
20
|
/**
|
|
21
21
|
* Input Entry File(s)
|
|
22
22
|
*
|
|
@@ -26,7 +26,6 @@ interface BuildExecutorSchema {
|
|
|
26
26
|
* @format path
|
|
27
27
|
*/
|
|
28
28
|
input?: Array<string>;
|
|
29
|
-
|
|
30
29
|
/**
|
|
31
30
|
* TSConfig Path
|
|
32
31
|
*
|
|
@@ -37,7 +36,6 @@ interface BuildExecutorSchema {
|
|
|
37
36
|
* @format path
|
|
38
37
|
*/
|
|
39
38
|
tsconfig?: string;
|
|
40
|
-
|
|
41
39
|
/**
|
|
42
40
|
* Output Path
|
|
43
41
|
*
|
|
@@ -47,7 +45,6 @@ interface BuildExecutorSchema {
|
|
|
47
45
|
* @format path
|
|
48
46
|
*/
|
|
49
47
|
outputPath?: string;
|
|
50
|
-
|
|
51
48
|
/**
|
|
52
49
|
* Sourcemap
|
|
53
50
|
*
|
|
@@ -55,7 +52,6 @@ interface BuildExecutorSchema {
|
|
|
55
52
|
*
|
|
56
53
|
*/
|
|
57
54
|
sourceMap?: boolean;
|
|
58
|
-
|
|
59
55
|
/**
|
|
60
56
|
* Format
|
|
61
57
|
*
|
|
@@ -64,7 +60,6 @@ interface BuildExecutorSchema {
|
|
|
64
60
|
* @default ["cjs","esm"]
|
|
65
61
|
*/
|
|
66
62
|
format?: Array<string>;
|
|
67
|
-
|
|
68
63
|
/**
|
|
69
64
|
* Platform
|
|
70
65
|
*
|
|
@@ -75,7 +70,6 @@ interface BuildExecutorSchema {
|
|
|
75
70
|
* @enum neutral,node,browser
|
|
76
71
|
*/
|
|
77
72
|
platform?: string;
|
|
78
|
-
|
|
79
73
|
/**
|
|
80
74
|
* External
|
|
81
75
|
*
|
|
@@ -83,7 +77,6 @@ interface BuildExecutorSchema {
|
|
|
83
77
|
*
|
|
84
78
|
*/
|
|
85
79
|
external?: Array<any>;
|
|
86
|
-
|
|
87
80
|
/**
|
|
88
81
|
* No External
|
|
89
82
|
*
|
|
@@ -91,7 +84,6 @@ interface BuildExecutorSchema {
|
|
|
91
84
|
*
|
|
92
85
|
*/
|
|
93
86
|
noExternal?: Array<any>;
|
|
94
|
-
|
|
95
87
|
/**
|
|
96
88
|
* Skip Node Modules Bundle
|
|
97
89
|
*
|
|
@@ -99,7 +91,6 @@ interface BuildExecutorSchema {
|
|
|
99
91
|
*
|
|
100
92
|
*/
|
|
101
93
|
skipNodeModulesBundle?: boolean;
|
|
102
|
-
|
|
103
94
|
/**
|
|
104
95
|
* Mode
|
|
105
96
|
*
|
|
@@ -109,7 +100,6 @@ interface BuildExecutorSchema {
|
|
|
109
100
|
* @enum development,test,production
|
|
110
101
|
*/
|
|
111
102
|
mode?: string;
|
|
112
|
-
|
|
113
103
|
/**
|
|
114
104
|
* Log Level
|
|
115
105
|
*
|
|
@@ -119,7 +109,6 @@ interface BuildExecutorSchema {
|
|
|
119
109
|
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
120
110
|
*/
|
|
121
111
|
logLevel?: string;
|
|
122
|
-
|
|
123
112
|
/**
|
|
124
113
|
* Define
|
|
125
114
|
*
|
|
@@ -127,7 +116,6 @@ interface BuildExecutorSchema {
|
|
|
127
116
|
*
|
|
128
117
|
*/
|
|
129
118
|
define?: Record<string, string>;
|
|
130
|
-
|
|
131
119
|
/**
|
|
132
120
|
* Auto Install
|
|
133
121
|
*
|
|
@@ -135,7 +123,6 @@ interface BuildExecutorSchema {
|
|
|
135
123
|
*
|
|
136
124
|
*/
|
|
137
125
|
autoInstall?: boolean;
|
|
138
|
-
|
|
139
126
|
/**
|
|
140
127
|
* Skip Cache
|
|
141
128
|
*
|
|
@@ -143,7 +130,6 @@ interface BuildExecutorSchema {
|
|
|
143
130
|
*
|
|
144
131
|
*/
|
|
145
132
|
skipCache?: boolean;
|
|
146
|
-
|
|
147
133
|
/**
|
|
148
134
|
* Entry Path(s)
|
|
149
135
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"
|
|
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","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;;;;ACND;;;EDgBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;;ACNA;EDeAC,MAAAA,GAASP,KAAAA;ECbqB;;;;;;;;;EDwB9BQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC1HqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Object.
|
|
2
|
-
const
|
|
3
|
-
const
|
|
1
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
|
+
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
3
|
+
const require_base_base_executor = require('../../base/base-executor.js');
|
|
4
4
|
let defu = require("defu");
|
|
5
|
-
defu =
|
|
5
|
+
defu = require_chunk.__toESM(defu);
|
|
6
6
|
|
|
7
7
|
//#region src/executors/build/executor.ts
|
|
8
8
|
async function executorFn(context, api) {
|
|
@@ -13,9 +13,8 @@ async function executorFn(context, api) {
|
|
|
13
13
|
}, context.inlineConfig));
|
|
14
14
|
return { success: true };
|
|
15
15
|
}
|
|
16
|
-
const executor =
|
|
17
|
-
var executor_default = executor;
|
|
16
|
+
const executor = require_base_base_executor.withExecutor("build", executorFn);
|
|
18
17
|
|
|
19
18
|
//#endregion
|
|
20
|
-
exports.default =
|
|
19
|
+
exports.default = executor;
|
|
21
20
|
exports.executorFn = executorFn;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import defu$1 from "defu";
|
|
1
|
+
import { withExecutor } from "../../base/base-executor.mjs";
|
|
2
|
+
import defu from "defu";
|
|
4
3
|
|
|
5
4
|
//#region src/executors/build/executor.ts
|
|
6
5
|
async function executorFn(context, api) {
|
|
7
|
-
await api.build(defu
|
|
6
|
+
await api.build(defu({
|
|
8
7
|
input: context.options.input,
|
|
9
8
|
skipCache: context.options.skipCache,
|
|
10
9
|
mode: context.options.mode
|
|
@@ -12,8 +11,7 @@ async function executorFn(context, api) {
|
|
|
12
11
|
return { success: true };
|
|
13
12
|
}
|
|
14
13
|
const executor = withExecutor("build", executorFn);
|
|
15
|
-
var executor_default = executor;
|
|
16
14
|
|
|
17
15
|
//#endregion
|
|
18
|
-
export {
|
|
16
|
+
export { executor as default, executorFn };
|
|
19
17
|
//# sourceMappingURL=executor.mjs.map
|