@powerlines/nx 0.12.29 → 0.12.31
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/dist/src/base/base-executor.d.mts.map +1 -1
- package/dist/src/base/base-executor.d.ts.map +1 -1
- package/dist/src/base/base-executor.js +6 -5
- package/dist/src/base/base-executor.mjs +6 -5
- package/dist/src/base/base-executor.mjs.map +1 -1
- package/dist/src/base/base-executor.schema.d.mts +0 -4
- package/dist/src/base/base-executor.schema.d.mts.map +1 -1
- package/dist/src/base/base-executor.schema.d.ts +0 -4
- package/dist/src/base/base-executor.schema.d.ts.map +1 -1
- package/dist/src/base/base-executor.schema.json +4 -12
- package/dist/src/base/base-executor.untyped.js +28 -40
- package/dist/src/base/base-executor.untyped.mjs +28 -40
- package/dist/src/base/base-executor.untyped.mjs.map +1 -1
- package/dist/src/{base-executor-tBEl5AWE.js → base-executor-BNRPo3ZJ.js} +6 -5
- package/dist/src/{base-executor-iHU-fU0G.d.ts → base-executor-C6crUvpJ.d.mts} +1 -5
- package/dist/src/base-executor-C6crUvpJ.d.mts.map +1 -0
- package/dist/src/{base-executor-LiCOQirA.d.mts → base-executor-ChK_tQvQ.d.ts} +1 -5
- package/dist/src/base-executor-ChK_tQvQ.d.ts.map +1 -0
- package/dist/src/{base-executor-Chnlp8E6.mjs → base-executor-P8R4MeC_.mjs} +7 -6
- package/dist/src/base-executor-P8R4MeC_.mjs.map +1 -0
- package/dist/src/{base-executor.untyped-CWwiE6fo.mjs → base-executor.untyped-CLAuFeBO.mjs} +29 -41
- package/dist/src/base-executor.untyped-CLAuFeBO.mjs.map +1 -0
- package/dist/src/{base-executor.untyped-DwcuTgJP.js → base-executor.untyped-Ck6Mm8fr.js} +28 -40
- package/dist/src/executors/build/executor.d.mts +1 -5
- package/dist/src/executors/build/executor.d.mts.map +1 -1
- package/dist/src/executors/build/executor.d.ts +1 -5
- package/dist/src/executors/build/executor.d.ts.map +1 -1
- package/dist/src/executors/build/executor.js +1 -1
- package/dist/src/executors/build/executor.mjs +1 -1
- package/dist/src/executors/build/schema.d.ts +0 -4
- package/dist/src/executors/build/schema.json +4 -12
- package/dist/src/executors/clean/executor.d.mts +1 -5
- package/dist/src/executors/clean/executor.d.mts.map +1 -1
- package/dist/src/executors/clean/executor.d.ts +1 -5
- package/dist/src/executors/clean/executor.d.ts.map +1 -1
- package/dist/src/executors/clean/executor.js +1 -1
- package/dist/src/executors/clean/executor.mjs +1 -1
- package/dist/src/executors/clean/schema.d.ts +0 -4
- package/dist/src/executors/clean/schema.json +4 -12
- package/dist/src/executors/clean/untyped.js +1 -1
- package/dist/src/executors/clean/untyped.mjs +1 -1
- package/dist/src/executors/docs/executor.d.mts +1 -5
- package/dist/src/executors/docs/executor.d.mts.map +1 -1
- package/dist/src/executors/docs/executor.d.ts +1 -5
- package/dist/src/executors/docs/executor.d.ts.map +1 -1
- package/dist/src/executors/docs/executor.js +1 -1
- package/dist/src/executors/docs/executor.mjs +1 -1
- package/dist/src/executors/docs/schema.d.ts +0 -4
- package/dist/src/executors/docs/schema.json +4 -12
- package/dist/src/executors/lint/executor.d.mts +1 -5
- package/dist/src/executors/lint/executor.d.mts.map +1 -1
- package/dist/src/executors/lint/executor.d.ts +1 -5
- package/dist/src/executors/lint/executor.d.ts.map +1 -1
- package/dist/src/executors/lint/executor.js +1 -1
- package/dist/src/executors/lint/executor.mjs +1 -1
- package/dist/src/executors/lint/schema.d.ts +0 -4
- package/dist/src/executors/lint/schema.json +4 -12
- package/dist/src/executors/prepare/executor.d.mts +1 -5
- package/dist/src/executors/prepare/executor.d.mts.map +1 -1
- package/dist/src/executors/prepare/executor.d.ts +1 -5
- package/dist/src/executors/prepare/executor.d.ts.map +1 -1
- package/dist/src/executors/prepare/executor.js +1 -1
- package/dist/src/executors/prepare/executor.mjs +1 -1
- package/dist/src/executors/prepare/executor.mjs.map +1 -1
- package/dist/src/executors/prepare/schema.d.ts +0 -4
- package/dist/src/executors/prepare/schema.json +4 -12
- package/dist/src/executors/prepare/untyped.js +1 -1
- package/dist/src/executors/prepare/untyped.mjs +1 -1
- package/package.json +3 -3
- package/dist/src/base-executor-Chnlp8E6.mjs.map +0 -1
- package/dist/src/base-executor-LiCOQirA.d.mts.map +0 -1
- package/dist/src/base-executor-iHU-fU0G.d.ts.map +0 -1
- package/dist/src/base-executor.untyped-CWwiE6fo.mjs.map +0 -1
|
@@ -26,15 +26,18 @@ function withExecutor(command, executorFn) {
|
|
|
26
26
|
const api = await createEngine(defu({
|
|
27
27
|
cwd: workspaceConfig.workspaceRoot,
|
|
28
28
|
root: projectConfig.root,
|
|
29
|
-
configFile: options.configFile
|
|
29
|
+
configFile: options.configFile || options.config
|
|
30
30
|
}, options, { name: context.projectName }));
|
|
31
31
|
try {
|
|
32
32
|
return await Promise.resolve(executorFn(defu({
|
|
33
33
|
projectName: context.projectName,
|
|
34
34
|
options,
|
|
35
35
|
workspaceConfig,
|
|
36
|
-
|
|
36
|
+
command,
|
|
37
|
+
inlineConfig: defu({
|
|
37
38
|
command,
|
|
39
|
+
configFile: options.configFile,
|
|
40
|
+
description: projectConfig.metadata?.description,
|
|
38
41
|
projectType: projectConfig.projectType,
|
|
39
42
|
output: {
|
|
40
43
|
path: options.outputPath ? replacePath(replacePath(options.outputPath, workspaceConfig.workspaceRoot), projectConfig.root) : void 0,
|
|
@@ -42,7 +45,6 @@ function withExecutor(command, executorFn) {
|
|
|
42
45
|
path: options.copyPath ? replacePath(replacePath(options.copyPath, workspaceConfig.workspaceRoot), projectConfig.root) : void 0,
|
|
43
46
|
assets: options.assets
|
|
44
47
|
},
|
|
45
|
-
format: options.format,
|
|
46
48
|
sourceMap: options.sourceMap
|
|
47
49
|
},
|
|
48
50
|
resolve: {
|
|
@@ -50,8 +52,7 @@ function withExecutor(command, executorFn) {
|
|
|
50
52
|
noExternal: options.noExternal,
|
|
51
53
|
skipNodeModulesBundle: options.skipNodeModulesBundle
|
|
52
54
|
}
|
|
53
|
-
},
|
|
54
|
-
command
|
|
55
|
+
}, options)
|
|
55
56
|
}, context), api));
|
|
56
57
|
} catch (error) {
|
|
57
58
|
writeError(`An error occurred while executing the Powerlines ${command} command executor: ${isError(error) ? `${error.message}
|
|
@@ -71,4 +72,4 @@ ${error.stack}` : "Unknown error"}`);
|
|
|
71
72
|
|
|
72
73
|
//#endregion
|
|
73
74
|
export { withExecutor as t };
|
|
74
|
-
//# sourceMappingURL=base-executor-
|
|
75
|
+
//# sourceMappingURL=base-executor-P8R4MeC_.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor-P8R4MeC_.mjs","names":[],"sources":["../../src/base/base-executor.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 { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport { createJiti } from \"jiti\";\nimport type {\n InlineConfig,\n OutputConfig,\n PowerlinesCommand,\n PowerlinesEngine\n} from \"powerlines\";\nimport { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type PowerlinesExecutorContext<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n> = ExecutorContext & {\n projectName: string;\n command: TCommand;\n options: TExecutorSchema;\n inlineConfig: InlineConfig;\n workspaceConfig: StormWorkspaceConfig;\n};\n\n/**\n * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.\n *\n * @param command - The command that the executor will handle (e.g., \"new\", \"prepare\", \"build\", etc.).\n * @param executorFn - The function that will be executed when the command is run.\n * @returns A Promise that resolves to the result of the executor function.\n */\nexport function withExecutor<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n>(\n command: TCommand,\n executorFn: (\n context: PowerlinesExecutorContext<TCommand, TExecutorSchema>,\n api: PowerlinesEngine\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Powerlines ${command} command executor`,\n async (\n options: TExecutorSchema,\n context: ExecutorContext,\n workspaceConfig: StormWorkspaceConfig\n ): Promise<BaseExecutorResult | null | undefined> => {\n if (!context.projectName) {\n throw new Error(\n \"The executor requires `projectName` on the context object.\"\n );\n }\n\n if (\n !context.projectName ||\n !context.projectsConfigurations?.projects ||\n !context.projectsConfigurations.projects[context.projectName] ||\n !context.projectsConfigurations.projects[context.projectName]?.root\n ) {\n throw new Error(\n \"The executor requires `projectsConfigurations` on the context object.\"\n );\n }\n\n const projectConfig =\n context.projectsConfigurations.projects[context.projectName]!;\n\n const jiti = createJiti(context.root, { cache: false });\n const { createEngine } = await jiti.import<{\n createEngine: typeof import(\"powerlines\").createEngine;\n }>(jiti.esmResolve(\"powerlines\"));\n\n const api = await createEngine(\n defu(\n {\n cwd: workspaceConfig.workspaceRoot,\n root: projectConfig.root,\n configFile: options.configFile || options.config\n },\n options,\n {\n name: context.projectName\n }\n )\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n command,\n inlineConfig: defu(\n {\n command,\n configFile: options.configFile,\n description: projectConfig.metadata?.description,\n projectType: projectConfig.projectType,\n output: {\n path: options.outputPath\n ? replacePath(\n replacePath(\n options.outputPath,\n workspaceConfig.workspaceRoot\n ),\n projectConfig.root\n )\n : undefined,\n copy: {\n path: options.copyPath\n ? replacePath(\n replacePath(\n options.copyPath,\n workspaceConfig.workspaceRoot\n ),\n projectConfig.root\n )\n : undefined,\n assets: options.assets\n },\n sourceMap: options.sourceMap\n } as OutputConfig,\n resolve: {\n external: options.external,\n noExternal: options.noExternal,\n skipNodeModulesBundle: options.skipNodeModulesBundle\n }\n },\n options\n )\n },\n context\n ),\n api\n )\n );\n } catch (error) {\n writeError(\n `An error occurred while executing the Powerlines ${\n command\n } command executor: ${\n isError(error)\n ? `${error.message}\n\n${error.stack}`\n : \"Unknown error\"\n }`\n );\n\n return { success: false };\n } finally {\n await api.finalize();\n }\n },\n {\n skipReadingConfig: false,\n hooks: {\n applyDefaultOptions: (options: Partial<TExecutorSchema>) => {\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAwDA,SAAgB,aAId,SACA,YAQkC;AAClC,QAAO,gBACL,cAAc,QAAQ,oBACtB,OACE,SACA,SACA,oBACmD;AACnD,MAAI,CAAC,QAAQ,YACX,OAAM,IAAI,MACR,6DACD;AAGH,MACE,CAAC,QAAQ,eACT,CAAC,QAAQ,wBAAwB,YACjC,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,gBACjD,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,cAAc,KAE/D,OAAM,IAAI,MACR,wEACD;EAGH,MAAM,gBACJ,QAAQ,uBAAuB,SAAS,QAAQ;EAElD,MAAM,OAAO,WAAW,QAAQ,MAAM,EAAE,OAAO,OAAO,CAAC;EACvD,MAAM,EAAE,iBAAiB,MAAM,KAAK,OAEjC,KAAK,WAAW,aAAa,CAAC;EAEjC,MAAM,MAAM,MAAM,aAChB,KACE;GACE,KAAK,gBAAgB;GACrB,MAAM,cAAc;GACpB,YAAY,QAAQ,cAAc,QAAQ;GAC3C,EACD,SACA,EACE,MAAM,QAAQ,aACf,CACF,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA;IACA,cAAc,KACZ;KACE;KACA,YAAY,QAAQ;KACpB,aAAa,cAAc,UAAU;KACrC,aAAa,cAAc;KAC3B,QAAQ;MACN,MAAM,QAAQ,aACV,YACE,YACE,QAAQ,YACR,gBAAgB,cACjB,EACD,cAAc,KACf,GACD;MACJ,MAAM;OACJ,MAAM,QAAQ,WACV,YACE,YACE,QAAQ,UACR,gBAAgB,cACjB,EACD,cAAc,KACf,GACD;OACJ,QAAQ,QAAQ;OACjB;MACD,WAAW,QAAQ;MACpB;KACD,SAAS;MACP,UAAU,QAAQ;MAClB,YAAY,QAAQ;MACpB,uBAAuB,QAAQ;MAChC;KACF,EACD,QACD;IACF,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,cACE,oDACE,QACD,qBACC,QAAQ,MAAM,GACV,GAAG,MAAM,QAAQ;;EAE/B,MAAM,UACQ,kBAEP;AAED,UAAO,EAAE,SAAS,OAAO;YACjB;AACR,SAAM,IAAI,UAAU;;IAGxB;EACE,mBAAmB;EACnB,OAAO,EACL,sBAAsB,YAAsC;AAC1D,UAAO;KAEV;EACF,CACF"}
|
|
@@ -8,24 +8,18 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
8
8
|
description: "A shared/base schema type definition for Powerlines executors",
|
|
9
9
|
required: []
|
|
10
10
|
},
|
|
11
|
-
config: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
type: "string",
|
|
24
|
-
format: "path",
|
|
25
|
-
description: "The path to the Powerlines configuration file. Alias for `config`."
|
|
26
|
-
},
|
|
27
|
-
$default: "{projectRoot}/powerlines.config.ts"
|
|
28
|
-
},
|
|
11
|
+
config: { $schema: {
|
|
12
|
+
title: "Powerlines Configuration File",
|
|
13
|
+
type: "string",
|
|
14
|
+
format: "path",
|
|
15
|
+
description: "The path to the Powerlines configuration file. Alias for `configFile`."
|
|
16
|
+
} },
|
|
17
|
+
configFile: { $schema: {
|
|
18
|
+
title: "Powerlines Configuration File",
|
|
19
|
+
type: "string",
|
|
20
|
+
format: "path",
|
|
21
|
+
description: "The path to the Powerlines configuration file. Alias for `config`."
|
|
22
|
+
} },
|
|
29
23
|
input: { $schema: {
|
|
30
24
|
title: "Input Entry File(s)",
|
|
31
25
|
format: "path",
|
|
@@ -33,15 +27,12 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
33
27
|
description: "The entry file(s) that serve as the input for the project",
|
|
34
28
|
items: { type: "string" }
|
|
35
29
|
} },
|
|
36
|
-
tsconfig: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
$default: "{projectRoot}/tsconfig.json"
|
|
44
|
-
},
|
|
30
|
+
tsconfig: { $schema: {
|
|
31
|
+
title: "TSConfig Path",
|
|
32
|
+
type: "string",
|
|
33
|
+
format: "path",
|
|
34
|
+
description: "The path to the tsconfig file"
|
|
35
|
+
} },
|
|
45
36
|
outputPath: { $schema: {
|
|
46
37
|
title: "Output Path",
|
|
47
38
|
type: "string",
|
|
@@ -80,19 +71,16 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
80
71
|
},
|
|
81
72
|
$resolve: (val = ["cjs", "esm"]) => [].concat(val)
|
|
82
73
|
},
|
|
83
|
-
platform: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
},
|
|
94
|
-
$default: "neutral"
|
|
95
|
-
},
|
|
74
|
+
platform: { $schema: {
|
|
75
|
+
title: "Platform",
|
|
76
|
+
type: "string",
|
|
77
|
+
description: "The platform to build",
|
|
78
|
+
enum: [
|
|
79
|
+
"neutral",
|
|
80
|
+
"node",
|
|
81
|
+
"browser"
|
|
82
|
+
]
|
|
83
|
+
} },
|
|
96
84
|
external: {
|
|
97
85
|
$schema: {
|
|
98
86
|
title: "External",
|
|
@@ -159,4 +147,4 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
159
147
|
|
|
160
148
|
//#endregion
|
|
161
149
|
export { base_executor_untyped_default as t };
|
|
162
|
-
//# sourceMappingURL=base-executor.untyped-
|
|
150
|
+
//# sourceMappingURL=base-executor.untyped-CLAuFeBO.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped-CLAuFeBO.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 config: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `configFile`.\"\n }\n },\n configFile: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `config`.\"\n }\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 },\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 copyPath: {\n $schema: {\n title: \"Copy Path\",\n description: \"A directory path to copy the build artifacts into\",\n oneOf: [\n { type: \"string\", format: \"path\" },\n { type: \"boolean\", enum: [false] }\n ]\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 },\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 assets: {\n $schema: {\n title: \"Assets\",\n type: \"any\",\n tsType:\n \"Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>\",\n description: \"The `assets` values\"\n }\n }\n});\n"],"mappings":";;;AAoBA,oCAAe,oBAAoB;CACjC,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aACE;EACF,UAAU,EAAE;EACb;CACD,QAAQ,EACN,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aACE;EACH,EACF;CACD,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aACE;EACH,EACF;CACD,OAAO,EACL,SAAS;EACP,OAAO;EACP,QAAQ;EACR,MAAM;EACN,aAAa;EACb,OAAO,EAAE,MAAM,UAAU;EAC1B,EACF;CACD,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;EACd,EACF;CACD,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;EACd,EACF;CACD,UAAU,EACR,SAAS;EACP,OAAO;EACP,aAAa;EACb,OAAO,CACL;GAAE,MAAM;GAAU,QAAQ;GAAQ,EAClC;GAAE,MAAM;GAAW,MAAM,CAAC,MAAM;GAAE,CACnC;EACF,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;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GAAC;GAAW;GAAQ;GAAU;EACrC,EACF;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;CACD,QAAQ,EACN,SAAS;EACP,OAAO;EACP,MAAM;EACN,QACE;EACF,aAAa;EACd,EACF;CACF,CAAC"}
|
|
@@ -9,24 +9,18 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
|
9
9
|
description: "A shared/base schema type definition for Powerlines executors",
|
|
10
10
|
required: []
|
|
11
11
|
},
|
|
12
|
-
config: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
type: "string",
|
|
25
|
-
format: "path",
|
|
26
|
-
description: "The path to the Powerlines configuration file. Alias for `config`."
|
|
27
|
-
},
|
|
28
|
-
$default: "{projectRoot}/powerlines.config.ts"
|
|
29
|
-
},
|
|
12
|
+
config: { $schema: {
|
|
13
|
+
title: "Powerlines Configuration File",
|
|
14
|
+
type: "string",
|
|
15
|
+
format: "path",
|
|
16
|
+
description: "The path to the Powerlines configuration file. Alias for `configFile`."
|
|
17
|
+
} },
|
|
18
|
+
configFile: { $schema: {
|
|
19
|
+
title: "Powerlines Configuration File",
|
|
20
|
+
type: "string",
|
|
21
|
+
format: "path",
|
|
22
|
+
description: "The path to the Powerlines configuration file. Alias for `config`."
|
|
23
|
+
} },
|
|
30
24
|
input: { $schema: {
|
|
31
25
|
title: "Input Entry File(s)",
|
|
32
26
|
format: "path",
|
|
@@ -34,15 +28,12 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
|
34
28
|
description: "The entry file(s) that serve as the input for the project",
|
|
35
29
|
items: { type: "string" }
|
|
36
30
|
} },
|
|
37
|
-
tsconfig: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
$default: "{projectRoot}/tsconfig.json"
|
|
45
|
-
},
|
|
31
|
+
tsconfig: { $schema: {
|
|
32
|
+
title: "TSConfig Path",
|
|
33
|
+
type: "string",
|
|
34
|
+
format: "path",
|
|
35
|
+
description: "The path to the tsconfig file"
|
|
36
|
+
} },
|
|
46
37
|
outputPath: { $schema: {
|
|
47
38
|
title: "Output Path",
|
|
48
39
|
type: "string",
|
|
@@ -81,19 +72,16 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
|
81
72
|
},
|
|
82
73
|
$resolve: (val = ["cjs", "esm"]) => [].concat(val)
|
|
83
74
|
},
|
|
84
|
-
platform: {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
$default: "neutral"
|
|
96
|
-
},
|
|
75
|
+
platform: { $schema: {
|
|
76
|
+
title: "Platform",
|
|
77
|
+
type: "string",
|
|
78
|
+
description: "The platform to build",
|
|
79
|
+
enum: [
|
|
80
|
+
"neutral",
|
|
81
|
+
"node",
|
|
82
|
+
"browser"
|
|
83
|
+
]
|
|
84
|
+
} },
|
|
97
85
|
external: {
|
|
98
86
|
$schema: {
|
|
99
87
|
title: "External",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-C6crUvpJ.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface BuildExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface BuildExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface BuildExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface BuildExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
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","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB
|
|
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","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACfD;EDyBCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBCpJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-ChK_tQvQ.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface BuildExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface BuildExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface BuildExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface BuildExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
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","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB
|
|
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","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACfD;EDyBCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBCpJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
2
|
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
3
|
-
const require_base_executor = require('../../base-executor-
|
|
3
|
+
const require_base_executor = require('../../base-executor-BNRPo3ZJ.js');
|
|
4
4
|
let defu = require("defu");
|
|
5
5
|
defu = require_chunk.__toESM(defu);
|
|
6
6
|
|
|
@@ -8,7 +8,6 @@ export interface BuildExecutorSchema {
|
|
|
8
8
|
*
|
|
9
9
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
10
|
*
|
|
11
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
11
|
*
|
|
13
12
|
* @format path
|
|
14
13
|
*/
|
|
@@ -19,7 +18,6 @@ export interface BuildExecutorSchema {
|
|
|
19
18
|
*
|
|
20
19
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
21
20
|
*
|
|
22
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
23
21
|
*
|
|
24
22
|
* @format path
|
|
25
23
|
*/
|
|
@@ -40,7 +38,6 @@ export interface BuildExecutorSchema {
|
|
|
40
38
|
*
|
|
41
39
|
* The path to the tsconfig file
|
|
42
40
|
*
|
|
43
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
44
41
|
*
|
|
45
42
|
* @format path
|
|
46
43
|
*/
|
|
@@ -88,7 +85,6 @@ export interface BuildExecutorSchema {
|
|
|
88
85
|
*
|
|
89
86
|
* The platform to build
|
|
90
87
|
*
|
|
91
|
-
* @default "neutral"
|
|
92
88
|
*
|
|
93
89
|
* @enum neutral,node,browser
|
|
94
90
|
*/
|
|
@@ -9,16 +9,14 @@
|
|
|
9
9
|
"type": "string",
|
|
10
10
|
"format": "path",
|
|
11
11
|
"description": "The path to the Powerlines configuration file. Alias for `configFile`.",
|
|
12
|
-
"id": "#config"
|
|
13
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
12
|
+
"id": "#config"
|
|
14
13
|
},
|
|
15
14
|
"configFile": {
|
|
16
15
|
"title": "Powerlines Configuration File",
|
|
17
16
|
"type": "string",
|
|
18
17
|
"format": "path",
|
|
19
18
|
"description": "The path to the Powerlines configuration file. Alias for `config`.",
|
|
20
|
-
"id": "#configFile"
|
|
21
|
-
"default": "{projectRoot}/powerlines.config.ts"
|
|
19
|
+
"id": "#configFile"
|
|
22
20
|
},
|
|
23
21
|
"input": {
|
|
24
22
|
"title": "Input Entry File(s)",
|
|
@@ -35,8 +33,7 @@
|
|
|
35
33
|
"type": "string",
|
|
36
34
|
"format": "path",
|
|
37
35
|
"description": "The path to the tsconfig file",
|
|
38
|
-
"id": "#tsconfig"
|
|
39
|
-
"default": "{projectRoot}/tsconfig.json"
|
|
36
|
+
"id": "#tsconfig"
|
|
40
37
|
},
|
|
41
38
|
"outputPath": {
|
|
42
39
|
"title": "Output Path",
|
|
@@ -97,8 +94,7 @@
|
|
|
97
94
|
"node",
|
|
98
95
|
"browser"
|
|
99
96
|
],
|
|
100
|
-
"id": "#platform"
|
|
101
|
-
"default": "neutral"
|
|
97
|
+
"id": "#platform"
|
|
102
98
|
},
|
|
103
99
|
"external": {
|
|
104
100
|
"title": "External",
|
|
@@ -202,15 +198,11 @@
|
|
|
202
198
|
},
|
|
203
199
|
"type": "object",
|
|
204
200
|
"default": {
|
|
205
|
-
"config": "{projectRoot}/powerlines.config.ts",
|
|
206
|
-
"configFile": "{projectRoot}/powerlines.config.ts",
|
|
207
|
-
"tsconfig": "{projectRoot}/tsconfig.json",
|
|
208
201
|
"copyPath": {},
|
|
209
202
|
"format": [
|
|
210
203
|
"cjs",
|
|
211
204
|
"esm"
|
|
212
205
|
],
|
|
213
|
-
"platform": "neutral",
|
|
214
206
|
"external": [],
|
|
215
207
|
"noExternal": [],
|
|
216
208
|
"define": {},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-C6crUvpJ.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface CleanExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface CleanExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface CleanExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface CleanExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;EA2GsF;;;;AC3HvF;;;;ED0BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;AC3BA;;;EDmCAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC3H9D,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-ChK_tQvQ.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -12,7 +12,6 @@ interface CleanExecutorSchema {
|
|
|
12
12
|
*
|
|
13
13
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
14
14
|
*
|
|
15
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
15
|
*
|
|
17
16
|
* @format path
|
|
18
17
|
*/
|
|
@@ -22,7 +21,6 @@ interface CleanExecutorSchema {
|
|
|
22
21
|
*
|
|
23
22
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
24
23
|
*
|
|
25
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
26
24
|
*
|
|
27
25
|
* @format path
|
|
28
26
|
*/
|
|
@@ -41,7 +39,6 @@ interface CleanExecutorSchema {
|
|
|
41
39
|
*
|
|
42
40
|
* The path to the tsconfig file
|
|
43
41
|
*
|
|
44
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
45
42
|
*
|
|
46
43
|
* @format path
|
|
47
44
|
*/
|
|
@@ -84,7 +81,6 @@ interface CleanExecutorSchema {
|
|
|
84
81
|
*
|
|
85
82
|
* The platform to build
|
|
86
83
|
*
|
|
87
|
-
* @default "neutral"
|
|
88
84
|
*
|
|
89
85
|
* @enum neutral,node,browser
|
|
90
86
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;EA2GsF;;;;AC3HvF;;;;ED0BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;AC3BA;;;EDmCAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;EAUTU,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;;;iBC3H9D,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,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-BNRPo3ZJ.js');
|
|
3
3
|
|
|
4
4
|
//#region src/executors/clean/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
@@ -8,7 +8,6 @@ export interface CleanExecutorSchema {
|
|
|
8
8
|
*
|
|
9
9
|
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
10
10
|
*
|
|
11
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
12
11
|
*
|
|
13
12
|
* @format path
|
|
14
13
|
*/
|
|
@@ -19,7 +18,6 @@ export interface CleanExecutorSchema {
|
|
|
19
18
|
*
|
|
20
19
|
* The path to the Powerlines configuration file. Alias for `config`.
|
|
21
20
|
*
|
|
22
|
-
* @default "{projectRoot}/powerlines.config.ts"
|
|
23
21
|
*
|
|
24
22
|
* @format path
|
|
25
23
|
*/
|
|
@@ -40,7 +38,6 @@ export interface CleanExecutorSchema {
|
|
|
40
38
|
*
|
|
41
39
|
* The path to the tsconfig file
|
|
42
40
|
*
|
|
43
|
-
* @default "{projectRoot}/tsconfig.json"
|
|
44
41
|
*
|
|
45
42
|
* @format path
|
|
46
43
|
*/
|
|
@@ -88,7 +85,6 @@ export interface CleanExecutorSchema {
|
|
|
88
85
|
*
|
|
89
86
|
* The platform to build
|
|
90
87
|
*
|
|
91
|
-
* @default "neutral"
|
|
92
88
|
*
|
|
93
89
|
* @enum neutral,node,browser
|
|
94
90
|
*/
|