@powerlines/nx 0.12.35 → 0.12.36
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.js +1 -0
- package/dist/src/base/base-executor.mjs +1 -0
- package/dist/src/base/base-executor.mjs.map +1 -1
- package/dist/src/base/base-executor.schema.d.mts +7 -0
- package/dist/src/base/base-executor.schema.d.mts.map +1 -1
- package/dist/src/base/base-executor.schema.d.ts +7 -0
- package/dist/src/base/base-executor.schema.d.ts.map +1 -1
- package/dist/src/base/base-executor.schema.json +10 -1
- package/dist/src/base/base-executor.untyped.js +11 -1
- package/dist/src/base/base-executor.untyped.mjs +11 -1
- package/dist/src/base/base-executor.untyped.mjs.map +1 -1
- package/dist/src/{base-executor-ChK_tQvQ.d.ts → base-executor-BCjwzmGL.d.mts} +8 -1
- package/dist/src/base-executor-BCjwzmGL.d.mts.map +1 -0
- package/dist/src/{base-executor-BNRPo3ZJ.js → base-executor-BDAg4EU6.js} +1 -0
- package/dist/src/{base-executor-C6crUvpJ.d.mts → base-executor-BFScX_zo.d.ts} +8 -1
- package/dist/src/base-executor-BFScX_zo.d.ts.map +1 -0
- package/dist/src/{base-executor-P8R4MeC_.mjs → base-executor-DRGoWE4W.mjs} +2 -1
- package/dist/src/{base-executor-P8R4MeC_.mjs.map → base-executor-DRGoWE4W.mjs.map} +1 -1
- package/dist/src/{base-executor.untyped-CLAuFeBO.mjs → base-executor.untyped-2RZ9UgoR.mjs} +12 -2
- package/dist/src/{base-executor.untyped-CLAuFeBO.mjs.map → base-executor.untyped-2RZ9UgoR.mjs.map} +1 -1
- package/dist/src/{base-executor.untyped-Ck6Mm8fr.js → base-executor.untyped-C0BdZZs6.js} +11 -1
- package/dist/src/executors/build/executor.d.mts +8 -1
- package/dist/src/executors/build/executor.d.mts.map +1 -1
- package/dist/src/executors/build/executor.d.ts +8 -1
- 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 +8 -0
- package/dist/src/executors/build/schema.json +9 -0
- package/dist/src/executors/clean/executor.d.mts +8 -1
- package/dist/src/executors/clean/executor.d.mts.map +1 -1
- package/dist/src/executors/clean/executor.d.ts +8 -1
- 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 +8 -0
- package/dist/src/executors/clean/schema.json +10 -1
- 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 +8 -1
- package/dist/src/executors/docs/executor.d.mts.map +1 -1
- package/dist/src/executors/docs/executor.d.ts +8 -1
- 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 +8 -0
- package/dist/src/executors/docs/schema.json +10 -1
- package/dist/src/executors/lint/executor.d.mts +8 -1
- package/dist/src/executors/lint/executor.d.mts.map +1 -1
- package/dist/src/executors/lint/executor.d.ts +8 -1
- 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 +8 -0
- package/dist/src/executors/lint/schema.json +10 -1
- package/dist/src/executors/prepare/executor.d.mts +8 -1
- package/dist/src/executors/prepare/executor.d.mts.map +1 -1
- package/dist/src/executors/prepare/executor.d.ts +8 -1
- 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/schema.d.ts +8 -0
- package/dist/src/executors/prepare/schema.json +10 -1
- 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-C6crUvpJ.d.mts.map +0 -1
- package/dist/src/base-executor-ChK_tQvQ.d.ts.map +0 -1
|
@@ -42,6 +42,7 @@ function withExecutor(command, executorFn) {
|
|
|
42
42
|
configFile: options.configFile,
|
|
43
43
|
description: projectConfig.metadata?.description,
|
|
44
44
|
projectType: projectConfig.projectType,
|
|
45
|
+
additionalArgs: options.additionalArgs,
|
|
45
46
|
output: {
|
|
46
47
|
path: options.outputPath ? (0, _stryke_path_replace.replacePath)((0, _stryke_path_replace.replacePath)(options.outputPath, workspaceConfig.workspaceRoot), projectConfig.root) : void 0,
|
|
47
48
|
copy: {
|
|
@@ -39,6 +39,7 @@ function withExecutor(command, executorFn) {
|
|
|
39
39
|
configFile: options.configFile,
|
|
40
40
|
description: projectConfig.metadata?.description,
|
|
41
41
|
projectType: projectConfig.projectType,
|
|
42
|
+
additionalArgs: options.additionalArgs,
|
|
42
43
|
output: {
|
|
43
44
|
path: options.outputPath ? replacePath(replacePath(options.outputPath, workspaceConfig.workspaceRoot), projectConfig.root) : void 0,
|
|
44
45
|
copy: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.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"}
|
|
1
|
+
{"version":3,"file":"base-executor.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 additionalArgs: options.additionalArgs,\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,gBAAgB,QAAQ;KACxB,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"}
|
|
@@ -139,6 +139,13 @@ interface BaseExecutorSchema {
|
|
|
139
139
|
ignore?: string[];
|
|
140
140
|
dot?: boolean;
|
|
141
141
|
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Additional Arguments
|
|
144
|
+
*
|
|
145
|
+
* The additional arguments provided during execution of the command
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
additionalArgs?: Record<string, string>;
|
|
142
149
|
}
|
|
143
150
|
//#endregion
|
|
144
151
|
export { BaseExecutorSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.schema.d.mts","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"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,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;AAAAA"}
|
|
1
|
+
{"version":3,"file":"base-executor.schema.d.mts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,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,cAAAA,GAAiBrB,MAAAA;AAAAA"}
|
|
@@ -139,6 +139,13 @@ interface BaseExecutorSchema {
|
|
|
139
139
|
ignore?: string[];
|
|
140
140
|
dot?: boolean;
|
|
141
141
|
}>;
|
|
142
|
+
/**
|
|
143
|
+
* Additional Arguments
|
|
144
|
+
*
|
|
145
|
+
* The additional arguments provided during execution of the command
|
|
146
|
+
*
|
|
147
|
+
*/
|
|
148
|
+
additionalArgs?: Record<string, string>;
|
|
142
149
|
}
|
|
143
150
|
//#endregion
|
|
144
151
|
export { BaseExecutorSchema };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.schema.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"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,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;AAAAA"}
|
|
1
|
+
{"version":3,"file":"base-executor.schema.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","additionalArgs"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;EAShBG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,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,cAAAA,GAAiBrB,MAAAA;AAAAA"}
|
|
@@ -164,6 +164,14 @@
|
|
|
164
164
|
"description": "The `assets` values",
|
|
165
165
|
"id": "#assets",
|
|
166
166
|
"default": {}
|
|
167
|
+
},
|
|
168
|
+
"additionalArgs": {
|
|
169
|
+
"title": "Additional Arguments",
|
|
170
|
+
"type": "object",
|
|
171
|
+
"tsType": "Record<string, string>",
|
|
172
|
+
"description": "The additional arguments provided during execution of the command",
|
|
173
|
+
"id": "#additionalArgs",
|
|
174
|
+
"default": {}
|
|
167
175
|
}
|
|
168
176
|
},
|
|
169
177
|
"type": "object",
|
|
@@ -176,6 +184,7 @@
|
|
|
176
184
|
"external": [],
|
|
177
185
|
"noExternal": [],
|
|
178
186
|
"define": {},
|
|
179
|
-
"assets": {}
|
|
187
|
+
"assets": {},
|
|
188
|
+
"additionalArgs": {}
|
|
180
189
|
}
|
|
181
190
|
}
|
|
@@ -143,7 +143,17 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
|
143
143
|
type: "any",
|
|
144
144
|
tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
145
145
|
description: "The `assets` values"
|
|
146
|
-
} }
|
|
146
|
+
} },
|
|
147
|
+
additionalArgs: {
|
|
148
|
+
$schema: {
|
|
149
|
+
title: "Additional Arguments",
|
|
150
|
+
type: "object",
|
|
151
|
+
tsType: "Record<string, string>",
|
|
152
|
+
description: "The additional arguments provided during execution of the command"
|
|
153
|
+
},
|
|
154
|
+
$resolve: (val = {}) => val,
|
|
155
|
+
$default: {}
|
|
156
|
+
}
|
|
147
157
|
});
|
|
148
158
|
|
|
149
159
|
//#endregion
|
|
@@ -142,7 +142,17 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
142
142
|
type: "any",
|
|
143
143
|
tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
144
144
|
description: "The `assets` values"
|
|
145
|
-
} }
|
|
145
|
+
} },
|
|
146
|
+
additionalArgs: {
|
|
147
|
+
$schema: {
|
|
148
|
+
title: "Additional Arguments",
|
|
149
|
+
type: "object",
|
|
150
|
+
tsType: "Record<string, string>",
|
|
151
|
+
description: "The additional arguments provided during execution of the command"
|
|
152
|
+
},
|
|
153
|
+
$resolve: (val = {}) => val,
|
|
154
|
+
$default: {}
|
|
155
|
+
}
|
|
146
156
|
});
|
|
147
157
|
|
|
148
158
|
//#endregion
|
|
@@ -1 +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 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"}
|
|
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 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 additionalArgs: {\n $schema: {\n title: \"Additional Arguments\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description:\n \"The additional arguments provided during execution of the command\"\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,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;CACD,gBAAgB;EACd,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aACE;GACH;EACD,WAAW,MAA8B,EAAE,KAAK;EAChD,UAAU,EAAE;EACb;CACF,CAAC"}
|
|
@@ -144,6 +144,13 @@ interface BaseExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
}
|
|
148
155
|
//#endregion
|
|
149
156
|
//#region src/base/base-executor.d.ts
|
|
@@ -156,4 +163,4 @@ type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCo
|
|
|
156
163
|
};
|
|
157
164
|
//#endregion
|
|
158
165
|
export { PowerlinesExecutorContext as t };
|
|
159
|
-
//# sourceMappingURL=base-executor-
|
|
166
|
+
//# sourceMappingURL=base-executor-BCjwzmGL.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor-BCjwzmGL.d.mts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs"],"sources":["../../src/base/base-executor.schema.d.ts","../../src/base/base-executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACRD;EDkBCC,UAAAA;;;;;;;;;EAUAC,QAAAA;ECpBsC;;;;;;ED4BtCC,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,cAAAA,GAAiBrB,MAAAA;AAAAA;;;KC3HN,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"}
|
|
@@ -41,6 +41,7 @@ function withExecutor(command, executorFn) {
|
|
|
41
41
|
configFile: options.configFile,
|
|
42
42
|
description: projectConfig.metadata?.description,
|
|
43
43
|
projectType: projectConfig.projectType,
|
|
44
|
+
additionalArgs: options.additionalArgs,
|
|
44
45
|
output: {
|
|
45
46
|
path: options.outputPath ? (0, _stryke_path_replace.replacePath)((0, _stryke_path_replace.replacePath)(options.outputPath, workspaceConfig.workspaceRoot), projectConfig.root) : void 0,
|
|
46
47
|
copy: {
|
|
@@ -144,6 +144,13 @@ interface BaseExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
}
|
|
148
155
|
//#endregion
|
|
149
156
|
//#region src/base/base-executor.d.ts
|
|
@@ -156,4 +163,4 @@ type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCo
|
|
|
156
163
|
};
|
|
157
164
|
//#endregion
|
|
158
165
|
export { PowerlinesExecutorContext as t };
|
|
159
|
-
//# sourceMappingURL=base-executor-
|
|
166
|
+
//# sourceMappingURL=base-executor-BFScX_zo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor-BFScX_zo.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","additionalArgs"],"sources":["../../src/base/base-executor.schema.d.ts","../../src/base/base-executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;ACRD;EDkBCC,UAAAA;;;;;;;;;EAUAC,QAAAA;ECpBsC;;;;;;ED4BtCC,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,cAAAA,GAAiBrB,MAAAA;AAAAA;;;KC3HN,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"}
|
|
@@ -39,6 +39,7 @@ function withExecutor(command, executorFn) {
|
|
|
39
39
|
configFile: options.configFile,
|
|
40
40
|
description: projectConfig.metadata?.description,
|
|
41
41
|
projectType: projectConfig.projectType,
|
|
42
|
+
additionalArgs: options.additionalArgs,
|
|
42
43
|
output: {
|
|
43
44
|
path: options.outputPath ? replacePath(replacePath(options.outputPath, workspaceConfig.workspaceRoot), projectConfig.root) : void 0,
|
|
44
45
|
copy: {
|
|
@@ -72,4 +73,4 @@ ${error.stack}` : "Unknown error"}`);
|
|
|
72
73
|
|
|
73
74
|
//#endregion
|
|
74
75
|
export { withExecutor as t };
|
|
75
|
-
//# sourceMappingURL=base-executor-
|
|
76
|
+
//# sourceMappingURL=base-executor-DRGoWE4W.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-
|
|
1
|
+
{"version":3,"file":"base-executor-DRGoWE4W.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 additionalArgs: options.additionalArgs,\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,gBAAgB,QAAQ;KACxB,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"}
|
|
@@ -142,9 +142,19 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
142
142
|
type: "any",
|
|
143
143
|
tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
144
144
|
description: "The `assets` values"
|
|
145
|
-
} }
|
|
145
|
+
} },
|
|
146
|
+
additionalArgs: {
|
|
147
|
+
$schema: {
|
|
148
|
+
title: "Additional Arguments",
|
|
149
|
+
type: "object",
|
|
150
|
+
tsType: "Record<string, string>",
|
|
151
|
+
description: "The additional arguments provided during execution of the command"
|
|
152
|
+
},
|
|
153
|
+
$resolve: (val = {}) => val,
|
|
154
|
+
$default: {}
|
|
155
|
+
}
|
|
146
156
|
});
|
|
147
157
|
|
|
148
158
|
//#endregion
|
|
149
159
|
export { base_executor_untyped_default as t };
|
|
150
|
-
//# sourceMappingURL=base-executor.untyped-
|
|
160
|
+
//# sourceMappingURL=base-executor.untyped-2RZ9UgoR.mjs.map
|
package/dist/src/{base-executor.untyped-CLAuFeBO.mjs.map → base-executor.untyped-2RZ9UgoR.mjs.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor.untyped-
|
|
1
|
+
{"version":3,"file":"base-executor.untyped-2RZ9UgoR.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 additionalArgs: {\n $schema: {\n title: \"Additional Arguments\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description:\n \"The additional arguments provided during execution of the command\"\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,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;CACD,gBAAgB;EACd,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aACE;GACH;EACD,WAAW,MAA8B,EAAE,KAAK;EAChD,UAAU,EAAE;EACb;CACF,CAAC"}
|
|
@@ -143,7 +143,17 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
|
143
143
|
type: "any",
|
|
144
144
|
tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
|
|
145
145
|
description: "The `assets` values"
|
|
146
|
-
} }
|
|
146
|
+
} },
|
|
147
|
+
additionalArgs: {
|
|
148
|
+
$schema: {
|
|
149
|
+
title: "Additional Arguments",
|
|
150
|
+
type: "object",
|
|
151
|
+
tsType: "Record<string, string>",
|
|
152
|
+
description: "The additional arguments provided during execution of the command"
|
|
153
|
+
},
|
|
154
|
+
$resolve: (val = {}) => val,
|
|
155
|
+
$default: {}
|
|
156
|
+
}
|
|
147
157
|
});
|
|
148
158
|
|
|
149
159
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BCjwzmGL.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface BuildExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -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;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
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","additionalArgs","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;;;;;;;;;EAUAC,UAAAA;ECzBD;;;;;;;;EDmCCC,QAAAA;;;;;;;EAQAC,SAAAA;ECxC4B;AAe5B;;;;;;EDkCAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC5JqB,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-BFScX_zo.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface BuildExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -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;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
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","additionalArgs","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;;;;;;;;;EAUAC,UAAAA;ECzBD;;;;;;;;EDmCCC,QAAAA;;;;;;;EAQAC,SAAAA;ECxC4B;AAe5B;;;;;;EDkCAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC5JqB,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-BDAg4EU6.js');
|
|
4
4
|
let defu = require("defu");
|
|
5
5
|
defu = require_chunk.__toESM(defu);
|
|
6
6
|
|
|
@@ -150,6 +150,14 @@ export interface BuildExecutorSchema {
|
|
|
150
150
|
*/
|
|
151
151
|
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Additional Arguments
|
|
155
|
+
*
|
|
156
|
+
* The additional arguments provided during execution of the command
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
additionalArgs?: Record<string, string>,
|
|
160
|
+
|
|
153
161
|
/**
|
|
154
162
|
* Auto Install
|
|
155
163
|
*
|
|
@@ -165,6 +165,14 @@
|
|
|
165
165
|
"id": "#assets",
|
|
166
166
|
"default": {}
|
|
167
167
|
},
|
|
168
|
+
"additionalArgs": {
|
|
169
|
+
"title": "Additional Arguments",
|
|
170
|
+
"type": "object",
|
|
171
|
+
"tsType": "Record<string, string>",
|
|
172
|
+
"description": "The additional arguments provided during execution of the command",
|
|
173
|
+
"id": "#additionalArgs",
|
|
174
|
+
"default": {}
|
|
175
|
+
},
|
|
168
176
|
"autoInstall": {
|
|
169
177
|
"title": "Auto Install",
|
|
170
178
|
"type": "boolean",
|
|
@@ -207,6 +215,7 @@
|
|
|
207
215
|
"noExternal": [],
|
|
208
216
|
"define": {},
|
|
209
217
|
"assets": {},
|
|
218
|
+
"additionalArgs": {},
|
|
210
219
|
"entry": {}
|
|
211
220
|
}
|
|
212
221
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BCjwzmGL.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface CleanExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
}
|
|
148
155
|
//#endregion
|
|
149
156
|
//#region src/executors/clean/executor.d.ts
|
|
@@ -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;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;
|
|
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","additionalArgs"],"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;;;;;;;;AChBD;ED0BCC,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,cAAAA,GAAiBrB,MAAAA;AAAAA;;;iBCnII,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-BFScX_zo.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface CleanExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
}
|
|
148
155
|
//#endregion
|
|
149
156
|
//#region src/executors/clean/executor.d.ts
|
|
@@ -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;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;
|
|
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","additionalArgs"],"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;;;;;;;;AChBD;ED0BCC,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,cAAAA,GAAiBrB,MAAAA;AAAAA;;;iBCnII,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-BDAg4EU6.js');
|
|
3
3
|
|
|
4
4
|
//#region src/executors/clean/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
@@ -149,5 +149,13 @@ export interface CleanExecutorSchema {
|
|
|
149
149
|
*
|
|
150
150
|
*/
|
|
151
151
|
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Additional Arguments
|
|
155
|
+
*
|
|
156
|
+
* The additional arguments provided during execution of the command
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
additionalArgs?: Record<string, string>,
|
|
152
160
|
}
|
|
153
161
|
|
|
@@ -164,6 +164,14 @@
|
|
|
164
164
|
"description": "The `assets` values",
|
|
165
165
|
"id": "#assets",
|
|
166
166
|
"default": {}
|
|
167
|
+
},
|
|
168
|
+
"additionalArgs": {
|
|
169
|
+
"title": "Additional Arguments",
|
|
170
|
+
"type": "object",
|
|
171
|
+
"tsType": "Record<string, string>",
|
|
172
|
+
"description": "The additional arguments provided during execution of the command",
|
|
173
|
+
"id": "#additionalArgs",
|
|
174
|
+
"default": {}
|
|
167
175
|
}
|
|
168
176
|
},
|
|
169
177
|
"type": "object",
|
|
@@ -176,6 +184,7 @@
|
|
|
176
184
|
"external": [],
|
|
177
185
|
"noExternal": [],
|
|
178
186
|
"define": {},
|
|
179
|
-
"assets": {}
|
|
187
|
+
"assets": {},
|
|
188
|
+
"additionalArgs": {}
|
|
180
189
|
}
|
|
181
190
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
-
const require_base_executor_untyped = require('../../base-executor.untyped-
|
|
2
|
+
const require_base_executor_untyped = require('../../base-executor.untyped-C0BdZZs6.js');
|
|
3
3
|
let untyped = require("untyped");
|
|
4
4
|
|
|
5
5
|
//#region src/executors/clean/untyped.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as base_executor_untyped_default } from "../../base-executor.untyped-
|
|
1
|
+
import { t as base_executor_untyped_default } from "../../base-executor.untyped-2RZ9UgoR.mjs";
|
|
2
2
|
import { defineUntypedSchema } from "untyped";
|
|
3
3
|
|
|
4
4
|
//#region src/executors/clean/untyped.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BCjwzmGL.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface DocsExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["DocsExecutorSchema","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/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["DocsExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../../src/executors/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,UAAAA;EC1B+B;;;;;;;;EDoC/BC,QAAAA;;;;;;;EAQAC,SAAAA;ECnCA;;;;;;;ED4CAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBCnJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BFScX_zo.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface DocsExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["DocsExecutorSchema","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/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["DocsExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../../src/executors/docs/schema.d.ts","../../../../src/executors/docs/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,UAAAA;EC1B+B;;;;;;;;EDoC/BC,QAAAA;;;;;;;EAQAC,SAAAA;ECnCA;;;;;;;ED4CAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBCnJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -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-BDAg4EU6.js');
|
|
3
3
|
|
|
4
4
|
//#region src/executors/docs/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
@@ -150,6 +150,14 @@ export interface DocsExecutorSchema {
|
|
|
150
150
|
*/
|
|
151
151
|
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Additional Arguments
|
|
155
|
+
*
|
|
156
|
+
* The additional arguments provided during execution of the command
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
additionalArgs?: Record<string, string>,
|
|
160
|
+
|
|
153
161
|
/**
|
|
154
162
|
* Auto Install
|
|
155
163
|
*
|
|
@@ -165,6 +165,14 @@
|
|
|
165
165
|
"id": "#assets",
|
|
166
166
|
"default": {}
|
|
167
167
|
},
|
|
168
|
+
"additionalArgs": {
|
|
169
|
+
"title": "Additional Arguments",
|
|
170
|
+
"type": "object",
|
|
171
|
+
"tsType": "Record<string, string>",
|
|
172
|
+
"description": "The additional arguments provided during execution of the command",
|
|
173
|
+
"id": "#additionalArgs",
|
|
174
|
+
"default": {}
|
|
175
|
+
},
|
|
168
176
|
"autoInstall": {
|
|
169
177
|
"title": "Auto Install",
|
|
170
178
|
"type": "boolean",
|
|
@@ -188,6 +196,7 @@
|
|
|
188
196
|
"external": [],
|
|
189
197
|
"noExternal": [],
|
|
190
198
|
"define": {},
|
|
191
|
-
"assets": {}
|
|
199
|
+
"assets": {},
|
|
200
|
+
"additionalArgs": {}
|
|
192
201
|
}
|
|
193
202
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BCjwzmGL.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface LintExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["LintExecutorSchema","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/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["LintExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,UAAAA;EC1B+B;;;;;;;;EDoC/BC,QAAAA;;;;;;;EAQAC,SAAAA;ECnCA;;;;;;;ED4CAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBCnJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BFScX_zo.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface LintExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["LintExecutorSchema","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/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["LintExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../../src/executors/lint/schema.d.ts","../../../../src/executors/lint/executor.ts"],"mappings":";;;;;;;;UAIiBA,kBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,UAAAA;EC1B+B;;;;;;;;EDoC/BC,QAAAA;;;;;;;EAQAC,SAAAA;ECnCA;;;;;;;ED4CAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBCnJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,SAAkC,kBAAA,GAC3C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,kBAAA"}
|
|
@@ -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-BDAg4EU6.js');
|
|
3
3
|
|
|
4
4
|
//#region src/executors/lint/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
@@ -150,6 +150,14 @@ export interface LintExecutorSchema {
|
|
|
150
150
|
*/
|
|
151
151
|
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Additional Arguments
|
|
155
|
+
*
|
|
156
|
+
* The additional arguments provided during execution of the command
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
additionalArgs?: Record<string, string>,
|
|
160
|
+
|
|
153
161
|
/**
|
|
154
162
|
* Auto Install
|
|
155
163
|
*
|
|
@@ -165,6 +165,14 @@
|
|
|
165
165
|
"id": "#assets",
|
|
166
166
|
"default": {}
|
|
167
167
|
},
|
|
168
|
+
"additionalArgs": {
|
|
169
|
+
"title": "Additional Arguments",
|
|
170
|
+
"type": "object",
|
|
171
|
+
"tsType": "Record<string, string>",
|
|
172
|
+
"description": "The additional arguments provided during execution of the command",
|
|
173
|
+
"id": "#additionalArgs",
|
|
174
|
+
"default": {}
|
|
175
|
+
},
|
|
168
176
|
"autoInstall": {
|
|
169
177
|
"title": "Auto Install",
|
|
170
178
|
"type": "boolean",
|
|
@@ -188,6 +196,7 @@
|
|
|
188
196
|
"external": [],
|
|
189
197
|
"noExternal": [],
|
|
190
198
|
"define": {},
|
|
191
|
-
"assets": {}
|
|
199
|
+
"assets": {},
|
|
200
|
+
"additionalArgs": {}
|
|
192
201
|
}
|
|
193
202
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BCjwzmGL.mjs";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface PrepareExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,UAAAA;ECzB+B;;;;;;;;EDmC/BC,QAAAA;;;;;;;EAQAC,SAAAA;ECzBA;;;;;;;EDkCAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,YAAqC,qBAAA,GAC9C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesExecutorContext } from "../../base-executor-
|
|
1
|
+
import { t as PowerlinesExecutorContext } from "../../base-executor-BFScX_zo.js";
|
|
2
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
3
3
|
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
4
|
import { PowerlinesEngine } from "powerlines";
|
|
@@ -144,6 +144,13 @@ interface PrepareExecutorSchema {
|
|
|
144
144
|
ignore?: string[];
|
|
145
145
|
dot?: boolean;
|
|
146
146
|
}>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional Arguments
|
|
149
|
+
*
|
|
150
|
+
* The additional arguments provided during execution of the command
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
additionalArgs?: Record<string, string>;
|
|
147
154
|
/**
|
|
148
155
|
* Auto Install
|
|
149
156
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","autoInstall","skipCache"],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":["PrepareExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","copyPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;;;;;;;;;EAUAC,UAAAA;ECzB+B;;;;;;;;EDmC/BC,QAAAA;;;;;;;EAQAC,SAAAA;ECzBA;;;;;;;EDkCAC,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,cAAAA,GAAiBrB,MAAAA;;;;;;;EAQjBsB,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;iBClJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,YAAqC,qBAAA,GAC9C,GAAA,EAAK,gBAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,qBAAA"}
|
|
@@ -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-BDAg4EU6.js');
|
|
4
4
|
let defu = require("defu");
|
|
5
5
|
defu = require_chunk.__toESM(defu);
|
|
6
6
|
|
|
@@ -150,6 +150,14 @@ export interface PrepareExecutorSchema {
|
|
|
150
150
|
*/
|
|
151
151
|
assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Additional Arguments
|
|
155
|
+
*
|
|
156
|
+
* The additional arguments provided during execution of the command
|
|
157
|
+
*
|
|
158
|
+
*/
|
|
159
|
+
additionalArgs?: Record<string, string>,
|
|
160
|
+
|
|
153
161
|
/**
|
|
154
162
|
* Auto Install
|
|
155
163
|
*
|
|
@@ -165,6 +165,14 @@
|
|
|
165
165
|
"id": "#assets",
|
|
166
166
|
"default": {}
|
|
167
167
|
},
|
|
168
|
+
"additionalArgs": {
|
|
169
|
+
"title": "Additional Arguments",
|
|
170
|
+
"type": "object",
|
|
171
|
+
"tsType": "Record<string, string>",
|
|
172
|
+
"description": "The additional arguments provided during execution of the command",
|
|
173
|
+
"id": "#additionalArgs",
|
|
174
|
+
"default": {}
|
|
175
|
+
},
|
|
168
176
|
"autoInstall": {
|
|
169
177
|
"title": "Auto Install",
|
|
170
178
|
"type": "boolean",
|
|
@@ -188,6 +196,7 @@
|
|
|
188
196
|
"external": [],
|
|
189
197
|
"noExternal": [],
|
|
190
198
|
"define": {},
|
|
191
|
-
"assets": {}
|
|
199
|
+
"assets": {},
|
|
200
|
+
"additionalArgs": {}
|
|
192
201
|
}
|
|
193
202
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_chunk = require('../../chunk-BE-pF4vm.js');
|
|
2
|
-
const require_base_executor_untyped = require('../../base-executor.untyped-
|
|
2
|
+
const require_base_executor_untyped = require('../../base-executor.untyped-C0BdZZs6.js');
|
|
3
3
|
let untyped = require("untyped");
|
|
4
4
|
|
|
5
5
|
//#region src/executors/prepare/untyped.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as base_executor_untyped_default } from "../../base-executor.untyped-
|
|
1
|
+
import { t as base_executor_untyped_default } from "../../base-executor.untyped-2RZ9UgoR.mjs";
|
|
2
2
|
import { defineUntypedSchema } from "untyped";
|
|
3
3
|
|
|
4
4
|
//#region src/executors/prepare/untyped.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/nx",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A Nx plugin to support Powerlines development in Nx monorepos.",
|
|
6
6
|
"repository": {
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"eslint-flat-config-utils": "^2.1.4",
|
|
197
197
|
"jsonc-eslint-parser": "^2.4.2",
|
|
198
198
|
"nx": "22.7.0",
|
|
199
|
-
"powerlines": "^0.43.
|
|
199
|
+
"powerlines": "^0.43.21",
|
|
200
200
|
"untyped": "^1.5.2"
|
|
201
201
|
},
|
|
202
202
|
"peerDependencies": { "nx": ">=22.7.0", "powerlines": ">=0.43.12" },
|
|
@@ -207,5 +207,5 @@
|
|
|
207
207
|
"publishConfig": { "access": "public" },
|
|
208
208
|
"executors": "./executors.json",
|
|
209
209
|
"generators": "./generators.json",
|
|
210
|
-
"gitHead": "
|
|
210
|
+
"gitHead": "3dd0c7fb5e5945e3b558163711f7eaee19f0ce01"
|
|
211
211
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-C6crUvpJ.d.mts","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;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;EA2GsF;;;;ACnHvF;;;;EDkBCC,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;AAAAA;;;KCnHxE,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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-ChK_tQvQ.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;;;;;;;EASCG,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;EAURK,QAAAA;EA2GsF;;;;ACnHvF;;;;EDkBCC,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;AAAAA;;;KCnHxE,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"}
|