@powerlines/nx 0.11.283 → 0.11.287

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.
Files changed (45) hide show
  1. package/dist/src/base/base-executor.js +4 -5
  2. package/dist/src/base/base-executor.mjs +4 -5
  3. package/dist/src/base/base-executor.mjs.map +1 -1
  4. package/dist/src/base/base-executor.schema.d.mts +20 -1
  5. package/dist/src/base/base-executor.schema.d.mts.map +1 -1
  6. package/dist/src/base/base-executor.schema.d.ts +20 -1
  7. package/dist/src/base/base-executor.schema.d.ts.map +1 -1
  8. package/dist/src/base/base-executor.schema.json +17 -1
  9. package/dist/src/base/base-executor.untyped.js +16 -1
  10. package/dist/src/base/base-executor.untyped.mjs +16 -1
  11. package/dist/src/base/base-executor.untyped.mjs.map +1 -1
  12. package/dist/src/executors/build/executor.d.mts +20 -1
  13. package/dist/src/executors/build/executor.d.mts.map +1 -1
  14. package/dist/src/executors/build/executor.d.ts +20 -1
  15. package/dist/src/executors/build/executor.d.ts.map +1 -1
  16. package/dist/src/executors/build/schema.d.ts +22 -1
  17. package/dist/src/executors/build/schema.json +17 -1
  18. package/dist/src/executors/clean/executor.d.mts +20 -1
  19. package/dist/src/executors/clean/executor.d.mts.map +1 -1
  20. package/dist/src/executors/clean/executor.d.ts +20 -1
  21. package/dist/src/executors/clean/executor.d.ts.map +1 -1
  22. package/dist/src/executors/clean/schema.d.ts +22 -1
  23. package/dist/src/executors/clean/schema.json +17 -1
  24. package/dist/src/executors/docs/executor.d.mts +20 -1
  25. package/dist/src/executors/docs/executor.d.mts.map +1 -1
  26. package/dist/src/executors/docs/executor.d.ts +20 -1
  27. package/dist/src/executors/docs/executor.d.ts.map +1 -1
  28. package/dist/src/executors/docs/schema.d.ts +22 -1
  29. package/dist/src/executors/docs/schema.json +17 -1
  30. package/dist/src/executors/lint/executor.d.mts +20 -1
  31. package/dist/src/executors/lint/executor.d.mts.map +1 -1
  32. package/dist/src/executors/lint/executor.d.ts +20 -1
  33. package/dist/src/executors/lint/executor.d.ts.map +1 -1
  34. package/dist/src/executors/lint/schema.d.ts +22 -1
  35. package/dist/src/executors/lint/schema.json +17 -1
  36. package/dist/src/executors/prepare/executor.d.mts +20 -1
  37. package/dist/src/executors/prepare/executor.d.mts.map +1 -1
  38. package/dist/src/executors/prepare/executor.d.ts +20 -1
  39. package/dist/src/executors/prepare/executor.d.ts.map +1 -1
  40. package/dist/src/executors/prepare/schema.d.ts +22 -1
  41. package/dist/src/executors/prepare/schema.json +17 -1
  42. package/dist/src/helpers/plugin-utilities.js +20 -26
  43. package/dist/src/helpers/plugin-utilities.mjs +20 -26
  44. package/dist/src/helpers/plugin-utilities.mjs.map +1 -1
  45. package/package.json +16 -16
@@ -25,9 +25,11 @@ function withExecutor(command, executorFn) {
25
25
  if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error("The executor requires `projectsConfigurations` on the context object.");
26
26
  const projectConfig = context.projectsConfigurations.projects[context.projectName];
27
27
  const api = await powerlines.default.from(workspaceConfig.workspaceRoot, (0, defu.default)({
28
+ configFile: options.configFile ?? options.config,
28
29
  input: options.input,
29
30
  output: {
30
- outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath,
31
+ path: options.outputPath,
32
+ publishPath: options.publishPath,
31
33
  format: options.format,
32
34
  sourceMap: options.sourceMap
33
35
  },
@@ -52,7 +54,7 @@ function withExecutor(command, executorFn) {
52
54
  workspaceConfig,
53
55
  inlineConfig: {
54
56
  command,
55
- configFile: options.configFile
57
+ configFile: options.configFile || options.config
56
58
  },
57
59
  command
58
60
  }, context), api));
@@ -67,9 +69,6 @@ ${error.stack}` : "Unknown error"}`);
67
69
  }, {
68
70
  skipReadingConfig: false,
69
71
  hooks: { applyDefaultOptions: (options) => {
70
- if (options.mode !== "development" && options.mode !== "test") options.mode = "production";
71
- options.outputPath ??= "dist/{projectRoot}";
72
- options.configFile ??= "{projectRoot}/powerlines.config.ts";
73
72
  return options;
74
73
  } }
75
74
  });
@@ -21,9 +21,11 @@ function withExecutor(command, executorFn) {
21
21
  if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error("The executor requires `projectsConfigurations` on the context object.");
22
22
  const projectConfig = context.projectsConfigurations.projects[context.projectName];
23
23
  const api = await PowerlinesAPI.from(workspaceConfig.workspaceRoot, defu({
24
+ configFile: options.configFile ?? options.config,
24
25
  input: options.input,
25
26
  output: {
26
- outputPath: options.outputPath ?? projectConfig.targets?.build?.options?.outputPath,
27
+ path: options.outputPath,
28
+ publishPath: options.publishPath,
27
29
  format: options.format,
28
30
  sourceMap: options.sourceMap
29
31
  },
@@ -48,7 +50,7 @@ function withExecutor(command, executorFn) {
48
50
  workspaceConfig,
49
51
  inlineConfig: {
50
52
  command,
51
- configFile: options.configFile
53
+ configFile: options.configFile || options.config
52
54
  },
53
55
  command
54
56
  }, context), api));
@@ -63,9 +65,6 @@ ${error.stack}` : "Unknown error"}`);
63
65
  }, {
64
66
  skipReadingConfig: false,
65
67
  hooks: { applyDefaultOptions: (options) => {
66
- if (options.mode !== "development" && options.mode !== "test") options.mode = "production";
67
- options.outputPath ??= "dist/{projectRoot}";
68
- options.configFile ??= "{projectRoot}/powerlines.config.ts";
69
68
  return options;
70
69
  } }
71
70
  });
@@ -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 { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport type {\n InitialUserConfig,\n InlineConfig,\n PowerlinesCommand\n} from \"powerlines\";\nimport PowerlinesAPI 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: PowerlinesAPI\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 api = await PowerlinesAPI.from(\n workspaceConfig.workspaceRoot,\n defu(\n {\n input: options.input,\n output: {\n outputPath:\n options.outputPath ??\n projectConfig.targets?.build?.options?.outputPath,\n format: options.format,\n sourceMap: options.sourceMap\n },\n resolve: {\n external: options.external,\n noExternal: options.noExternal,\n skipNodeModulesBundle: options.skipNodeModulesBundle\n },\n root: projectConfig.root,\n projectType: projectConfig.projectType,\n sourceRoot: projectConfig.sourceRoot,\n tsconfig: options.tsconfig,\n platform: options.platform,\n define: options.define,\n logLevel: options.logLevel,\n mode: options.mode\n },\n options\n ) as InitialUserConfig\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n inlineConfig: {\n command,\n configFile: options.configFile\n },\n command\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 if (options.mode !== \"development\" && options.mode !== \"test\") {\n options.mode = \"production\";\n }\n\n options.outputPath ??= \"dist/{projectRoot}\";\n options.configFile ??= \"{projectRoot}/powerlines.config.ts\";\n\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAsDA,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,MAAM,MAAM,cAAc,KAC9B,gBAAgB,eAChB,KACE;GACE,OAAO,QAAQ;GACf,QAAQ;IACN,YACE,QAAQ,cACR,cAAc,SAAS,OAAO,SAAS;IACzC,QAAQ,QAAQ;IAChB,WAAW,QAAQ;IACpB;GACD,SAAS;IACP,UAAU,QAAQ;IAClB,YAAY,QAAQ;IACpB,uBAAuB,QAAQ;IAChC;GACD,MAAM,cAAc;GACpB,aAAa,cAAc;GAC3B,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,QAAQ,QAAQ;GAChB,UAAU,QAAQ;GAClB,MAAM,QAAQ;GACf,EACD,QACD,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ;KACrB;IACD;IACD,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,OAAI,QAAQ,SAAS,iBAAiB,QAAQ,SAAS,OACrD,SAAQ,OAAO;AAGjB,WAAQ,eAAe;AACvB,WAAQ,eAAe;AAEvB,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 { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport type {\n InitialUserConfig,\n InlineConfig,\n PowerlinesCommand\n} from \"powerlines\";\nimport PowerlinesAPI 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: PowerlinesAPI\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 api = await PowerlinesAPI.from(\n workspaceConfig.workspaceRoot,\n defu(\n {\n configFile: options.configFile ?? options.config,\n input: options.input,\n output: {\n path: options.outputPath,\n publishPath: options.publishPath,\n format: options.format,\n sourceMap: options.sourceMap\n },\n resolve: {\n external: options.external,\n noExternal: options.noExternal,\n skipNodeModulesBundle: options.skipNodeModulesBundle\n },\n root: projectConfig.root,\n projectType: projectConfig.projectType,\n sourceRoot: projectConfig.sourceRoot,\n tsconfig: options.tsconfig,\n platform: options.platform,\n define: options.define,\n logLevel: options.logLevel,\n mode: options.mode\n },\n options\n ) as InitialUserConfig\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n inlineConfig: {\n command,\n configFile: options.configFile || options.config\n },\n command\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":";;;;;;;;;;;;;;;;;AAsDA,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,MAAM,MAAM,cAAc,KAC9B,gBAAgB,eAChB,KACE;GACE,YAAY,QAAQ,cAAc,QAAQ;GAC1C,OAAO,QAAQ;GACf,QAAQ;IACN,MAAM,QAAQ;IACd,aAAa,QAAQ;IACrB,QAAQ,QAAQ;IAChB,WAAW,QAAQ;IACpB;GACD,SAAS;IACP,UAAU,QAAQ;IAClB,YAAY,QAAQ;IACpB,uBAAuB,QAAQ;IAChC;GACD,MAAM,cAAc;GACpB,aAAa,cAAc;GAC3B,YAAY,cAAc;GAC1B,UAAU,QAAQ;GAClB,UAAU,QAAQ;GAClB,QAAQ,QAAQ;GAChB,UAAU,QAAQ;GAClB,MAAM,QAAQ;GACf,EACD,QACD,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ,cAAc,QAAQ;KAC3C;IACD;IACD,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"}
@@ -5,7 +5,17 @@ interface BaseExecutorSchema {
5
5
  /**
6
6
  * Powerlines Configuration File
7
7
  *
8
- * The path to the Powerlines configuration file
8
+ * The path to the Powerlines configuration file. Alias for `configFile`.
9
+ *
10
+ * @default "{projectRoot}/powerlines.config.ts"
11
+ *
12
+ * @format path
13
+ */
14
+ config?: string;
15
+ /**
16
+ * Powerlines Configuration File
17
+ *
18
+ * The path to the Powerlines configuration file. Alias for `config`.
9
19
  *
10
20
  * @default "{projectRoot}/powerlines.config.ts"
11
21
  *
@@ -40,6 +50,15 @@ interface BaseExecutorSchema {
40
50
  * @format path
41
51
  */
42
52
  outputPath?: string;
53
+ /**
54
+ * Publish Path
55
+ *
56
+ * The path to the publish directory for the build artifacts
57
+ *
58
+ *
59
+ * @format path
60
+ */
61
+ publishPath?: string;
43
62
  /**
44
63
  * Sourcemap
45
64
  *
@@ -1 +1 @@
1
- {"version":3,"file":"base-executor.schema.d.mts","names":["BaseExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAASP,KAAAA;;;;;;;;;;EAWTQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;AAAAA"}
1
+ {"version":3,"file":"base-executor.schema.d.mts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","publishPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;AAAAA"}
@@ -5,7 +5,17 @@ interface BaseExecutorSchema {
5
5
  /**
6
6
  * Powerlines Configuration File
7
7
  *
8
- * The path to the Powerlines configuration file
8
+ * The path to the Powerlines configuration file. Alias for `configFile`.
9
+ *
10
+ * @default "{projectRoot}/powerlines.config.ts"
11
+ *
12
+ * @format path
13
+ */
14
+ config?: string;
15
+ /**
16
+ * Powerlines Configuration File
17
+ *
18
+ * The path to the Powerlines configuration file. Alias for `config`.
9
19
  *
10
20
  * @default "{projectRoot}/powerlines.config.ts"
11
21
  *
@@ -40,6 +50,15 @@ interface BaseExecutorSchema {
40
50
  * @format path
41
51
  */
42
52
  outputPath?: string;
53
+ /**
54
+ * Publish Path
55
+ *
56
+ * The path to the publish directory for the build artifacts
57
+ *
58
+ *
59
+ * @format path
60
+ */
61
+ publishPath?: string;
43
62
  /**
44
63
  * Sourcemap
45
64
  *
@@ -1 +1 @@
1
- {"version":3,"file":"base-executor.schema.d.ts","names":["BaseExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAASP,KAAAA;;;;;;;;;;EAWTQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;AAAAA"}
1
+ {"version":3,"file":"base-executor.schema.d.ts","names":["BaseExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","publishPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../src/base/base-executor.schema.d.ts"],"mappings":";;;UAIiBA,kBAAAA;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;AAAAA"}
@@ -4,11 +4,19 @@
4
4
  "description": "A shared/base schema type definition for Powerlines executors",
5
5
  "required": [],
6
6
  "properties": {
7
+ "config": {
8
+ "title": "Powerlines Configuration File",
9
+ "type": "string",
10
+ "format": "path",
11
+ "description": "The path to the Powerlines configuration file. Alias for `configFile`.",
12
+ "id": "#config",
13
+ "default": "{projectRoot}/powerlines.config.ts"
14
+ },
7
15
  "configFile": {
8
16
  "title": "Powerlines Configuration File",
9
17
  "type": "string",
10
18
  "format": "path",
11
- "description": "The path to the Powerlines configuration file",
19
+ "description": "The path to the Powerlines configuration file. Alias for `config`.",
12
20
  "id": "#configFile",
13
21
  "default": "{projectRoot}/powerlines.config.ts"
14
22
  },
@@ -37,6 +45,13 @@
37
45
  "description": "The path to the output directory for the build artifacts",
38
46
  "id": "#outputPath"
39
47
  },
48
+ "publishPath": {
49
+ "title": "Publish Path",
50
+ "type": "string",
51
+ "format": "path",
52
+ "description": "The path to the publish directory for the build artifacts",
53
+ "id": "#publishPath"
54
+ },
40
55
  "sourceMap": {
41
56
  "title": "Sourcemap",
42
57
  "type": "boolean",
@@ -137,6 +152,7 @@
137
152
  },
138
153
  "type": "object",
139
154
  "default": {
155
+ "config": "{projectRoot}/powerlines.config.ts",
140
156
  "configFile": "{projectRoot}/powerlines.config.ts",
141
157
  "tsconfig": "{projectRoot}/tsconfig.json",
142
158
  "format": [
@@ -9,12 +9,21 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
9
9
  description: "A shared/base schema type definition for Powerlines executors",
10
10
  required: []
11
11
  },
12
+ config: {
13
+ $schema: {
14
+ title: "Powerlines Configuration File",
15
+ type: "string",
16
+ format: "path",
17
+ description: "The path to the Powerlines configuration file. Alias for `configFile`."
18
+ },
19
+ $default: "{projectRoot}/powerlines.config.ts"
20
+ },
12
21
  configFile: {
13
22
  $schema: {
14
23
  title: "Powerlines Configuration File",
15
24
  type: "string",
16
25
  format: "path",
17
- description: "The path to the Powerlines configuration file"
26
+ description: "The path to the Powerlines configuration file. Alias for `config`."
18
27
  },
19
28
  $default: "{projectRoot}/powerlines.config.ts"
20
29
  },
@@ -40,6 +49,12 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
40
49
  format: "path",
41
50
  description: "The path to the output directory for the build artifacts"
42
51
  } },
52
+ publishPath: { $schema: {
53
+ title: "Publish Path",
54
+ type: "string",
55
+ format: "path",
56
+ description: "The path to the publish directory for the build artifacts"
57
+ } },
43
58
  sourceMap: { $schema: {
44
59
  title: "Sourcemap",
45
60
  type: "boolean",
@@ -8,12 +8,21 @@ var base_executor_untyped_default = defineUntypedSchema({
8
8
  description: "A shared/base schema type definition for Powerlines executors",
9
9
  required: []
10
10
  },
11
+ config: {
12
+ $schema: {
13
+ title: "Powerlines Configuration File",
14
+ type: "string",
15
+ format: "path",
16
+ description: "The path to the Powerlines configuration file. Alias for `configFile`."
17
+ },
18
+ $default: "{projectRoot}/powerlines.config.ts"
19
+ },
11
20
  configFile: {
12
21
  $schema: {
13
22
  title: "Powerlines Configuration File",
14
23
  type: "string",
15
24
  format: "path",
16
- description: "The path to the Powerlines configuration file"
25
+ description: "The path to the Powerlines configuration file. Alias for `config`."
17
26
  },
18
27
  $default: "{projectRoot}/powerlines.config.ts"
19
28
  },
@@ -39,6 +48,12 @@ var base_executor_untyped_default = defineUntypedSchema({
39
48
  format: "path",
40
49
  description: "The path to the output directory for the build artifacts"
41
50
  } },
51
+ publishPath: { $schema: {
52
+ title: "Publish Path",
53
+ type: "string",
54
+ format: "path",
55
+ description: "The path to the publish directory for the build artifacts"
56
+ } },
42
57
  sourceMap: { $schema: {
43
58
  title: "Sourcemap",
44
59
  type: "boolean",
@@ -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 configFile: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the Powerlines configuration file\"\n },\n $default: \"{projectRoot}/powerlines.config.ts\"\n },\n input: {\n $schema: {\n title: \"Input Entry File(s)\",\n format: \"path\",\n type: \"array\",\n description: \"The entry file(s) that serve as the input for the project\",\n items: { type: \"string\" }\n }\n },\n tsconfig: {\n $schema: {\n title: \"TSConfig Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the tsconfig file\"\n },\n $default: \"{projectRoot}/tsconfig.json\"\n },\n outputPath: {\n $schema: {\n title: \"Output Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the output directory for the build artifacts\"\n }\n },\n sourceMap: {\n $schema: {\n title: \"Sourcemap\",\n type: \"boolean\",\n description: \"Generate a sourcemap\"\n }\n },\n format: {\n $schema: {\n title: \"Format\",\n type: \"array\",\n description: \"The format to build\",\n items: {\n type: \"string\",\n enum: [\"cjs\", \"esm\", \"iife\"]\n }\n },\n $resolve: (val: string[] = [\"cjs\", \"esm\"]) => ([] as string[]).concat(val)\n },\n platform: {\n $schema: {\n title: \"Platform\",\n type: \"string\",\n description: \"The platform to build\",\n enum: [\"neutral\", \"node\", \"browser\"]\n },\n $default: \"neutral\"\n },\n external: {\n $schema: {\n title: \"External\",\n type: \"array\",\n description: \"The external dependencies\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n noExternal: {\n $schema: {\n title: \"No External\",\n type: \"array\",\n description: \"The dependencies that should not be treated as external\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n skipNodeModulesBundle: {\n $schema: {\n title: \"Skip Node Modules Bundle\",\n type: \"boolean\",\n description:\n \"Skip bundling node_modules during the build process (if required)\"\n }\n },\n mode: {\n $schema: {\n title: \"Mode\",\n type: \"string\",\n description: \"The build mode\",\n enum: [\"development\", \"test\", \"production\"]\n }\n },\n logLevel: {\n $schema: {\n title: \"Log Level\",\n type: \"string\",\n description: \"The log level to use for the build process\",\n enum: [\n \"fatal\",\n \"error\",\n \"warn\",\n \"success\",\n \"info\",\n \"debug\",\n \"trace\",\n \"silent\"\n ]\n }\n },\n define: {\n $schema: {\n title: \"Define\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description: \"The `define` values\"\n },\n $resolve: (val: Record<string, string> = {}) => val,\n $default: {}\n }\n});\n"],"mappings":";;;AAoBA,oCAAe,oBAAoB;CACjC,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aACE;EACF,UAAU,EAAE;EACb;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,UAAU;EACX;CACD,OAAO,EACL,SAAS;EACP,OAAO;EACP,QAAQ;EACR,MAAM;EACN,aAAa;EACb,OAAO,EAAE,MAAM,UAAU;EAC1B,EACF;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,UAAU;EACX;CACD,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;EACd,EACF;CACD,WAAW,EACT,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACd,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,OAAO;IACL,MAAM;IACN,MAAM;KAAC;KAAO;KAAO;KAAO;IAC7B;GACF;EACD,WAAW,MAAgB,CAAC,OAAO,MAAM,KAAM,EAAE,CAAc,OAAO,IAAI;EAC3E;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,MAAM;IAAC;IAAW;IAAQ;IAAU;GACrC;EACD,UAAU;EACX;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,uBAAuB,EACrB,SAAS;EACP,OAAO;EACP,MAAM;EACN,aACE;EACH,EACF;CACD,MAAM,EACJ,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GAAC;GAAe;GAAQ;GAAa;EAC5C,EACF;CACD,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EACF,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,WAAW,MAA8B,EAAE,KAAK;EAChD,UAAU,EAAE;EACb;CACF,CAAC"}
1
+ {"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 $default: \"{projectRoot}/powerlines.config.ts\"\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 $default: \"{projectRoot}/powerlines.config.ts\"\n },\n input: {\n $schema: {\n title: \"Input Entry File(s)\",\n format: \"path\",\n type: \"array\",\n description: \"The entry file(s) that serve as the input for the project\",\n items: { type: \"string\" }\n }\n },\n tsconfig: {\n $schema: {\n title: \"TSConfig Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the tsconfig file\"\n },\n $default: \"{projectRoot}/tsconfig.json\"\n },\n outputPath: {\n $schema: {\n title: \"Output Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the output directory for the build artifacts\"\n }\n },\n publishPath: {\n $schema: {\n title: \"Publish Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the publish directory for the build artifacts\"\n }\n },\n sourceMap: {\n $schema: {\n title: \"Sourcemap\",\n type: \"boolean\",\n description: \"Generate a sourcemap\"\n }\n },\n format: {\n $schema: {\n title: \"Format\",\n type: \"array\",\n description: \"The format to build\",\n items: {\n type: \"string\",\n enum: [\"cjs\", \"esm\", \"iife\"]\n }\n },\n $resolve: (val: string[] = [\"cjs\", \"esm\"]) => ([] as string[]).concat(val)\n },\n platform: {\n $schema: {\n title: \"Platform\",\n type: \"string\",\n description: \"The platform to build\",\n enum: [\"neutral\", \"node\", \"browser\"]\n },\n $default: \"neutral\"\n },\n external: {\n $schema: {\n title: \"External\",\n type: \"array\",\n description: \"The external dependencies\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n noExternal: {\n $schema: {\n title: \"No External\",\n type: \"array\",\n description: \"The dependencies that should not be treated as external\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n skipNodeModulesBundle: {\n $schema: {\n title: \"Skip Node Modules Bundle\",\n type: \"boolean\",\n description:\n \"Skip bundling node_modules during the build process (if required)\"\n }\n },\n mode: {\n $schema: {\n title: \"Mode\",\n type: \"string\",\n description: \"The build mode\",\n enum: [\"development\", \"test\", \"production\"]\n }\n },\n logLevel: {\n $schema: {\n title: \"Log Level\",\n type: \"string\",\n description: \"The log level to use for the build process\",\n enum: [\n \"fatal\",\n \"error\",\n \"warn\",\n \"success\",\n \"info\",\n \"debug\",\n \"trace\",\n \"silent\"\n ]\n }\n },\n define: {\n $schema: {\n title: \"Define\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description: \"The `define` values\"\n },\n $resolve: (val: Record<string, string> = {}) => val,\n $default: {}\n }\n});\n"],"mappings":";;;AAoBA,oCAAe,oBAAoB;CACjC,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aACE;EACF,UAAU,EAAE;EACb;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aACE;GACH;EACD,UAAU;EACX;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aACE;GACH;EACD,UAAU;EACX;CACD,OAAO,EACL,SAAS;EACP,OAAO;EACP,QAAQ;EACR,MAAM;EACN,aAAa;EACb,OAAO,EAAE,MAAM,UAAU;EAC1B,EACF;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,UAAU;EACX;CACD,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;EACd,EACF;CACD,aAAa,EACX,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;EACd,EACF;CACD,WAAW,EACT,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACd,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,OAAO;IACL,MAAM;IACN,MAAM;KAAC;KAAO;KAAO;KAAO;IAC7B;GACF;EACD,WAAW,MAAgB,CAAC,OAAO,MAAM,KAAM,EAAE,CAAc,OAAO,IAAI;EAC3E;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,MAAM;IAAC;IAAW;IAAQ;IAAU;GACrC;EACD,UAAU;EACX;CACD,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACd;EACD,WAAW,MAAgB,EAAE,KAAM,EAAE,CAAc,OAAO,IAAI;EAC/D;CACD,uBAAuB,EACrB,SAAS;EACP,OAAO;EACP,MAAM;EACN,aACE;EACH,EACF;CACD,MAAM,EACJ,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GAAC;GAAe;GAAQ;GAAa;EAC5C,EACF;CACD,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACD;EACF,EACF;CACD,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;GACd;EACD,WAAW,MAA8B,EAAE,KAAK;EAChD,UAAU,EAAE;EACb;CACF,CAAC"}
@@ -10,7 +10,17 @@ interface BuildExecutorSchema {
10
10
  /**
11
11
  * Powerlines Configuration File
12
12
  *
13
- * The path to the Powerlines configuration file
13
+ * The path to the Powerlines configuration file. Alias for `configFile`.
14
+ *
15
+ * @default "{projectRoot}/powerlines.config.ts"
16
+ *
17
+ * @format path
18
+ */
19
+ config?: string;
20
+ /**
21
+ * Powerlines Configuration File
22
+ *
23
+ * The path to the Powerlines configuration file. Alias for `config`.
14
24
  *
15
25
  * @default "{projectRoot}/powerlines.config.ts"
16
26
  *
@@ -45,6 +55,15 @@ interface BuildExecutorSchema {
45
55
  * @format path
46
56
  */
47
57
  outputPath?: string;
58
+ /**
59
+ * Publish Path
60
+ *
61
+ * The path to the publish directory for the build artifacts
62
+ *
63
+ *
64
+ * @format path
65
+ */
66
+ publishPath?: string;
48
67
  /**
49
68
  * Sourcemap
50
69
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;;;;ACND;;;EDgBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;;ACNA;EDeAC,MAAAA,GAASP,KAAAA;ECbqB;;;;;;;;;EDwB9BQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC1HqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.d.mts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","publishPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;ACNT;;EDiBCK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;ACTA;;;EDmBAC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC/IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -10,7 +10,17 @@ interface BuildExecutorSchema {
10
10
  /**
11
11
  * Powerlines Configuration File
12
12
  *
13
- * The path to the Powerlines configuration file
13
+ * The path to the Powerlines configuration file. Alias for `configFile`.
14
+ *
15
+ * @default "{projectRoot}/powerlines.config.ts"
16
+ *
17
+ * @format path
18
+ */
19
+ config?: string;
20
+ /**
21
+ * Powerlines Configuration File
22
+ *
23
+ * The path to the Powerlines configuration file. Alias for `config`.
14
24
  *
15
25
  * @default "{projectRoot}/powerlines.config.ts"
16
26
  *
@@ -45,6 +55,15 @@ interface BuildExecutorSchema {
45
55
  * @format path
46
56
  */
47
57
  outputPath?: string;
58
+ /**
59
+ * Publish Path
60
+ *
61
+ * The path to the publish directory for the build artifacts
62
+ *
63
+ *
64
+ * @format path
65
+ */
66
+ publishPath?: string;
48
67
  /**
49
68
  * Sourcemap
50
69
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;;;;ACND;;;EDgBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;;;;ACNA;EDeAC,MAAAA,GAASP,KAAAA;ECbqB;;;;;;;;;EDwB9BQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;;;;;;;EAQTc,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC1HqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":["BuildExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","publishPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","autoInstall","skipCache","entry"],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;ACNT;;EDiBCK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;ACTA;;;EDmBAC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBC/IqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -6,7 +6,18 @@ export interface BuildExecutorSchema {
6
6
  /**
7
7
  * Powerlines Configuration File
8
8
  *
9
- * The path to the Powerlines configuration file
9
+ * The path to the Powerlines configuration file. Alias for `configFile`.
10
+ *
11
+ * @default "{projectRoot}/powerlines.config.ts"
12
+ *
13
+ * @format path
14
+ */
15
+ config?: string,
16
+
17
+ /**
18
+ * Powerlines Configuration File
19
+ *
20
+ * The path to the Powerlines configuration file. Alias for `config`.
10
21
  *
11
22
  * @default "{projectRoot}/powerlines.config.ts"
12
23
  *
@@ -45,6 +56,16 @@ export interface BuildExecutorSchema {
45
56
  */
46
57
  outputPath?: string,
47
58
 
59
+ /**
60
+ * Publish Path
61
+ *
62
+ * The path to the publish directory for the build artifacts
63
+ *
64
+ *
65
+ * @format path
66
+ */
67
+ publishPath?: string,
68
+
48
69
  /**
49
70
  * Sourcemap
50
71
  *
@@ -4,11 +4,19 @@
4
4
  "description": "A type definition for the Powerlines - Build executor schema",
5
5
  "required": [],
6
6
  "properties": {
7
+ "config": {
8
+ "title": "Powerlines Configuration File",
9
+ "type": "string",
10
+ "format": "path",
11
+ "description": "The path to the Powerlines configuration file. Alias for `configFile`.",
12
+ "id": "#config",
13
+ "default": "{projectRoot}/powerlines.config.ts"
14
+ },
7
15
  "configFile": {
8
16
  "title": "Powerlines Configuration File",
9
17
  "type": "string",
10
18
  "format": "path",
11
- "description": "The path to the Powerlines configuration file",
19
+ "description": "The path to the Powerlines configuration file. Alias for `config`.",
12
20
  "id": "#configFile",
13
21
  "default": "{projectRoot}/powerlines.config.ts"
14
22
  },
@@ -37,6 +45,13 @@
37
45
  "description": "The path to the output directory for the build artifacts",
38
46
  "id": "#outputPath"
39
47
  },
48
+ "publishPath": {
49
+ "title": "Publish Path",
50
+ "type": "string",
51
+ "format": "path",
52
+ "description": "The path to the publish directory for the build artifacts",
53
+ "id": "#publishPath"
54
+ },
40
55
  "sourceMap": {
41
56
  "title": "Sourcemap",
42
57
  "type": "boolean",
@@ -167,6 +182,7 @@
167
182
  },
168
183
  "type": "object",
169
184
  "default": {
185
+ "config": "{projectRoot}/powerlines.config.ts",
170
186
  "configFile": "{projectRoot}/powerlines.config.ts",
171
187
  "tsconfig": "{projectRoot}/tsconfig.json",
172
188
  "format": [
@@ -10,7 +10,17 @@ interface CleanExecutorSchema {
10
10
  /**
11
11
  * Powerlines Configuration File
12
12
  *
13
- * The path to the Powerlines configuration file
13
+ * The path to the Powerlines configuration file. Alias for `configFile`.
14
+ *
15
+ * @default "{projectRoot}/powerlines.config.ts"
16
+ *
17
+ * @format path
18
+ */
19
+ config?: string;
20
+ /**
21
+ * Powerlines Configuration File
22
+ *
23
+ * The path to the Powerlines configuration file. Alias for `config`.
14
24
  *
15
25
  * @default "{projectRoot}/powerlines.config.ts"
16
26
  *
@@ -45,6 +55,15 @@ interface CleanExecutorSchema {
45
55
  * @format path
46
56
  */
47
57
  outputPath?: string;
58
+ /**
59
+ * Publish Path
60
+ *
61
+ * The path to the publish directory for the build artifacts
62
+ *
63
+ *
64
+ * @format path
65
+ */
66
+ publishPath?: string;
48
67
  /**
49
68
  * Sourcemap
50
69
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;ACPD;;;;;;EDiBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;AChBA;;;;EDyBAC,MAAAA,GAASP,KAAAA;;;;;;;;;;EAWTQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;AAAAA;;;iBCjGY,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.d.mts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","publishPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;EA+GO;;;;ACtHhB;;;;;EDkBCK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;ACnBA;;;;;;ED6BAC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;AAAAA;;;iBCtHY,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -10,7 +10,17 @@ interface CleanExecutorSchema {
10
10
  /**
11
11
  * Powerlines Configuration File
12
12
  *
13
- * The path to the Powerlines configuration file
13
+ * The path to the Powerlines configuration file. Alias for `configFile`.
14
+ *
15
+ * @default "{projectRoot}/powerlines.config.ts"
16
+ *
17
+ * @format path
18
+ */
19
+ config?: string;
20
+ /**
21
+ * Powerlines Configuration File
22
+ *
23
+ * The path to the Powerlines configuration file. Alias for `config`.
14
24
  *
15
25
  * @default "{projectRoot}/powerlines.config.ts"
16
26
  *
@@ -45,6 +55,15 @@ interface CleanExecutorSchema {
45
55
  * @format path
46
56
  */
47
57
  outputPath?: string;
58
+ /**
59
+ * Publish Path
60
+ *
61
+ * The path to the publish directory for the build artifacts
62
+ *
63
+ *
64
+ * @format path
65
+ */
66
+ publishPath?: string;
48
67
  /**
49
68
  * Sourcemap
50
69
  *
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["CleanExecutorSchema","Array","Record","configFile","input","tsconfig","outputPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQH,KAAAA;;;;;;;;;;EAWRI,QAAAA;;;ACPD;;;;;;EDiBCC,UAAAA;;;;;;;EAQAC,SAAAA;;;;AChBA;;;;EDyBAC,MAAAA,GAASP,KAAAA;;;;;;;;;;EAWTQ,QAAAA;;;;;;;EAQAC,QAAAA,GAAWT,KAAAA;;;;;;;EAQXU,UAAAA,GAAaV,KAAAA;;;;;;;EAQbW,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASb,MAAAA;AAAAA;;;iBCjGY,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":["CleanExecutorSchema","Array","Record","config","configFile","input","tsconfig","outputPath","publishPath","sourceMap","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define"],"sources":["../../../../src/executors/clean/schema.d.ts","../../../../src/executors/clean/executor.ts"],"mappings":";;;;;;;;UAIiBA,mBAAAA;;AAAjB;;;;;;;;EAUCG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;EA+GO;;;;ACtHhB;;;;;EDkBCK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;ACnBA;;;;;;ED6BAC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;AAAAA;;;iBCtHY,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -6,7 +6,18 @@ export interface CleanExecutorSchema {
6
6
  /**
7
7
  * Powerlines Configuration File
8
8
  *
9
- * The path to the Powerlines configuration file
9
+ * The path to the Powerlines configuration file. Alias for `configFile`.
10
+ *
11
+ * @default "{projectRoot}/powerlines.config.ts"
12
+ *
13
+ * @format path
14
+ */
15
+ config?: string,
16
+
17
+ /**
18
+ * Powerlines Configuration File
19
+ *
20
+ * The path to the Powerlines configuration file. Alias for `config`.
10
21
  *
11
22
  * @default "{projectRoot}/powerlines.config.ts"
12
23
  *
@@ -45,6 +56,16 @@ export interface CleanExecutorSchema {
45
56
  */
46
57
  outputPath?: string,
47
58
 
59
+ /**
60
+ * Publish Path
61
+ *
62
+ * The path to the publish directory for the build artifacts
63
+ *
64
+ *
65
+ * @format path
66
+ */
67
+ publishPath?: string,
68
+
48
69
  /**
49
70
  * Sourcemap
50
71
  *