@powerlines/nx 0.13.233 → 0.13.235

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 (155) hide show
  1. package/dist/src/_virtual/_rolldown/runtime.js +28 -0
  2. package/dist/src/base/base-executor.d.mts +60 -0
  3. package/dist/src/base/base-executor.d.mts.map +1 -0
  4. package/dist/src/base/base-executor.d.ts +60 -0
  5. package/dist/src/base/base-executor.d.ts.map +1 -0
  6. package/dist/src/base/base-executor.js +118 -0
  7. package/dist/src/base/base-executor.mjs +116 -0
  8. package/dist/src/base/base-executor.mjs.map +1 -0
  9. package/dist/src/base/base-executor.schema.d.js +0 -0
  10. package/dist/src/base/base-executor.schema.d.mts +167 -0
  11. package/dist/src/base/base-executor.schema.d.mts.map +1 -0
  12. package/dist/src/base/base-executor.schema.d.ts +164 -175
  13. package/dist/src/base/base-executor.schema.d.ts.map +1 -0
  14. package/dist/src/base/base-executor.untyped.d.mts +5 -0
  15. package/dist/src/base/base-executor.untyped.d.mts.map +1 -0
  16. package/dist/src/base/base-executor.untyped.d.ts +4 -0
  17. package/dist/src/base/base-executor.untyped.d.ts.map +1 -0
  18. package/dist/src/base/base-executor.untyped.js +176 -0
  19. package/dist/src/base/base-executor.untyped.mjs +177 -0
  20. package/dist/src/base/base-executor.untyped.mjs.map +1 -0
  21. package/dist/src/base/index.d.mts +2 -0
  22. package/dist/src/base/index.d.ts +2 -0
  23. package/dist/src/base/index.js +5 -0
  24. package/dist/src/base/index.mjs +4 -0
  25. package/dist/src/base-executor-BTwUZeOz.js +122 -0
  26. package/dist/src/base-executor-HCD7M10I.mjs +116 -0
  27. package/dist/src/base-executor-HCD7M10I.mjs.map +1 -0
  28. package/dist/src/base-executor.untyped-B9Vk-kJC.mjs +177 -0
  29. package/dist/src/base-executor.untyped-B9Vk-kJC.mjs.map +1 -0
  30. package/dist/src/base-executor.untyped-DZhWL1zT.js +181 -0
  31. package/dist/src/executors/build/executor.d.mts +194 -0
  32. package/dist/src/executors/build/executor.d.mts.map +1 -0
  33. package/dist/src/executors/build/executor.d.ts +193 -0
  34. package/dist/src/executors/build/executor.d.ts.map +1 -0
  35. package/dist/src/executors/build/executor.js +11 -0
  36. package/dist/src/executors/build/executor.mjs +12 -0
  37. package/dist/src/executors/build/executor.mjs.map +1 -0
  38. package/dist/src/executors/build/untyped.d.mts +5 -0
  39. package/dist/src/executors/build/untyped.d.mts.map +1 -0
  40. package/dist/src/executors/build/untyped.d.ts +4 -0
  41. package/dist/src/executors/build/untyped.d.ts.map +1 -0
  42. package/dist/src/executors/build/untyped.js +24 -0
  43. package/dist/src/executors/build/untyped.mjs +25 -0
  44. package/dist/src/executors/build/untyped.mjs.map +1 -0
  45. package/dist/src/executors/clean/executor.d.mts +171 -0
  46. package/dist/src/executors/clean/executor.d.mts.map +1 -0
  47. package/dist/src/executors/clean/executor.d.ts +170 -0
  48. package/dist/src/executors/clean/executor.d.ts.map +1 -0
  49. package/dist/src/executors/clean/executor.js +11 -0
  50. package/dist/src/executors/clean/executor.mjs +12 -0
  51. package/dist/src/executors/clean/executor.mjs.map +1 -0
  52. package/dist/src/executors/clean/untyped.d.mts +5 -0
  53. package/dist/src/executors/clean/untyped.d.mts.map +1 -0
  54. package/dist/src/executors/clean/untyped.d.ts +4 -0
  55. package/dist/src/executors/clean/untyped.d.ts.map +1 -0
  56. package/dist/src/executors/clean/untyped.js +16 -0
  57. package/dist/src/executors/clean/untyped.mjs +17 -0
  58. package/dist/src/executors/clean/untyped.mjs.map +1 -0
  59. package/dist/src/executors/docs/executor.d.mts +185 -0
  60. package/dist/src/executors/docs/executor.d.mts.map +1 -0
  61. package/dist/src/executors/docs/executor.d.ts +184 -0
  62. package/dist/src/executors/docs/executor.d.ts.map +1 -0
  63. package/dist/src/executors/docs/executor.js +11 -0
  64. package/dist/src/executors/docs/executor.mjs +12 -0
  65. package/dist/src/executors/docs/executor.mjs.map +1 -0
  66. package/dist/src/executors/docs/untyped.d.mts +5 -0
  67. package/dist/src/executors/docs/untyped.d.mts.map +1 -0
  68. package/dist/src/executors/docs/untyped.d.ts +4 -0
  69. package/dist/src/executors/docs/untyped.d.ts.map +1 -0
  70. package/dist/src/executors/docs/untyped.js +16 -0
  71. package/dist/src/executors/docs/untyped.mjs +17 -0
  72. package/dist/src/executors/docs/untyped.mjs.map +1 -0
  73. package/dist/src/executors/lint/executor.d.mts +185 -0
  74. package/dist/src/executors/lint/executor.d.mts.map +1 -0
  75. package/dist/src/executors/lint/executor.d.ts +184 -0
  76. package/dist/src/executors/lint/executor.d.ts.map +1 -0
  77. package/dist/src/executors/lint/executor.js +11 -0
  78. package/dist/src/executors/lint/executor.mjs +12 -0
  79. package/dist/src/executors/lint/executor.mjs.map +1 -0
  80. package/dist/src/executors/lint/untyped.d.mts +5 -0
  81. package/dist/src/executors/lint/untyped.d.mts.map +1 -0
  82. package/dist/src/executors/lint/untyped.d.ts +4 -0
  83. package/dist/src/executors/lint/untyped.d.ts.map +1 -0
  84. package/dist/src/executors/lint/untyped.js +16 -0
  85. package/dist/src/executors/lint/untyped.mjs +17 -0
  86. package/dist/src/executors/lint/untyped.mjs.map +1 -0
  87. package/dist/src/executors/prepare/executor.d.mts +185 -0
  88. package/dist/src/executors/prepare/executor.d.mts.map +1 -0
  89. package/dist/src/executors/prepare/executor.d.ts +184 -0
  90. package/dist/src/executors/prepare/executor.d.ts.map +1 -0
  91. package/dist/src/executors/prepare/executor.js +11 -0
  92. package/dist/src/executors/prepare/executor.mjs +12 -0
  93. package/dist/src/executors/prepare/executor.mjs.map +1 -0
  94. package/dist/src/executors/prepare/untyped.d.mts +5 -0
  95. package/dist/src/executors/prepare/untyped.d.mts.map +1 -0
  96. package/dist/src/executors/prepare/untyped.d.ts +4 -0
  97. package/dist/src/executors/prepare/untyped.d.ts.map +1 -0
  98. package/dist/src/executors/prepare/untyped.js +26 -0
  99. package/dist/src/executors/prepare/untyped.mjs +27 -0
  100. package/dist/src/executors/prepare/untyped.mjs.map +1 -0
  101. package/dist/src/generators/sync/generator.d.mts +7 -0
  102. package/dist/src/generators/sync/generator.d.mts.map +1 -0
  103. package/dist/src/generators/sync/generator.d.ts +7 -0
  104. package/dist/src/generators/sync/generator.d.ts.map +1 -0
  105. package/dist/src/generators/sync/generator.js +11 -0
  106. package/dist/src/generators/sync/generator.mjs +10 -0
  107. package/dist/src/generators/sync/generator.mjs.map +1 -0
  108. package/dist/src/generators/sync/untyped.d.mts +5 -0
  109. package/dist/src/generators/sync/untyped.d.mts.map +1 -0
  110. package/dist/src/generators/sync/untyped.d.ts +4 -0
  111. package/dist/src/generators/sync/untyped.d.ts.map +1 -0
  112. package/dist/src/generators/sync/untyped.js +22 -0
  113. package/dist/src/generators/sync/untyped.mjs +23 -0
  114. package/dist/src/generators/sync/untyped.mjs.map +1 -0
  115. package/dist/src/helpers/constants.d.mts +8 -0
  116. package/dist/src/helpers/constants.d.mts.map +1 -0
  117. package/dist/src/helpers/constants.d.ts +8 -0
  118. package/dist/src/helpers/constants.d.ts.map +1 -0
  119. package/dist/src/helpers/constants.js +34 -0
  120. package/dist/src/helpers/constants.mjs +34 -0
  121. package/dist/src/helpers/constants.mjs.map +1 -0
  122. package/dist/src/helpers/index.d.mts +3 -0
  123. package/dist/src/helpers/index.d.ts +3 -0
  124. package/dist/src/helpers/index.js +8 -0
  125. package/dist/src/helpers/index.mjs +4 -0
  126. package/dist/src/helpers/plugin-utilities.d.mts +56 -0
  127. package/dist/src/helpers/plugin-utilities.d.mts.map +1 -0
  128. package/dist/src/helpers/plugin-utilities.d.ts +56 -0
  129. package/dist/src/helpers/plugin-utilities.d.ts.map +1 -0
  130. package/dist/src/helpers/plugin-utilities.js +255 -0
  131. package/dist/src/helpers/plugin-utilities.mjs +251 -0
  132. package/dist/src/helpers/plugin-utilities.mjs.map +1 -0
  133. package/dist/src/index.d.mts +7 -0
  134. package/dist/src/index.d.ts +7 -0
  135. package/dist/src/index.js +12 -0
  136. package/dist/src/index.mjs +7 -0
  137. package/dist/src/plugin/index.d.mts +291 -0
  138. package/dist/src/plugin/index.d.mts.map +1 -0
  139. package/dist/src/plugin/index.d.ts +291 -0
  140. package/dist/src/plugin/index.d.ts.map +1 -0
  141. package/dist/src/plugin/index.js +288 -0
  142. package/dist/src/plugin/index.mjs +286 -0
  143. package/dist/src/plugin/index.mjs.map +1 -0
  144. package/dist/src/rolldown-runtime-C24Yb2bl.js +33 -0
  145. package/dist/src/types/index.d.mts +2 -0
  146. package/dist/src/types/index.d.ts +2 -0
  147. package/dist/src/types/index.js +0 -0
  148. package/dist/src/types/index.mjs +1 -0
  149. package/dist/src/types/plugin.d.mts +288 -0
  150. package/dist/src/types/plugin.d.mts.map +1 -0
  151. package/dist/src/types/plugin.d.ts +288 -0
  152. package/dist/src/types/plugin.d.ts.map +1 -0
  153. package/dist/src/types/plugin.js +0 -0
  154. package/dist/src/types/plugin.mjs +1 -0
  155. package/package.json +3 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-executor.untyped-B9Vk-kJC.mjs","names":[],"sources":["../../src/base/base-executor.untyped.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n 🗲 Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { defineUntypedSchema } from \"untyped\";\n\nexport default defineUntypedSchema({\n $schema: {\n id: \"BaseExecutorSchema\",\n title: \"Base Executor\",\n description:\n \"A shared/base schema type definition for Powerlines executors\",\n required: []\n },\n config: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `configFile`.\"\n }\n },\n configFile: {\n $schema: {\n title: \"Powerlines Configuration File\",\n type: \"string\",\n format: \"path\",\n description:\n \"The path to the Powerlines configuration file. Alias for `config`.\"\n }\n },\n configIndex: {\n $schema: {\n title: \"Powerlines Configuration Index\",\n type: \"number\",\n description:\n \"The index in the Powerlines configuration file to use (if an array of configurations are provided).\"\n },\n $default: 0\n },\n input: {\n $schema: {\n title: \"Input Entry File(s)\",\n format: \"path\",\n type: \"array\",\n description: \"The entry file(s) that serve as the input for the project\",\n items: { type: \"string\" }\n }\n },\n tsconfig: {\n $schema: {\n title: \"TSConfig Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the tsconfig file\"\n }\n },\n outputPath: {\n $schema: {\n title: \"Output Path\",\n type: \"string\",\n format: \"path\",\n description: \"The path to the output directory for the build artifacts\"\n }\n },\n copyPath: {\n $schema: {\n title: \"Copy Path\",\n description: \"A directory path to copy the build artifacts into\",\n oneOf: [\n { type: \"string\", format: \"path\" },\n { type: \"boolean\", enum: [false] }\n ]\n }\n },\n sourceMap: {\n $schema: {\n title: \"Sourcemap\",\n type: \"boolean\",\n description: \"Generate a sourcemap\"\n }\n },\n minify: {\n $schema: {\n title: \"Minify\",\n type: \"boolean\",\n description: \"Minify the output\"\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\"]) =>\n val.filter(format => [\"cjs\", \"esm\", \"iife\"].includes(format))\n },\n platform: {\n $schema: {\n title: \"Platform\",\n type: \"string\",\n description: \"The platform to build\",\n enum: [\"neutral\", \"node\", \"browser\"]\n }\n },\n external: {\n $schema: {\n title: \"External\",\n type: \"array\",\n description: \"The external dependencies\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n noExternal: {\n $schema: {\n title: \"No External\",\n type: \"array\",\n description: \"The dependencies that should not be treated as external\"\n },\n $resolve: (val: string[] = []) => ([] as string[]).concat(val)\n },\n skipNodeModulesBundle: {\n $schema: {\n title: \"Skip Node Modules Bundle\",\n type: \"boolean\",\n description:\n \"Skip bundling node_modules during the build process (if required)\"\n }\n },\n mode: {\n $schema: {\n title: \"Mode\",\n type: \"string\",\n description: \"The build mode\",\n enum: [\"development\", \"test\", \"production\"]\n }\n },\n logLevel: {\n $schema: {\n title: \"Log Level\",\n type: \"string\",\n description: \"The log level to use for the build process\",\n enum: [\n \"fatal\",\n \"error\",\n \"warn\",\n \"success\",\n \"info\",\n \"debug\",\n \"trace\",\n \"silent\"\n ]\n }\n },\n define: {\n $schema: {\n title: \"Define\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description: \"The `define` values\"\n },\n $resolve: (val: Record<string, string> = {}) => val,\n $default: {}\n },\n assets: {\n $schema: {\n title: \"Assets\",\n type: \"any\",\n tsType:\n \"Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>\",\n description: \"The `assets` values\"\n }\n },\n additionalArgs: {\n $schema: {\n title: \"Additional Arguments\",\n type: \"object\",\n tsType: \"Record<string, string>\",\n description:\n \"The additional arguments provided during execution of the command\"\n },\n $resolve: (val: Record<string, string> = {}) => val,\n $default: {}\n }\n});\n"],"mappings":";;;AAoBA,oCAAe,oBAAoB;CACjC,SAAS;EACP,IAAI;EACJ,OAAO;EACP,aACE;EACF,UAAU,CAAC;CACb;CACA,QAAQ,EACN,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aACE;CACJ,EACF;CACA,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aACE;CACJ,EACF;CACA,aAAa;EACX,SAAS;GACP,OAAO;GACP,MAAM;GACN,aACE;EACJ;EACA,UAAU;CACZ;CACA,OAAO,EACL,SAAS;EACP,OAAO;EACP,QAAQ;EACR,MAAM;EACN,aAAa;EACb,OAAO,EAAE,MAAM,SAAS;CAC1B,EACF;CACA,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;CACf,EACF;CACA,YAAY,EACV,SAAS;EACP,OAAO;EACP,MAAM;EACN,QAAQ;EACR,aAAa;CACf,EACF;CACA,UAAU,EACR,SAAS;EACP,OAAO;EACP,aAAa;EACb,OAAO,CACL;GAAE,MAAM;GAAU,QAAQ;EAAO,GACjC;GAAE,MAAM;GAAW,MAAM,CAAC,KAAK;EAAE,CACnC;CACF,EACF;CACA,WAAW,EACT,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;CACf,EACF;CACA,QAAQ,EACN,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;CACf,EACF;CACA,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;GACb,OAAO;IACL,MAAM;IACN,MAAM;KAAC;KAAO;KAAO;IAAM;GAC7B;EACF;EACA,WAAW,MAAgB,CAAC,OAAO,KAAK,MACtC,IAAI,QAAO,WAAU;GAAC;GAAO;GAAO;EAAM,CAAC,CAAC,SAAS,MAAM,CAAC;CAChE;CACA,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GAAC;GAAW;GAAQ;EAAS;CACrC,EACF;CACA,UAAU;EACR,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA,WAAW,MAAgB,CAAC,MAAO,CAAC,CAAC,CAAc,OAAO,GAAG;CAC/D;CACA,YAAY;EACV,SAAS;GACP,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA,WAAW,MAAgB,CAAC,MAAO,CAAC,CAAC,CAAc,OAAO,GAAG;CAC/D;CACA,uBAAuB,EACrB,SAAS;EACP,OAAO;EACP,MAAM;EACN,aACE;CACJ,EACF;CACA,MAAM,EACJ,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GAAC;GAAe;GAAQ;EAAY;CAC5C,EACF;CACA,UAAU,EACR,SAAS;EACP,OAAO;EACP,MAAM;EACN,aAAa;EACb,MAAM;GACJ;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACF;CACF,EACF;CACA,QAAQ;EACN,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aAAa;EACf;EACA,WAAW,MAA8B,CAAC,MAAM;EAChD,UAAU,CAAC;CACb;CACA,QAAQ,EACN,SAAS;EACP,OAAO;EACP,MAAM;EACN,QACE;EACF,aAAa;CACf,EACF;CACA,gBAAgB;EACd,SAAS;GACP,OAAO;GACP,MAAM;GACN,QAAQ;GACR,aACE;EACJ;EACA,WAAW,MAA8B,CAAC,MAAM;EAChD,UAAU,CAAC;CACb;AACF,CAAC"}
@@ -0,0 +1,181 @@
1
+ let untyped = require("untyped");
2
+
3
+ //#region src/base/base-executor.untyped.ts
4
+ var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
5
+ $schema: {
6
+ id: "BaseExecutorSchema",
7
+ title: "Base Executor",
8
+ description: "A shared/base schema type definition for Powerlines executors",
9
+ required: []
10
+ },
11
+ config: { $schema: {
12
+ title: "Powerlines Configuration File",
13
+ type: "string",
14
+ format: "path",
15
+ description: "The path to the Powerlines configuration file. Alias for `configFile`."
16
+ } },
17
+ configFile: { $schema: {
18
+ title: "Powerlines Configuration File",
19
+ type: "string",
20
+ format: "path",
21
+ description: "The path to the Powerlines configuration file. Alias for `config`."
22
+ } },
23
+ configIndex: {
24
+ $schema: {
25
+ title: "Powerlines Configuration Index",
26
+ type: "number",
27
+ description: "The index in the Powerlines configuration file to use (if an array of configurations are provided)."
28
+ },
29
+ $default: 0
30
+ },
31
+ input: { $schema: {
32
+ title: "Input Entry File(s)",
33
+ format: "path",
34
+ type: "array",
35
+ description: "The entry file(s) that serve as the input for the project",
36
+ items: { type: "string" }
37
+ } },
38
+ tsconfig: { $schema: {
39
+ title: "TSConfig Path",
40
+ type: "string",
41
+ format: "path",
42
+ description: "The path to the tsconfig file"
43
+ } },
44
+ outputPath: { $schema: {
45
+ title: "Output Path",
46
+ type: "string",
47
+ format: "path",
48
+ description: "The path to the output directory for the build artifacts"
49
+ } },
50
+ copyPath: { $schema: {
51
+ title: "Copy Path",
52
+ description: "A directory path to copy the build artifacts into",
53
+ oneOf: [{
54
+ type: "string",
55
+ format: "path"
56
+ }, {
57
+ type: "boolean",
58
+ enum: [false]
59
+ }]
60
+ } },
61
+ sourceMap: { $schema: {
62
+ title: "Sourcemap",
63
+ type: "boolean",
64
+ description: "Generate a sourcemap"
65
+ } },
66
+ minify: { $schema: {
67
+ title: "Minify",
68
+ type: "boolean",
69
+ description: "Minify the output"
70
+ } },
71
+ format: {
72
+ $schema: {
73
+ title: "Format",
74
+ type: "array",
75
+ description: "The format to build",
76
+ items: {
77
+ type: "string",
78
+ enum: [
79
+ "cjs",
80
+ "esm",
81
+ "iife"
82
+ ]
83
+ }
84
+ },
85
+ $resolve: (val = ["cjs", "esm"]) => val.filter((format) => [
86
+ "cjs",
87
+ "esm",
88
+ "iife"
89
+ ].includes(format))
90
+ },
91
+ platform: { $schema: {
92
+ title: "Platform",
93
+ type: "string",
94
+ description: "The platform to build",
95
+ enum: [
96
+ "neutral",
97
+ "node",
98
+ "browser"
99
+ ]
100
+ } },
101
+ external: {
102
+ $schema: {
103
+ title: "External",
104
+ type: "array",
105
+ description: "The external dependencies"
106
+ },
107
+ $resolve: (val = []) => [].concat(val)
108
+ },
109
+ noExternal: {
110
+ $schema: {
111
+ title: "No External",
112
+ type: "array",
113
+ description: "The dependencies that should not be treated as external"
114
+ },
115
+ $resolve: (val = []) => [].concat(val)
116
+ },
117
+ skipNodeModulesBundle: { $schema: {
118
+ title: "Skip Node Modules Bundle",
119
+ type: "boolean",
120
+ description: "Skip bundling node_modules during the build process (if required)"
121
+ } },
122
+ mode: { $schema: {
123
+ title: "Mode",
124
+ type: "string",
125
+ description: "The build mode",
126
+ enum: [
127
+ "development",
128
+ "test",
129
+ "production"
130
+ ]
131
+ } },
132
+ logLevel: { $schema: {
133
+ title: "Log Level",
134
+ type: "string",
135
+ description: "The log level to use for the build process",
136
+ enum: [
137
+ "fatal",
138
+ "error",
139
+ "warn",
140
+ "success",
141
+ "info",
142
+ "debug",
143
+ "trace",
144
+ "silent"
145
+ ]
146
+ } },
147
+ define: {
148
+ $schema: {
149
+ title: "Define",
150
+ type: "object",
151
+ tsType: "Record<string, string>",
152
+ description: "The `define` values"
153
+ },
154
+ $resolve: (val = {}) => val,
155
+ $default: {}
156
+ },
157
+ assets: { $schema: {
158
+ title: "Assets",
159
+ type: "any",
160
+ tsType: "Array<{ input?: string; output?: string; glob: string; ignore?: string[]; dot?: boolean; }>",
161
+ description: "The `assets` values"
162
+ } },
163
+ additionalArgs: {
164
+ $schema: {
165
+ title: "Additional Arguments",
166
+ type: "object",
167
+ tsType: "Record<string, string>",
168
+ description: "The additional arguments provided during execution of the command"
169
+ },
170
+ $resolve: (val = {}) => val,
171
+ $default: {}
172
+ }
173
+ });
174
+
175
+ //#endregion
176
+ Object.defineProperty(exports, 'base_executor_untyped_default', {
177
+ enumerable: true,
178
+ get: function () {
179
+ return base_executor_untyped_default;
180
+ }
181
+ });
@@ -0,0 +1,194 @@
1
+ import { PromiseExecutor } from "@nx/devkit";
2
+ //#region src/executors/build/schema.d.ts
3
+ // Generated by @storm-software/untyped
4
+ // Do not edit this file directly
5
+ interface BuildExecutorSchema {
6
+ /**
7
+ * Powerlines Configuration File
8
+ *
9
+ * The path to the Powerlines configuration file. Alias for `configFile`.
10
+ *
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`.
19
+ *
20
+ *
21
+ * @format path
22
+ */
23
+ configFile?: string;
24
+ /**
25
+ * Powerlines Configuration Index
26
+ *
27
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
28
+ *
29
+ * @default 0
30
+ */
31
+ configIndex?: number;
32
+ /**
33
+ * Input Entry File(s)
34
+ *
35
+ * The entry file(s) that serve as the input for the project
36
+ *
37
+ *
38
+ * @format path
39
+ */
40
+ input?: Array<string>;
41
+ /**
42
+ * TSConfig Path
43
+ *
44
+ * The path to the tsconfig file
45
+ *
46
+ *
47
+ * @format path
48
+ */
49
+ tsconfig?: string;
50
+ /**
51
+ * Output Path
52
+ *
53
+ * The path to the output directory for the build artifacts
54
+ *
55
+ *
56
+ * @format path
57
+ */
58
+ outputPath?: string;
59
+ /**
60
+ * Copy Path
61
+ *
62
+ * A directory path to copy the build artifacts into
63
+ *
64
+ *
65
+ * @oneOf [object Object],[object Object]
66
+ */
67
+ copyPath?: any;
68
+ /**
69
+ * Sourcemap
70
+ *
71
+ * Generate a sourcemap
72
+ *
73
+ */
74
+ sourceMap?: boolean;
75
+ /**
76
+ * Minify
77
+ *
78
+ * Minify the output
79
+ *
80
+ */
81
+ minify?: boolean;
82
+ /**
83
+ * Format
84
+ *
85
+ * The format to build
86
+ *
87
+ * @default ["cjs","esm"]
88
+ */
89
+ format?: Array<string>;
90
+ /**
91
+ * Platform
92
+ *
93
+ * The platform to build
94
+ *
95
+ *
96
+ * @enum neutral,node,browser
97
+ */
98
+ platform?: string;
99
+ /**
100
+ * External
101
+ *
102
+ * The external dependencies
103
+ *
104
+ */
105
+ external?: Array<any>;
106
+ /**
107
+ * No External
108
+ *
109
+ * The dependencies that should not be treated as external
110
+ *
111
+ */
112
+ noExternal?: Array<any>;
113
+ /**
114
+ * Skip Node Modules Bundle
115
+ *
116
+ * Skip bundling node_modules during the build process (if required)
117
+ *
118
+ */
119
+ skipNodeModulesBundle?: boolean;
120
+ /**
121
+ * Mode
122
+ *
123
+ * The build mode
124
+ *
125
+ *
126
+ * @enum development,test,production
127
+ */
128
+ mode?: string;
129
+ /**
130
+ * Log Level
131
+ *
132
+ * The log level to use for the build process
133
+ *
134
+ *
135
+ * @enum fatal,error,warn,success,info,debug,trace,silent
136
+ */
137
+ logLevel?: string;
138
+ /**
139
+ * Define
140
+ *
141
+ * The `define` values
142
+ *
143
+ */
144
+ define?: Record<string, string>;
145
+ /**
146
+ * Assets
147
+ *
148
+ * The `assets` values
149
+ *
150
+ */
151
+ assets?: Array<{
152
+ input?: string;
153
+ output?: string;
154
+ glob: string;
155
+ ignore?: string[];
156
+ dot?: boolean;
157
+ }>;
158
+ /**
159
+ * Additional Arguments
160
+ *
161
+ * The additional arguments provided during execution of the command
162
+ *
163
+ */
164
+ additionalArgs?: Record<string, string>;
165
+ /**
166
+ * Auto Install
167
+ *
168
+ * Automatically install dependencies during prepare stage
169
+ *
170
+ */
171
+ autoInstall?: boolean;
172
+ /**
173
+ * Skip Cache
174
+ *
175
+ * Skip the caching mechanism during the build process (if required)
176
+ *
177
+ */
178
+ skipCache?: boolean;
179
+ /**
180
+ * Entry Path(s)
181
+ *
182
+ * The entry path(s) for the package
183
+ *
184
+ *
185
+ * @oneOf [object Object],[object Object]
186
+ */
187
+ entry?: any;
188
+ }
189
+ //#endregion
190
+ //#region src/executors/build/executor.d.ts
191
+ declare const executor: PromiseExecutor<BuildExecutorSchema>;
192
+ //#endregion
193
+ export { executor as default };
194
+ //# sourceMappingURL=executor.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.d.mts","names":[],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;UAIiB;;;;;;;;;EAShB;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;;;;EAUA,QAAQ;;;;;;;;;EAUR;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;EASA,SAAS;;;;;;;;;EAUT;;;;;;;EAQA,WAAW;;;;;;;EAQX,aAAa;;;;;;;EAQb;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA,SAAS;;;;;;;EAQT,SAAS;IAAQ;IAAgB;IAAiB;IAAc;IAAmB;;;;;;;;EAQnF,iBAAiB;;;;;;;EAQjB;;;;;;;EAQA;;;;;;;;;EAUA;;;;cCnKK,UAAU,gBAAgB"}
@@ -0,0 +1,193 @@
1
+ import { PromiseExecutor } from "@nx/devkit";
2
+ //#region src/executors/build/schema.d.ts
3
+ // Generated by @storm-software/untyped
4
+ // Do not edit this file directly
5
+ interface BuildExecutorSchema {
6
+ /**
7
+ * Powerlines Configuration File
8
+ *
9
+ * The path to the Powerlines configuration file. Alias for `configFile`.
10
+ *
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`.
19
+ *
20
+ *
21
+ * @format path
22
+ */
23
+ configFile?: string;
24
+ /**
25
+ * Powerlines Configuration Index
26
+ *
27
+ * The index in the Powerlines configuration file to use (if an array of configurations are provided).
28
+ *
29
+ * @default 0
30
+ */
31
+ configIndex?: number;
32
+ /**
33
+ * Input Entry File(s)
34
+ *
35
+ * The entry file(s) that serve as the input for the project
36
+ *
37
+ *
38
+ * @format path
39
+ */
40
+ input?: Array<string>;
41
+ /**
42
+ * TSConfig Path
43
+ *
44
+ * The path to the tsconfig file
45
+ *
46
+ *
47
+ * @format path
48
+ */
49
+ tsconfig?: string;
50
+ /**
51
+ * Output Path
52
+ *
53
+ * The path to the output directory for the build artifacts
54
+ *
55
+ *
56
+ * @format path
57
+ */
58
+ outputPath?: string;
59
+ /**
60
+ * Copy Path
61
+ *
62
+ * A directory path to copy the build artifacts into
63
+ *
64
+ *
65
+ * @oneOf [object Object],[object Object]
66
+ */
67
+ copyPath?: any;
68
+ /**
69
+ * Sourcemap
70
+ *
71
+ * Generate a sourcemap
72
+ *
73
+ */
74
+ sourceMap?: boolean;
75
+ /**
76
+ * Minify
77
+ *
78
+ * Minify the output
79
+ *
80
+ */
81
+ minify?: boolean;
82
+ /**
83
+ * Format
84
+ *
85
+ * The format to build
86
+ *
87
+ * @default ["cjs","esm"]
88
+ */
89
+ format?: Array<string>;
90
+ /**
91
+ * Platform
92
+ *
93
+ * The platform to build
94
+ *
95
+ *
96
+ * @enum neutral,node,browser
97
+ */
98
+ platform?: string;
99
+ /**
100
+ * External
101
+ *
102
+ * The external dependencies
103
+ *
104
+ */
105
+ external?: Array<any>;
106
+ /**
107
+ * No External
108
+ *
109
+ * The dependencies that should not be treated as external
110
+ *
111
+ */
112
+ noExternal?: Array<any>;
113
+ /**
114
+ * Skip Node Modules Bundle
115
+ *
116
+ * Skip bundling node_modules during the build process (if required)
117
+ *
118
+ */
119
+ skipNodeModulesBundle?: boolean;
120
+ /**
121
+ * Mode
122
+ *
123
+ * The build mode
124
+ *
125
+ *
126
+ * @enum development,test,production
127
+ */
128
+ mode?: string;
129
+ /**
130
+ * Log Level
131
+ *
132
+ * The log level to use for the build process
133
+ *
134
+ *
135
+ * @enum fatal,error,warn,success,info,debug,trace,silent
136
+ */
137
+ logLevel?: string;
138
+ /**
139
+ * Define
140
+ *
141
+ * The `define` values
142
+ *
143
+ */
144
+ define?: Record<string, string>;
145
+ /**
146
+ * Assets
147
+ *
148
+ * The `assets` values
149
+ *
150
+ */
151
+ assets?: Array<{
152
+ input?: string;
153
+ output?: string;
154
+ glob: string;
155
+ ignore?: string[];
156
+ dot?: boolean;
157
+ }>;
158
+ /**
159
+ * Additional Arguments
160
+ *
161
+ * The additional arguments provided during execution of the command
162
+ *
163
+ */
164
+ additionalArgs?: Record<string, string>;
165
+ /**
166
+ * Auto Install
167
+ *
168
+ * Automatically install dependencies during prepare stage
169
+ *
170
+ */
171
+ autoInstall?: boolean;
172
+ /**
173
+ * Skip Cache
174
+ *
175
+ * Skip the caching mechanism during the build process (if required)
176
+ *
177
+ */
178
+ skipCache?: boolean;
179
+ /**
180
+ * Entry Path(s)
181
+ *
182
+ * The entry path(s) for the package
183
+ *
184
+ *
185
+ * @oneOf [object Object],[object Object]
186
+ */
187
+ entry?: any;
188
+ }
189
+ //#endregion
190
+ //#region src/executors/build/executor.d.ts
191
+ declare const executor: PromiseExecutor<BuildExecutorSchema>;
192
+ export = executor;
193
+ //# sourceMappingURL=executor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.d.ts","names":[],"sources":["../../../../src/executors/build/schema.d.ts","../../../../src/executors/build/executor.ts"],"mappings":";;;;UAIiB;;;;;;;;;EAShB;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;;;;EAUA,QAAQ;;;;;;;;;EAUR;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;EASA,SAAS;;;;;;;;;EAUT;;;;;;;EAQA,WAAW;;;;;;;EAQX,aAAa;;;;;;;EAQb;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA,SAAS;;;;;;;EAQT,SAAS;IAAQ;IAAgB;IAAiB;IAAc;IAAmB;;;;;;;;EAQnF,iBAAiB;;;;;;;EAQjB;;;;;;;EAQA;;;;;;;;;EAUA;;;;cCnKK,UAAU,gBAAgB"}
@@ -0,0 +1,11 @@
1
+ const require_base_executor = require('../../base-executor-BTwUZeOz.js');
2
+
3
+ //#region src/executors/build/executor.ts
4
+ async function executorFn(context, api) {
5
+ await api(context.inlineConfig);
6
+ return { success: true };
7
+ }
8
+ const executor = require_base_executor.withExecutor("build", executorFn);
9
+
10
+ //#endregion
11
+ module.exports = executor;
@@ -0,0 +1,12 @@
1
+ import { t as withExecutor } from "../../base-executor-HCD7M10I.mjs";
2
+
3
+ //#region src/executors/build/executor.ts
4
+ async function executorFn(context, api) {
5
+ await api(context.inlineConfig);
6
+ return { success: true };
7
+ }
8
+ const executor = withExecutor("build", executorFn);
9
+
10
+ //#endregion
11
+ export { executor as default };
12
+ //# sourceMappingURL=executor.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.mjs","names":[],"sources":["../../../../src/executors/build/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 { PromiseExecutor } from \"@nx/devkit\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport {\n PowerlinesExecutorApi,\n PowerlinesExecutorContext,\n withExecutor\n} from \"../../base/base-executor\";\nimport type { BuildExecutorSchema } from \"./schema\";\n\nasync function executorFn(\n context: PowerlinesExecutorContext<BuildExecutorSchema>,\n api: PowerlinesExecutorApi\n): Promise<BaseExecutorResult> {\n await api(context.inlineConfig);\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<BuildExecutorSchema> =\n withExecutor<BuildExecutorSchema>(\"build\", executorFn);\n\nexport default executor;\n"],"mappings":";;;AA2BA,eAAe,WACb,SACA,KAC6B;CAC7B,MAAM,IAAI,QAAQ,YAAY;CAE9B,OAAO,EACL,SAAS,KACX;AACF;AAEA,MAAM,WACJ,aAAkC,SAAS,UAAU"}
@@ -0,0 +1,5 @@
1
+ //#region src/executors/build/untyped.d.ts
2
+ declare const _default: import("untyped").SchemaDefinition;
3
+ //#endregion
4
+ export { _default as default };
5
+ //# sourceMappingURL=untyped.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"untyped.d.mts","names":[],"sources":["../../../../src/executors/build/untyped.ts"],"mappings":""}
@@ -0,0 +1,4 @@
1
+ //#region src/executors/build/untyped.d.ts
2
+ declare const _default: import("untyped").SchemaDefinition;
3
+ export = _default;
4
+ //# sourceMappingURL=untyped.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"untyped.d.ts","names":[],"sources":["../../../../src/executors/build/untyped.ts"],"mappings":""}
@@ -0,0 +1,24 @@
1
+ const require_executors_prepare_untyped = require('../prepare/untyped.js');
2
+ let untyped = require("untyped");
3
+
4
+ //#region src/executors/build/untyped.ts
5
+ var untyped_default = (0, untyped.defineUntypedSchema)({
6
+ ...require_executors_prepare_untyped,
7
+ $schema: {
8
+ id: "BuildExecutorSchema",
9
+ title: "Build Executor",
10
+ description: "A type definition for the Powerlines - Build executor schema",
11
+ required: []
12
+ },
13
+ entry: { $schema: {
14
+ title: "Entry Path(s)",
15
+ description: "The entry path(s) for the package",
16
+ oneOf: [{ type: "string" }, {
17
+ type: "array",
18
+ items: { type: "string" }
19
+ }]
20
+ } }
21
+ });
22
+
23
+ //#endregion
24
+ module.exports = untyped_default;
@@ -0,0 +1,25 @@
1
+ import untyped_default$1 from "../prepare/untyped.mjs";
2
+ import { defineUntypedSchema } from "untyped";
3
+
4
+ //#region src/executors/build/untyped.ts
5
+ var untyped_default = defineUntypedSchema({
6
+ ...untyped_default$1,
7
+ $schema: {
8
+ id: "BuildExecutorSchema",
9
+ title: "Build Executor",
10
+ description: "A type definition for the Powerlines - Build executor schema",
11
+ required: []
12
+ },
13
+ entry: { $schema: {
14
+ title: "Entry Path(s)",
15
+ description: "The entry path(s) for the package",
16
+ oneOf: [{ type: "string" }, {
17
+ type: "array",
18
+ items: { type: "string" }
19
+ }]
20
+ } }
21
+ });
22
+
23
+ //#endregion
24
+ export { untyped_default as default };
25
+ //# sourceMappingURL=untyped.mjs.map