@powerlines/nx 0.11.290 → 0.11.293

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 -1
  2. package/dist/src/base/base-executor.mjs +4 -1
  3. package/dist/src/base/base-executor.mjs.map +1 -1
  4. package/dist/src/base/base-executor.schema.d.mts +17 -4
  5. package/dist/src/base/base-executor.schema.d.mts.map +1 -1
  6. package/dist/src/base/base-executor.schema.d.ts +17 -4
  7. package/dist/src/base/base-executor.schema.d.ts.map +1 -1
  8. package/dist/src/base/base-executor.schema.json +29 -7
  9. package/dist/src/base/base-executor.untyped.js +17 -6
  10. package/dist/src/base/base-executor.untyped.mjs +17 -6
  11. package/dist/src/base/base-executor.untyped.mjs.map +1 -1
  12. package/dist/src/executors/build/executor.d.mts +17 -4
  13. package/dist/src/executors/build/executor.d.mts.map +1 -1
  14. package/dist/src/executors/build/executor.d.ts +17 -4
  15. package/dist/src/executors/build/executor.d.ts.map +1 -1
  16. package/dist/src/executors/build/schema.d.ts +12 -4
  17. package/dist/src/executors/build/schema.json +28 -6
  18. package/dist/src/executors/clean/executor.d.mts +17 -4
  19. package/dist/src/executors/clean/executor.d.mts.map +1 -1
  20. package/dist/src/executors/clean/executor.d.ts +17 -4
  21. package/dist/src/executors/clean/executor.d.ts.map +1 -1
  22. package/dist/src/executors/clean/schema.d.ts +12 -4
  23. package/dist/src/executors/clean/schema.json +29 -7
  24. package/dist/src/executors/docs/executor.d.mts +17 -4
  25. package/dist/src/executors/docs/executor.d.mts.map +1 -1
  26. package/dist/src/executors/docs/executor.d.ts +17 -4
  27. package/dist/src/executors/docs/executor.d.ts.map +1 -1
  28. package/dist/src/executors/docs/schema.d.ts +12 -4
  29. package/dist/src/executors/docs/schema.json +29 -7
  30. package/dist/src/executors/lint/executor.d.mts +17 -4
  31. package/dist/src/executors/lint/executor.d.mts.map +1 -1
  32. package/dist/src/executors/lint/executor.d.ts +17 -4
  33. package/dist/src/executors/lint/executor.d.ts.map +1 -1
  34. package/dist/src/executors/lint/schema.d.ts +12 -4
  35. package/dist/src/executors/lint/schema.json +29 -7
  36. package/dist/src/executors/prepare/executor.d.mts +17 -4
  37. package/dist/src/executors/prepare/executor.d.mts.map +1 -1
  38. package/dist/src/executors/prepare/executor.d.ts +17 -4
  39. package/dist/src/executors/prepare/executor.d.ts.map +1 -1
  40. package/dist/src/executors/prepare/schema.d.ts +12 -4
  41. package/dist/src/executors/prepare/schema.json +29 -7
  42. package/dist/src/helpers/plugin-utilities.js +6 -6
  43. package/dist/src/helpers/plugin-utilities.mjs +6 -6
  44. package/dist/src/helpers/plugin-utilities.mjs.map +1 -1
  45. package/package.json +11 -11
@@ -28,7 +28,10 @@ function withExecutor(command, executorFn) {
28
28
  configFile: options.configFile ?? options.config,
29
29
  output: {
30
30
  path: options.outputPath,
31
- publishPath: options.publishPath,
31
+ copy: {
32
+ path: options.copyPath,
33
+ assets: options.assets
34
+ },
32
35
  format: options.format,
33
36
  sourceMap: options.sourceMap
34
37
  },
@@ -24,7 +24,10 @@ function withExecutor(command, executorFn) {
24
24
  configFile: options.configFile ?? options.config,
25
25
  output: {
26
26
  path: options.outputPath,
27
- publishPath: options.publishPath,
27
+ copy: {
28
+ path: options.copyPath,
29
+ assets: options.assets
30
+ },
28
31
  format: options.format,
29
32
  sourceMap: options.sourceMap
30
33
  },
@@ -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 configFile: options.configFile ?? options.config,\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 },\n options,\n {\n name: context.projectName\n }\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,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;GAC3B,EACD,SACA,EACE,MAAM,QAAQ,aACf,CACF,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"}
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 output: {\n path: options.outputPath,\n copy: { path: options.copyPath, assets: options.assets },\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 },\n options,\n {\n name: context.projectName\n }\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,QAAQ;IACN,MAAM,QAAQ;IACd,MAAM;KAAE,MAAM,QAAQ;KAAU,QAAQ,QAAQ;KAAQ;IACxD,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;GAC3B,EACD,SACA,EACE,MAAM,QAAQ,aACf,CACF,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"}
@@ -51,14 +51,14 @@ interface BaseExecutorSchema {
51
51
  */
52
52
  outputPath?: string;
53
53
  /**
54
- * Publish Path
54
+ * Copy Path
55
55
  *
56
- * The path to the publish directory for the build artifacts
56
+ * A directory path to copy the build artifacts into
57
57
  *
58
58
  *
59
- * @format path
59
+ * @oneOf [object Object],[object Object]
60
60
  */
61
- publishPath?: string;
61
+ copyPath?: any;
62
62
  /**
63
63
  * Sourcemap
64
64
  *
@@ -130,6 +130,19 @@ interface BaseExecutorSchema {
130
130
  *
131
131
  */
132
132
  define?: Record<string, string>;
133
+ /**
134
+ * Assets
135
+ *
136
+ * The `assets` values
137
+ *
138
+ */
139
+ assets?: Array<{
140
+ input?: string;
141
+ output?: string;
142
+ glob: string;
143
+ ignore?: string[];
144
+ dot?: boolean;
145
+ }>;
133
146
  }
134
147
  //#endregion
135
148
  export { BaseExecutorSchema };
@@ -1 +1 @@
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"}
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;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA"}
@@ -51,14 +51,14 @@ interface BaseExecutorSchema {
51
51
  */
52
52
  outputPath?: string;
53
53
  /**
54
- * Publish Path
54
+ * Copy Path
55
55
  *
56
- * The path to the publish directory for the build artifacts
56
+ * A directory path to copy the build artifacts into
57
57
  *
58
58
  *
59
- * @format path
59
+ * @oneOf [object Object],[object Object]
60
60
  */
61
- publishPath?: string;
61
+ copyPath?: any;
62
62
  /**
63
63
  * Sourcemap
64
64
  *
@@ -130,6 +130,19 @@ interface BaseExecutorSchema {
130
130
  *
131
131
  */
132
132
  define?: Record<string, string>;
133
+ /**
134
+ * Assets
135
+ *
136
+ * The `assets` values
137
+ *
138
+ */
139
+ assets?: Array<{
140
+ input?: string;
141
+ output?: string;
142
+ glob: string;
143
+ ignore?: string[];
144
+ dot?: boolean;
145
+ }>;
133
146
  }
134
147
  //#endregion
135
148
  export { BaseExecutorSchema };
@@ -1 +1 @@
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"}
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;;;;;;;;;;EAUhBG,MAAAA;;;;;;;;;;EAWAC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA"}
@@ -45,12 +45,24 @@
45
45
  "description": "The path to the output directory for the build artifacts",
46
46
  "id": "#outputPath"
47
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"
48
+ "copyPath": {
49
+ "title": "Copy Path",
50
+ "description": "A directory path to copy the build artifacts into",
51
+ "oneOf": [
52
+ {
53
+ "type": "string",
54
+ "format": "path"
55
+ },
56
+ {
57
+ "type": "boolean",
58
+ "enum": [
59
+ false
60
+ ]
61
+ }
62
+ ],
63
+ "id": "#copyPath",
64
+ "type": "any",
65
+ "default": {}
54
66
  },
55
67
  "sourceMap": {
56
68
  "title": "Sourcemap",
@@ -148,6 +160,14 @@
148
160
  "description": "The `define` values",
149
161
  "id": "#define",
150
162
  "default": {}
163
+ },
164
+ "assets": {
165
+ "title": "Assets",
166
+ "type": "any",
167
+ "tsType": "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
168
+ "description": "The `assets` values",
169
+ "id": "#assets",
170
+ "default": {}
151
171
  }
152
172
  },
153
173
  "type": "object",
@@ -155,6 +175,7 @@
155
175
  "config": "{projectRoot}/powerlines.config.ts",
156
176
  "configFile": "{projectRoot}/powerlines.config.ts",
157
177
  "tsconfig": "{projectRoot}/tsconfig.json",
178
+ "copyPath": {},
158
179
  "format": [
159
180
  "cjs",
160
181
  "esm"
@@ -162,6 +183,7 @@
162
183
  "platform": "neutral",
163
184
  "external": [],
164
185
  "noExternal": [],
165
- "define": {}
186
+ "define": {},
187
+ "assets": {}
166
188
  }
167
189
  }
@@ -49,11 +49,16 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
49
49
  format: "path",
50
50
  description: "The path to the output directory for the build artifacts"
51
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"
52
+ copyPath: { $schema: {
53
+ title: "Copy Path",
54
+ description: "A directory path to copy the build artifacts into",
55
+ oneOf: [{
56
+ type: "string",
57
+ format: "path"
58
+ }, {
59
+ type: "boolean",
60
+ enum: [false]
61
+ }]
57
62
  } },
58
63
  sourceMap: { $schema: {
59
64
  title: "Sourcemap",
@@ -144,7 +149,13 @@ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
144
149
  },
145
150
  $resolve: (val = {}) => val,
146
151
  $default: {}
147
- }
152
+ },
153
+ assets: { $schema: {
154
+ title: "Assets",
155
+ type: "any",
156
+ tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
157
+ description: "The `assets` values"
158
+ } }
148
159
  });
149
160
 
150
161
  //#endregion
@@ -48,11 +48,16 @@ var base_executor_untyped_default = defineUntypedSchema({
48
48
  format: "path",
49
49
  description: "The path to the output directory for the build artifacts"
50
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"
51
+ copyPath: { $schema: {
52
+ title: "Copy Path",
53
+ description: "A directory path to copy the build artifacts into",
54
+ oneOf: [{
55
+ type: "string",
56
+ format: "path"
57
+ }, {
58
+ type: "boolean",
59
+ enum: [false]
60
+ }]
56
61
  } },
57
62
  sourceMap: { $schema: {
58
63
  title: "Sourcemap",
@@ -143,7 +148,13 @@ var base_executor_untyped_default = defineUntypedSchema({
143
148
  },
144
149
  $resolve: (val = {}) => val,
145
150
  $default: {}
146
- }
151
+ },
152
+ assets: { $schema: {
153
+ title: "Assets",
154
+ type: "any",
155
+ tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
156
+ description: "The `assets` values"
157
+ } }
147
158
  });
148
159
 
149
160
  //#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 $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"}
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 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 $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 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;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,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;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;CACD,QAAQ,EACN,SAAS;EACP,OAAO;EACP,MAAM;EACN,QACE;EACF,aAAa;EACd,EACF;CACF,CAAC"}
@@ -56,14 +56,14 @@ interface BuildExecutorSchema {
56
56
  */
57
57
  outputPath?: string;
58
58
  /**
59
- * Publish Path
59
+ * Copy Path
60
60
  *
61
- * The path to the publish directory for the build artifacts
61
+ * A directory path to copy the build artifacts into
62
62
  *
63
63
  *
64
- * @format path
64
+ * @oneOf [object Object],[object Object]
65
65
  */
66
- publishPath?: string;
66
+ copyPath?: any;
67
67
  /**
68
68
  * Sourcemap
69
69
  *
@@ -135,6 +135,19 @@ interface BuildExecutorSchema {
135
135
  *
136
136
  */
137
137
  define?: Record<string, string>;
138
+ /**
139
+ * Assets
140
+ *
141
+ * The `assets` values
142
+ *
143
+ */
144
+ assets?: Array<{
145
+ input?: string;
146
+ output?: string;
147
+ glob: string;
148
+ ignore?: string[];
149
+ dot?: boolean;
150
+ }>;
138
151
  /**
139
152
  * Auto Install
140
153
  *
@@ -1 +1 @@
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"}
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;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;EAsIK;;;;ACvJN;;;;ED2BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;ACnBA;;;ED2BAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBCvJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -56,14 +56,14 @@ interface BuildExecutorSchema {
56
56
  */
57
57
  outputPath?: string;
58
58
  /**
59
- * Publish Path
59
+ * Copy Path
60
60
  *
61
- * The path to the publish directory for the build artifacts
61
+ * A directory path to copy the build artifacts into
62
62
  *
63
63
  *
64
- * @format path
64
+ * @oneOf [object Object],[object Object]
65
65
  */
66
- publishPath?: string;
66
+ copyPath?: any;
67
67
  /**
68
68
  * Sourcemap
69
69
  *
@@ -135,6 +135,19 @@ interface BuildExecutorSchema {
135
135
  *
136
136
  */
137
137
  define?: Record<string, string>;
138
+ /**
139
+ * Assets
140
+ *
141
+ * The `assets` values
142
+ *
143
+ */
144
+ assets?: Array<{
145
+ input?: string;
146
+ output?: string;
147
+ glob: string;
148
+ ignore?: string[];
149
+ dot?: boolean;
150
+ }>;
138
151
  /**
139
152
  * Auto Install
140
153
  *
@@ -1 +1 @@
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"}
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;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;EAsIK;;;;ACvJN;;;;ED2BCC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;ACnBA;;;ED2BAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,WAAAA;;;;;;;EAQAC,SAAAA;;;;;;;;;EAUAC,KAAAA;AAAAA;;;iBCvJqB,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAiBL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -57,14 +57,14 @@ export interface BuildExecutorSchema {
57
57
  outputPath?: string,
58
58
 
59
59
  /**
60
- * Publish Path
60
+ * Copy Path
61
61
  *
62
- * The path to the publish directory for the build artifacts
62
+ * A directory path to copy the build artifacts into
63
63
  *
64
64
  *
65
- * @format path
65
+ * @oneOf [object Object],[object Object]
66
66
  */
67
- publishPath?: string,
67
+ copyPath?: any,
68
68
 
69
69
  /**
70
70
  * Sourcemap
@@ -146,6 +146,14 @@ export interface BuildExecutorSchema {
146
146
  */
147
147
  define?: Record<string, string>,
148
148
 
149
+ /**
150
+ * Assets
151
+ *
152
+ * The `assets` values
153
+ *
154
+ */
155
+ assets?: Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>,
156
+
149
157
  /**
150
158
  * Auto Install
151
159
  *
@@ -45,12 +45,24 @@
45
45
  "description": "The path to the output directory for the build artifacts",
46
46
  "id": "#outputPath"
47
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"
48
+ "copyPath": {
49
+ "title": "Copy Path",
50
+ "description": "A directory path to copy the build artifacts into",
51
+ "oneOf": [
52
+ {
53
+ "type": "string",
54
+ "format": "path"
55
+ },
56
+ {
57
+ "type": "boolean",
58
+ "enum": [
59
+ false
60
+ ]
61
+ }
62
+ ],
63
+ "id": "#copyPath",
64
+ "type": "any",
65
+ "default": {}
54
66
  },
55
67
  "sourceMap": {
56
68
  "title": "Sourcemap",
@@ -149,6 +161,14 @@
149
161
  "id": "#define",
150
162
  "default": {}
151
163
  },
164
+ "assets": {
165
+ "title": "Assets",
166
+ "type": "any",
167
+ "tsType": "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
168
+ "description": "The `assets` values",
169
+ "id": "#assets",
170
+ "default": {}
171
+ },
152
172
  "autoInstall": {
153
173
  "title": "Auto Install",
154
174
  "type": "boolean",
@@ -185,6 +205,7 @@
185
205
  "config": "{projectRoot}/powerlines.config.ts",
186
206
  "configFile": "{projectRoot}/powerlines.config.ts",
187
207
  "tsconfig": "{projectRoot}/tsconfig.json",
208
+ "copyPath": {},
188
209
  "format": [
189
210
  "cjs",
190
211
  "esm"
@@ -193,6 +214,7 @@
193
214
  "external": [],
194
215
  "noExternal": [],
195
216
  "define": {},
217
+ "assets": {},
196
218
  "entry": {}
197
219
  }
198
220
  }
@@ -56,14 +56,14 @@ interface CleanExecutorSchema {
56
56
  */
57
57
  outputPath?: string;
58
58
  /**
59
- * Publish Path
59
+ * Copy Path
60
60
  *
61
- * The path to the publish directory for the build artifacts
61
+ * A directory path to copy the build artifacts into
62
62
  *
63
63
  *
64
- * @format path
64
+ * @oneOf [object Object],[object Object]
65
65
  */
66
- publishPath?: string;
66
+ copyPath?: any;
67
67
  /**
68
68
  * Sourcemap
69
69
  *
@@ -135,6 +135,19 @@ interface CleanExecutorSchema {
135
135
  *
136
136
  */
137
137
  define?: Record<string, string>;
138
+ /**
139
+ * Assets
140
+ *
141
+ * The `assets` values
142
+ *
143
+ */
144
+ assets?: Array<{
145
+ input?: string;
146
+ output?: string;
147
+ glob: string;
148
+ ignore?: string[];
149
+ dot?: boolean;
150
+ }>;
138
151
  }
139
152
  //#endregion
140
153
  //#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","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"}
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;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;AClBD;;;;;;;ED4BCC,UAAAA;ECzBS;;;;;;;;EDmCTC,QAAAA;EC7BA;;;;;;EDqCAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA;;;iBC9H9D,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}
@@ -56,14 +56,14 @@ interface CleanExecutorSchema {
56
56
  */
57
57
  outputPath?: string;
58
58
  /**
59
- * Publish Path
59
+ * Copy Path
60
60
  *
61
- * The path to the publish directory for the build artifacts
61
+ * A directory path to copy the build artifacts into
62
62
  *
63
63
  *
64
- * @format path
64
+ * @oneOf [object Object],[object Object]
65
65
  */
66
- publishPath?: string;
66
+ copyPath?: any;
67
67
  /**
68
68
  * Sourcemap
69
69
  *
@@ -135,6 +135,19 @@ interface CleanExecutorSchema {
135
135
  *
136
136
  */
137
137
  define?: Record<string, string>;
138
+ /**
139
+ * Assets
140
+ *
141
+ * The `assets` values
142
+ *
143
+ */
144
+ assets?: Array<{
145
+ input?: string;
146
+ output?: string;
147
+ glob: string;
148
+ ignore?: string[];
149
+ dot?: boolean;
150
+ }>;
138
151
  }
139
152
  //#endregion
140
153
  //#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","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"}
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;;;;;;;;EAUCG,MAAAA;EA4Ic;;;;;;;;;EAjIdC,UAAAA;;;;;;;;;EAUAC,KAAAA,GAAQJ,KAAAA;;;;;;;;;;EAWRK,QAAAA;;AClBD;;;;;;;ED4BCC,UAAAA;ECzBS;;;;;;;;EDmCTC,QAAAA;EC7BA;;;;;;EDqCAC,SAAAA;;;;;;;;EASAC,MAAAA,GAAST,KAAAA;;;;;;;;;;EAWTU,QAAAA;;;;;;;EAQAC,QAAAA,GAAWX,KAAAA;;;;;;;EAQXY,UAAAA,GAAaZ,KAAAA;;;;;;;EAQba,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAASf,MAAAA;;;;;;;EAQTgB,MAAAA,GAASjB,KAAAA;IAAQI,KAAAA;IAAgBc,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;AAAAA;;;iBC9H9D,UAAA,CACpB,OAAA,EAAS,yBAAA,UAAmC,mBAAA,GAC5C,GAAA,EAAK,aAAA,GACJ,OAAA,CAAQ,kBAAA;AAAA,cAQL,QAAA,EAAU,eAAA,CAAgB,mBAAA"}