@powerlines/plugin-env 0.15.122 → 0.15.124

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 (219) hide show
  1. package/dist/babel/plugin.cjs +11 -11
  2. package/dist/babel/plugin.d.cts +2 -2
  3. package/dist/babel/plugin.d.mts +2 -3
  4. package/dist/babel/plugin.mjs +5 -5
  5. package/dist/components/docs.cjs +6 -6
  6. package/dist/components/docs.d.cts +1 -1
  7. package/dist/components/docs.d.mts +1 -1
  8. package/dist/components/docs.mjs +3 -3
  9. package/dist/components/env.cjs +40 -40
  10. package/dist/components/env.d.cts +2 -2
  11. package/dist/components/env.d.mts +2 -2
  12. package/dist/components/env.mjs +11 -11
  13. package/dist/helpers/automd-generator.cjs +2 -2
  14. package/dist/helpers/automd-generator.d.cts +1 -1
  15. package/dist/helpers/automd-generator.d.mts +1 -1
  16. package/dist/helpers/automd-generator.mjs +1 -1
  17. package/dist/helpers/load.cjs +7 -7
  18. package/dist/helpers/load.mjs +8 -8
  19. package/dist/helpers/persistence.cjs +23 -23
  20. package/dist/helpers/persistence.d.cts +1 -1
  21. package/dist/helpers/persistence.d.mts +1 -1
  22. package/dist/helpers/persistence.mjs +5 -5
  23. package/dist/helpers/reflect.cjs +5 -5
  24. package/dist/helpers/reflect.mjs +1 -1
  25. package/dist/helpers/source-file-env.cjs +1 -1
  26. package/dist/helpers/source-file-env.mjs +1 -1
  27. package/dist/index.cjs +13 -10
  28. package/dist/index.d.cts +1 -1
  29. package/dist/index.d.mts +1 -1
  30. package/dist/index.mjs +12 -12
  31. package/dist/types/plugin.cjs +19 -18
  32. package/dist/types/plugin.d.cts +5 -6
  33. package/dist/types/plugin.d.mts +4 -6
  34. package/dist/types/plugin.mjs +4 -4
  35. package/package.json +7 -7
  36. package/dist/deepkit/schemas/reflection.cjs +0 -5426
  37. package/dist/deepkit/schemas/reflection.d.cts +0 -1560
  38. package/dist/deepkit/schemas/reflection.d.mts +0 -1560
  39. package/dist/deepkit/schemas/reflection.mjs +0 -5423
  40. package/dist/deepkit/schemas/reflection2.cjs +0 -4112
  41. package/dist/deepkit/schemas/reflection2.mjs +0 -4110
  42. package/dist/deepkit/src/capnp.cjs +0 -1692
  43. package/dist/deepkit/src/capnp.mjs +0 -1690
  44. package/dist/deepkit/src/esbuild-plugin.cjs +0 -99
  45. package/dist/deepkit/src/esbuild-plugin.mjs +0 -98
  46. package/dist/deepkit/src/reflect-type.cjs +0 -40
  47. package/dist/deepkit/src/reflect-type.mjs +0 -38
  48. package/dist/deepkit/src/resolve-reflections.cjs +0 -23
  49. package/dist/deepkit/src/resolve-reflections.mjs +0 -22
  50. package/dist/deepkit/src/transformer.cjs +0 -92
  51. package/dist/deepkit/src/transformer.mjs +0 -89
  52. package/dist/deepkit/src/transpile.cjs +0 -39
  53. package/dist/deepkit/src/transpile.mjs +0 -37
  54. package/dist/deepkit/src/types.cjs +0 -22
  55. package/dist/deepkit/src/types.d.cts +0 -10
  56. package/dist/deepkit/src/types.d.mts +0 -10
  57. package/dist/deepkit/src/types.mjs +0 -21
  58. package/dist/deepkit/src/utilities.cjs +0 -184
  59. package/dist/deepkit/src/utilities.mjs +0 -183
  60. package/dist/plugin-alloy/src/core/components/output.cjs +0 -43
  61. package/dist/plugin-alloy/src/core/components/output.mjs +0 -42
  62. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
  63. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
  64. package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
  65. package/dist/plugin-alloy/src/core/components/source-file.d.cts +0 -23
  66. package/dist/plugin-alloy/src/core/components/source-file.d.mts +0 -23
  67. package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
  68. package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -134
  69. package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -126
  70. package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
  71. package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
  72. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -110
  73. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -101
  74. package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -23
  75. package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -22
  76. package/dist/plugin-alloy/src/index.cjs +0 -105
  77. package/dist/plugin-alloy/src/index.mjs +0 -103
  78. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
  79. package/dist/plugin-alloy/src/markdown/components/markdown-file.d.cts +0 -8
  80. package/dist/plugin-alloy/src/markdown/components/markdown-file.d.mts +0 -8
  81. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
  82. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
  83. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
  84. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -72
  85. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -71
  86. package/dist/plugin-alloy/src/types/components.cjs +0 -22
  87. package/dist/plugin-alloy/src/types/components.d.cts +0 -20
  88. package/dist/plugin-alloy/src/types/components.d.mts +0 -21
  89. package/dist/plugin-alloy/src/types/components.mjs +0 -21
  90. package/dist/plugin-alloy/src/types/index.d.cts +0 -2
  91. package/dist/plugin-alloy/src/types/index.d.mts +0 -2
  92. package/dist/plugin-alloy/src/types/plugin.cjs +0 -53
  93. package/dist/plugin-alloy/src/types/plugin.d.cts +0 -36
  94. package/dist/plugin-alloy/src/types/plugin.d.mts +0 -36
  95. package/dist/plugin-alloy/src/types/plugin.mjs +0 -50
  96. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -62
  97. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +0 -26
  98. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +0 -26
  99. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -61
  100. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -131
  101. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -129
  102. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -451
  103. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +0 -37
  104. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +0 -37
  105. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -442
  106. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -216
  107. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +0 -16
  108. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +0 -16
  109. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -213
  110. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -72
  111. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +0 -12
  112. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +0 -12
  113. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -71
  114. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
  115. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
  116. package/dist/plugin-automd/src/index.cjs +0 -127
  117. package/dist/plugin-automd/src/index.mjs +0 -124
  118. package/dist/plugin-automd/src/types/plugin.cjs +0 -47
  119. package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
  120. package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
  121. package/dist/plugin-automd/src/types/plugin.mjs +0 -47
  122. package/dist/plugin-automd/src/types/toc.cjs +0 -26
  123. package/dist/plugin-automd/src/types/toc.d.cts +0 -33
  124. package/dist/plugin-automd/src/types/toc.d.mts +0 -33
  125. package/dist/plugin-automd/src/types/toc.mjs +0 -25
  126. package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -74
  127. package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -70
  128. package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -71
  129. package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -69
  130. package/dist/plugin-babel/src/helpers/filters.cjs +0 -158
  131. package/dist/plugin-babel/src/helpers/filters.mjs +0 -154
  132. package/dist/plugin-babel/src/helpers/index.cjs +0 -5
  133. package/dist/plugin-babel/src/helpers/index.mjs +0 -7
  134. package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -200
  135. package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -192
  136. package/dist/plugin-babel/src/helpers/options.cjs +0 -73
  137. package/dist/plugin-babel/src/helpers/options.mjs +0 -70
  138. package/dist/plugin-babel/src/index.cjs +0 -125
  139. package/dist/plugin-babel/src/index.mjs +0 -123
  140. package/dist/plugin-babel/src/types/index.d.mts +0 -1
  141. package/dist/plugin-babel/src/types/plugin.cjs +0 -42
  142. package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
  143. package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
  144. package/dist/plugin-babel/src/types/plugin.mjs +0 -39
  145. package/dist/powerlines/src/internal/helpers/hooks.cjs +0 -136
  146. package/dist/powerlines/src/internal/helpers/hooks.d.cts +0 -47
  147. package/dist/powerlines/src/internal/helpers/hooks.d.mts +0 -49
  148. package/dist/powerlines/src/internal/helpers/hooks.mjs +0 -134
  149. package/dist/powerlines/src/lib/build/esbuild.cjs +0 -142
  150. package/dist/powerlines/src/lib/build/esbuild.mjs +0 -140
  151. package/dist/powerlines/src/lib/constants/environments.cjs +0 -6
  152. package/dist/powerlines/src/lib/constants/environments.mjs +0 -5
  153. package/dist/powerlines/src/lib/entry.cjs +0 -195
  154. package/dist/powerlines/src/lib/entry.mjs +0 -194
  155. package/dist/powerlines/src/lib/logger.cjs +0 -108
  156. package/dist/powerlines/src/lib/logger.mjs +0 -106
  157. package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -41
  158. package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -40
  159. package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +0 -98
  160. package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +0 -97
  161. package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -139
  162. package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -138
  163. package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -74
  164. package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -72
  165. package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -69
  166. package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -68
  167. package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -68
  168. package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -66
  169. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -46
  170. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -45
  171. package/dist/powerlines/src/types/api.cjs +0 -62
  172. package/dist/powerlines/src/types/api.d.cts +0 -104
  173. package/dist/powerlines/src/types/api.d.mts +0 -104
  174. package/dist/powerlines/src/types/api.mjs +0 -62
  175. package/dist/powerlines/src/types/babel.cjs +0 -156
  176. package/dist/powerlines/src/types/babel.d.cts +0 -23
  177. package/dist/powerlines/src/types/babel.d.mts +0 -23
  178. package/dist/powerlines/src/types/babel.mjs +0 -147
  179. package/dist/powerlines/src/types/build.cjs +0 -127
  180. package/dist/powerlines/src/types/build.d.cts +0 -185
  181. package/dist/powerlines/src/types/build.d.mts +0 -185
  182. package/dist/powerlines/src/types/build.mjs +0 -121
  183. package/dist/powerlines/src/types/commands.cjs +0 -16
  184. package/dist/powerlines/src/types/commands.d.cts +0 -8
  185. package/dist/powerlines/src/types/commands.d.mts +0 -9
  186. package/dist/powerlines/src/types/commands.mjs +0 -15
  187. package/dist/powerlines/src/types/config.cjs +0 -420
  188. package/dist/powerlines/src/types/config.d.cts +0 -435
  189. package/dist/powerlines/src/types/config.d.mts +0 -436
  190. package/dist/powerlines/src/types/config.mjs +0 -397
  191. package/dist/powerlines/src/types/context.cjs +0 -388
  192. package/dist/powerlines/src/types/context.d.cts +0 -514
  193. package/dist/powerlines/src/types/context.d.mts +0 -514
  194. package/dist/powerlines/src/types/context.mjs +0 -371
  195. package/dist/powerlines/src/types/fs.cjs +0 -78
  196. package/dist/powerlines/src/types/fs.d.cts +0 -486
  197. package/dist/powerlines/src/types/fs.d.mts +0 -486
  198. package/dist/powerlines/src/types/fs.mjs +0 -75
  199. package/dist/powerlines/src/types/hooks.cjs +0 -71
  200. package/dist/powerlines/src/types/hooks.d.cts +0 -32
  201. package/dist/powerlines/src/types/hooks.d.mts +0 -32
  202. package/dist/powerlines/src/types/hooks.mjs +0 -68
  203. package/dist/powerlines/src/types/index.cjs +0 -11
  204. package/dist/powerlines/src/types/index.d.mts +0 -12
  205. package/dist/powerlines/src/types/index.mjs +0 -13
  206. package/dist/powerlines/src/types/plugin.cjs +0 -184
  207. package/dist/powerlines/src/types/plugin.d.cts +0 -205
  208. package/dist/powerlines/src/types/plugin.d.mts +0 -205
  209. package/dist/powerlines/src/types/plugin.mjs +0 -178
  210. package/dist/powerlines/src/types/resolved.cjs +0 -149
  211. package/dist/powerlines/src/types/resolved.d.cts +0 -94
  212. package/dist/powerlines/src/types/resolved.d.mts +0 -94
  213. package/dist/powerlines/src/types/resolved.mjs +0 -144
  214. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  215. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
  216. package/dist/powerlines/src/types/unplugin.cjs +0 -64
  217. package/dist/powerlines/src/types/unplugin.d.cts +0 -22
  218. package/dist/powerlines/src/types/unplugin.d.mts +0 -23
  219. package/dist/powerlines/src/types/unplugin.mjs +0 -62
@@ -1,127 +0,0 @@
1
-
2
- //#region ../powerlines/src/types/build.ts
3
- const __ΩRecord = [
4
- "K",
5
- "T",
6
- "Record",
7
- "l'e#\"Rb!b\"Pde\"!N#!w#y"
8
- ];
9
- const __ΩOmit = [
10
- "T",
11
- "K",
12
- () => __ΩPick,
13
- () => __ΩExclude,
14
- "Omit",
15
- "b!b\"e!!e!!ge!\"o$#o##w%y"
16
- ];
17
- const __ΩPick = [
18
- "T",
19
- "K",
20
- "Pick",
21
- "l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
22
- ];
23
- const __ΩExclude = [
24
- "T",
25
- "U",
26
- "Exclude",
27
- "l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
28
- ];
29
- const __ΩUnpluginBuilderVariant = [
30
- "rollup",
31
- "webpack",
32
- "rspack",
33
- "vite",
34
- "esbuild",
35
- "farm",
36
- "unloader",
37
- "rolldown",
38
- "bun",
39
- "UnpluginBuilderVariant",
40
- "P.!.\".#.$.%.&.'.(.)Jw*y"
41
- ];
42
- const UNPLUGIN_BUILDER_VARIANTS = [
43
- "rollup",
44
- "webpack",
45
- "rspack",
46
- "vite",
47
- "esbuild",
48
- "farm",
49
- "unloader",
50
- "rolldown",
51
- "bun"
52
- ];
53
- const BUILDER_VARIANTS = [
54
- ...UNPLUGIN_BUILDER_VARIANTS,
55
- "tsup",
56
- "tsdown",
57
- "unbuild"
58
- ];
59
- const __ΩBuildConfig = [
60
- "node",
61
- "browser",
62
- "neutral",
63
- "platform",
64
- "neutral",
65
- "The platform to build the project for",
66
- "polyfill",
67
- "Array of strings indicating the polyfills to include for the build.",
68
- "mainFields",
69
- "`['browser', 'module', 'jsnext:main', 'jsnext']`",
70
- "Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.",
71
- "conditions",
72
- "Array of strings indicating what conditions should be used for module resolution.",
73
- "extensions",
74
- "`['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`",
75
- "Array of strings indicating what file extensions should be used for module resolution.",
76
- "dedupe",
77
- "Array of strings indicating what modules should be deduplicated to a single version in the build.",
78
- "builtins",
79
- "Array of strings or regular expressions that indicate what modules are builtin for the environment.",
80
- () => __ΩRecord,
81
- "define",
82
- "Define global variable replacements.",
83
- () => __ΩRecord,
84
- "inject",
85
- "Global variables that will have import statements injected where necessary",
86
- () => __ΩRecord,
87
- "find",
88
- "replacement",
89
- "alias",
90
- "The alias mappings to use for module resolution during the build process.",
91
- "external",
92
- "A list of modules that should not be bundled, even if they are external dependencies.",
93
- "noExternal",
94
- "A list of modules that should always be bundled, even if they are external dependencies.",
95
- "skipNodeModulesBundle",
96
- "Should the Powerlines CLI processes skip bundling the `node_modules` directory?",
97
- "keepProcessEnv",
98
- true,
99
- "If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.",
100
- () => __ΩRecord,
101
- "override",
102
- "An optional set of override options to apply to the selected build variant.",
103
- "BuildConfig",
104
- "PP.!.\".#J4$8>%?&&F4'8?(&F4)8>*?+&F4,8?-&F4.8>/?0&F418?2P&AJF438?4&\"o5#468?7&P&&FJo8#498?:P&&o;#PP&AJ4<&4=MFJ4>8??P&AJF4@8?AP&AJF4B8?C)4D8?E)4F8>G?H&\"oI#4J8?KMwLy"
105
- ];
106
- const __ΩBuildResolvedConfig = [
107
- () => __ΩOmit,
108
- () => __ΩBuildConfig,
109
- "override",
110
- "BuildResolvedConfig",
111
- "n\".#o!#w$y"
112
- ];
113
- const __ΩESBuildResolvedBuildConfig = [
114
- () => __ΩOmit,
115
- "inject",
116
- () => __ΩBuildResolvedConfig,
117
- "ESBuildResolvedBuildConfig",
118
- "P!.\"o!#n#Kw$y"
119
- ];
120
-
121
- //#endregion
122
- exports.BUILDER_VARIANTS = BUILDER_VARIANTS;
123
- exports.UNPLUGIN_BUILDER_VARIANTS = UNPLUGIN_BUILDER_VARIANTS;
124
- exports.__ΩBuildConfig = __ΩBuildConfig;
125
- exports.__ΩBuildResolvedConfig = __ΩBuildResolvedConfig;
126
- exports.__ΩESBuildResolvedBuildConfig = __ΩESBuildResolvedBuildConfig;
127
- exports.__ΩUnpluginBuilderVariant = __ΩUnpluginBuilderVariant;
@@ -1,185 +0,0 @@
1
- import { OutputOptions, RollupOptions } from "rollup";
2
- import { UserConfig } from "@farmfe/core";
3
- import { Configuration } from "@rspack/core";
4
- import { BuildOptions } from "@storm-software/tsup/types";
5
- import { UnbuildOptions } from "@storm-software/unbuild/types";
6
- import { BuildOptions as BuildOptions$1 } from "esbuild";
7
- import { RolldownOptions } from "rolldown";
8
- import { UserConfig as UserConfig$1 } from "tsdown";
9
- import { DepOptimizationOptions, UserConfig as UserConfig$2 } from "vite";
10
- import { Configuration as Configuration$1 } from "webpack";
11
-
12
- //#region ../powerlines/src/types/build.d.ts
13
- type UnpluginBuilderVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown" | "bun";
14
- type BuilderVariant = UnpluginBuilderVariant | "tsup" | "tsdown" | "unbuild";
15
- type InferUnpluginVariant<TBuildVariant extends BuilderVariant> = TBuildVariant extends "tsup" ? "esbuild" : TBuildVariant extends "tsdown" ? "rolldown" : TBuildVariant extends "unbuild" ? "rollup" : TBuildVariant;
16
- interface BuildConfig {
17
- /**
18
- * The platform to build the project for
19
- *
20
- * @defaultValue "neutral"
21
- */
22
- platform?: "node" | "browser" | "neutral";
23
- /**
24
- * Array of strings indicating the polyfills to include for the build.
25
- *
26
- * @remarks
27
- * This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
28
- *
29
- * @example
30
- * ```ts
31
- * {
32
- * polyfill: ['{projectRoot}/custom-polyfill.ts']
33
- * }
34
- * ```
35
- */
36
- polyfill?: string[];
37
- /**
38
- * Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
39
- *
40
- * @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
41
- */
42
- mainFields?: string[];
43
- /**
44
- * Array of strings indicating what conditions should be used for module resolution.
45
- */
46
- conditions?: string[];
47
- /**
48
- * Array of strings indicating what file extensions should be used for module resolution.
49
- *
50
- * @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
51
- */
52
- extensions?: string[];
53
- /**
54
- * Array of strings indicating what modules should be deduplicated to a single version in the build.
55
- *
56
- * @remarks
57
- * This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
58
- */
59
- dedupe?: string[];
60
- /**
61
- * Array of strings or regular expressions that indicate what modules are builtin for the environment.
62
- */
63
- builtins?: (string | RegExp)[];
64
- /**
65
- * Define global variable replacements.
66
- *
67
- * @remarks
68
- * This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
69
- *
70
- * @example
71
- * ```ts
72
- * {
73
- * define: {
74
- * __VERSION__: '"1.0.0"',
75
- * __DEV__: 'process.env.NODE_ENV !== "production"'
76
- * }
77
- * }
78
- * ```
79
- *
80
- * @see https://esbuild.github.io/api/#define
81
- * @see https://vitejs.dev/config/build-options.html#define
82
- * @see https://github.com/rollup/plugins/tree/master/packages/replace
83
- */
84
- define?: Record<string, any>;
85
- /**
86
- * Global variables that will have import statements injected where necessary
87
- *
88
- * @remarks
89
- * This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
90
- *
91
- * @example
92
- * ```ts
93
- * {
94
- * inject: {
95
- * process: 'process/browser',
96
- * Buffer: ['buffer', 'Buffer'],
97
- * }
98
- * }
99
- * ```
100
- *
101
- * @see https://github.com/rollup/plugins/tree/master/packages/inject
102
- */
103
- inject?: Record<string, string | string[]>;
104
- /**
105
- * The alias mappings to use for module resolution during the build process.
106
- *
107
- * @remarks
108
- * This option allows you to define custom path aliases for modules, which can be useful for simplifying imports and managing dependencies.
109
- *
110
- * @example
111
- * ```ts
112
- * {
113
- * alias: {
114
- * "@utils": "./src/utils",
115
- * "@components": "./src/components"
116
- * }
117
- * }
118
- * ```
119
- *
120
- * @see https://github.com/rollup/plugins/tree/master/packages/alias
121
- */
122
- alias?: Record<string, string> | Array<{
123
- find: string | RegExp;
124
- replacement: string;
125
- }>;
126
- /**
127
- * A list of modules that should not be bundled, even if they are external dependencies.
128
- *
129
- * @remarks
130
- * This option is useful for excluding specific modules from the bundle, such as Node.js built-in modules or other libraries that should not be bundled.
131
- */
132
- external?: (string | RegExp)[];
133
- /**
134
- * A list of modules that should always be bundled, even if they are external dependencies.
135
- */
136
- noExternal?: (string | RegExp)[];
137
- /**
138
- * Should the Powerlines CLI processes skip bundling the `node_modules` directory?
139
- */
140
- skipNodeModulesBundle?: boolean;
141
- /**
142
- * If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
143
- *
144
- * @defaultValue false
145
- */
146
- keepProcessEnv?: boolean;
147
- /**
148
- * An optional set of override options to apply to the selected build variant.
149
- *
150
- * @remarks
151
- * This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
152
- */
153
- override?: Record<string, any>;
154
- }
155
- type BuildResolvedConfig = Omit<BuildConfig, "override">;
156
- type ESBuildBuildConfig = Omit<BuildOptions$1, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
157
- type ESBuildResolvedBuildConfig = Omit<BuildOptions$1, "inject"> & BuildResolvedConfig;
158
- type ViteBuildConfig = Omit<UserConfig$2, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
159
- /**
160
- * Optimize deps config
161
- */
162
- optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
163
- };
164
- type ViteResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
165
- type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
166
- type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
167
- type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
168
- type RspackResolvedBuildConfig = Configuration & BuildResolvedConfig;
169
- type RollupBuildOutputConfig = Omit<OutputOptions, "dir" | "format">;
170
- type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "output" | "logLevel"> & {
171
- output: RollupBuildOutputConfig | RollupBuildOutputConfig[];
172
- } & BuildConfig;
173
- type RollupResolvedBuildConfig = RollupOptions & BuildResolvedConfig;
174
- type RolldownBuildConfig = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output"> & BuildConfig;
175
- type RolldownResolvedBuildConfig = RolldownOptions & BuildResolvedConfig;
176
- type TsupBuildConfig = Partial<Omit<BuildOptions, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
177
- type TsupResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
178
- type TsdownBuildConfig = Partial<Omit<UserConfig$1, "name" | "outDir" | "clean" | "cwd" | "tsconfig" | "publicDir" | "copy" | "alias" | "format" | "platform" | "env" | "define" | "entry" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
179
- type TsdownResolvedBuildConfig = UserConfig$1 & BuildResolvedConfig;
180
- type UnbuildBuildConfig = Partial<Omit<UnbuildOptions, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
181
- type UnbuildResolvedBuildConfig = UnbuildOptions & BuildResolvedConfig;
182
- type FarmBuildConfig = Partial<Omit<UserConfig, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
183
- type FarmResolvedBuildConfig = UserConfig & BuildResolvedConfig;
184
- //#endregion
185
- export { BuildConfig, BuildResolvedConfig, BuilderVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuilderVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig };
@@ -1,185 +0,0 @@
1
- import { BuildOptions } from "esbuild";
2
- import { OutputOptions, RollupOptions } from "rollup";
3
- import { UserConfig } from "@farmfe/core";
4
- import { Configuration } from "@rspack/core";
5
- import { BuildOptions as BuildOptions$1 } from "@storm-software/tsup/types";
6
- import { UnbuildOptions } from "@storm-software/unbuild/types";
7
- import { RolldownOptions } from "rolldown";
8
- import { UserConfig as UserConfig$1 } from "tsdown";
9
- import { DepOptimizationOptions, UserConfig as UserConfig$2 } from "vite";
10
- import { Configuration as Configuration$1 } from "webpack";
11
-
12
- //#region ../powerlines/src/types/build.d.ts
13
- type UnpluginBuilderVariant = "rollup" | "webpack" | "rspack" | "vite" | "esbuild" | "farm" | "unloader" | "rolldown" | "bun";
14
- type BuilderVariant = UnpluginBuilderVariant | "tsup" | "tsdown" | "unbuild";
15
- type InferUnpluginVariant<TBuildVariant extends BuilderVariant> = TBuildVariant extends "tsup" ? "esbuild" : TBuildVariant extends "tsdown" ? "rolldown" : TBuildVariant extends "unbuild" ? "rollup" : TBuildVariant;
16
- interface BuildConfig {
17
- /**
18
- * The platform to build the project for
19
- *
20
- * @defaultValue "neutral"
21
- */
22
- platform?: "node" | "browser" | "neutral";
23
- /**
24
- * Array of strings indicating the polyfills to include for the build.
25
- *
26
- * @remarks
27
- * This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
28
- *
29
- * @example
30
- * ```ts
31
- * {
32
- * polyfill: ['{projectRoot}/custom-polyfill.ts']
33
- * }
34
- * ```
35
- */
36
- polyfill?: string[];
37
- /**
38
- * Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
39
- *
40
- * @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
41
- */
42
- mainFields?: string[];
43
- /**
44
- * Array of strings indicating what conditions should be used for module resolution.
45
- */
46
- conditions?: string[];
47
- /**
48
- * Array of strings indicating what file extensions should be used for module resolution.
49
- *
50
- * @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
51
- */
52
- extensions?: string[];
53
- /**
54
- * Array of strings indicating what modules should be deduplicated to a single version in the build.
55
- *
56
- * @remarks
57
- * This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
58
- */
59
- dedupe?: string[];
60
- /**
61
- * Array of strings or regular expressions that indicate what modules are builtin for the environment.
62
- */
63
- builtins?: (string | RegExp)[];
64
- /**
65
- * Define global variable replacements.
66
- *
67
- * @remarks
68
- * This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
69
- *
70
- * @example
71
- * ```ts
72
- * {
73
- * define: {
74
- * __VERSION__: '"1.0.0"',
75
- * __DEV__: 'process.env.NODE_ENV !== "production"'
76
- * }
77
- * }
78
- * ```
79
- *
80
- * @see https://esbuild.github.io/api/#define
81
- * @see https://vitejs.dev/config/build-options.html#define
82
- * @see https://github.com/rollup/plugins/tree/master/packages/replace
83
- */
84
- define?: Record<string, any>;
85
- /**
86
- * Global variables that will have import statements injected where necessary
87
- *
88
- * @remarks
89
- * This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
90
- *
91
- * @example
92
- * ```ts
93
- * {
94
- * inject: {
95
- * process: 'process/browser',
96
- * Buffer: ['buffer', 'Buffer'],
97
- * }
98
- * }
99
- * ```
100
- *
101
- * @see https://github.com/rollup/plugins/tree/master/packages/inject
102
- */
103
- inject?: Record<string, string | string[]>;
104
- /**
105
- * The alias mappings to use for module resolution during the build process.
106
- *
107
- * @remarks
108
- * This option allows you to define custom path aliases for modules, which can be useful for simplifying imports and managing dependencies.
109
- *
110
- * @example
111
- * ```ts
112
- * {
113
- * alias: {
114
- * "@utils": "./src/utils",
115
- * "@components": "./src/components"
116
- * }
117
- * }
118
- * ```
119
- *
120
- * @see https://github.com/rollup/plugins/tree/master/packages/alias
121
- */
122
- alias?: Record<string, string> | Array<{
123
- find: string | RegExp;
124
- replacement: string;
125
- }>;
126
- /**
127
- * A list of modules that should not be bundled, even if they are external dependencies.
128
- *
129
- * @remarks
130
- * This option is useful for excluding specific modules from the bundle, such as Node.js built-in modules or other libraries that should not be bundled.
131
- */
132
- external?: (string | RegExp)[];
133
- /**
134
- * A list of modules that should always be bundled, even if they are external dependencies.
135
- */
136
- noExternal?: (string | RegExp)[];
137
- /**
138
- * Should the Powerlines CLI processes skip bundling the `node_modules` directory?
139
- */
140
- skipNodeModulesBundle?: boolean;
141
- /**
142
- * If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.
143
- *
144
- * @defaultValue false
145
- */
146
- keepProcessEnv?: boolean;
147
- /**
148
- * An optional set of override options to apply to the selected build variant.
149
- *
150
- * @remarks
151
- * This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
152
- */
153
- override?: Record<string, any>;
154
- }
155
- type BuildResolvedConfig = Omit<BuildConfig, "override">;
156
- type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
157
- type ESBuildResolvedBuildConfig = Omit<BuildOptions, "inject"> & BuildResolvedConfig;
158
- type ViteBuildConfig = Omit<UserConfig$2, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
159
- /**
160
- * Optimize deps config
161
- */
162
- optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
163
- };
164
- type ViteResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
165
- type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
166
- type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
167
- type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
168
- type RspackResolvedBuildConfig = Configuration & BuildResolvedConfig;
169
- type RollupBuildOutputConfig = Omit<OutputOptions, "dir" | "format">;
170
- type RollupBuildConfig = Omit<RollupOptions, "entry" | "external" | "input" | "output" | "logLevel"> & {
171
- output: RollupBuildOutputConfig | RollupBuildOutputConfig[];
172
- } & BuildConfig;
173
- type RollupResolvedBuildConfig = RollupOptions & BuildResolvedConfig;
174
- type RolldownBuildConfig = Omit<RolldownOptions, "input" | "external" | "tsconfig" | "logLevel" | "output"> & BuildConfig;
175
- type RolldownResolvedBuildConfig = RolldownOptions & BuildResolvedConfig;
176
- type TsupBuildConfig = Partial<Omit<BuildOptions$1, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
177
- type TsupResolvedBuildConfig = BuildOptions$1 & BuildResolvedConfig;
178
- type TsdownBuildConfig = Partial<Omit<UserConfig$1, "name" | "outDir" | "clean" | "cwd" | "tsconfig" | "publicDir" | "copy" | "alias" | "format" | "platform" | "env" | "define" | "entry" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
179
- type TsdownResolvedBuildConfig = UserConfig$1 & BuildResolvedConfig;
180
- type UnbuildBuildConfig = Partial<Omit<UnbuildOptions, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
181
- type UnbuildResolvedBuildConfig = UnbuildOptions & BuildResolvedConfig;
182
- type FarmBuildConfig = Partial<Omit<UserConfig, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
183
- type FarmResolvedBuildConfig = UserConfig & BuildResolvedConfig;
184
- //#endregion
185
- export { BuildConfig, BuildResolvedConfig, BuilderVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuilderVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig };
@@ -1,121 +0,0 @@
1
- //#region ../powerlines/src/types/build.ts
2
- const __ΩRecord = [
3
- "K",
4
- "T",
5
- "Record",
6
- "l'e#\"Rb!b\"Pde\"!N#!w#y"
7
- ];
8
- const __ΩOmit = [
9
- "T",
10
- "K",
11
- () => __ΩPick,
12
- () => __ΩExclude,
13
- "Omit",
14
- "b!b\"e!!e!!ge!\"o$#o##w%y"
15
- ];
16
- const __ΩPick = [
17
- "T",
18
- "K",
19
- "Pick",
20
- "l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
21
- ];
22
- const __ΩExclude = [
23
- "T",
24
- "U",
25
- "Exclude",
26
- "l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
27
- ];
28
- const __ΩUnpluginBuilderVariant = [
29
- "rollup",
30
- "webpack",
31
- "rspack",
32
- "vite",
33
- "esbuild",
34
- "farm",
35
- "unloader",
36
- "rolldown",
37
- "bun",
38
- "UnpluginBuilderVariant",
39
- "P.!.\".#.$.%.&.'.(.)Jw*y"
40
- ];
41
- const UNPLUGIN_BUILDER_VARIANTS = [
42
- "rollup",
43
- "webpack",
44
- "rspack",
45
- "vite",
46
- "esbuild",
47
- "farm",
48
- "unloader",
49
- "rolldown",
50
- "bun"
51
- ];
52
- const BUILDER_VARIANTS = [
53
- ...UNPLUGIN_BUILDER_VARIANTS,
54
- "tsup",
55
- "tsdown",
56
- "unbuild"
57
- ];
58
- const __ΩBuildConfig = [
59
- "node",
60
- "browser",
61
- "neutral",
62
- "platform",
63
- "neutral",
64
- "The platform to build the project for",
65
- "polyfill",
66
- "Array of strings indicating the polyfills to include for the build.",
67
- "mainFields",
68
- "`['browser', 'module', 'jsnext:main', 'jsnext']`",
69
- "Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.",
70
- "conditions",
71
- "Array of strings indicating what conditions should be used for module resolution.",
72
- "extensions",
73
- "`['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`",
74
- "Array of strings indicating what file extensions should be used for module resolution.",
75
- "dedupe",
76
- "Array of strings indicating what modules should be deduplicated to a single version in the build.",
77
- "builtins",
78
- "Array of strings or regular expressions that indicate what modules are builtin for the environment.",
79
- () => __ΩRecord,
80
- "define",
81
- "Define global variable replacements.",
82
- () => __ΩRecord,
83
- "inject",
84
- "Global variables that will have import statements injected where necessary",
85
- () => __ΩRecord,
86
- "find",
87
- "replacement",
88
- "alias",
89
- "The alias mappings to use for module resolution during the build process.",
90
- "external",
91
- "A list of modules that should not be bundled, even if they are external dependencies.",
92
- "noExternal",
93
- "A list of modules that should always be bundled, even if they are external dependencies.",
94
- "skipNodeModulesBundle",
95
- "Should the Powerlines CLI processes skip bundling the `node_modules` directory?",
96
- "keepProcessEnv",
97
- true,
98
- "If true, `process.env` referenced in code will be preserved as-is and evaluated in runtime. Otherwise, it is statically replaced as an empty object.",
99
- () => __ΩRecord,
100
- "override",
101
- "An optional set of override options to apply to the selected build variant.",
102
- "BuildConfig",
103
- "PP.!.\".#J4$8>%?&&F4'8?(&F4)8>*?+&F4,8?-&F4.8>/?0&F418?2P&AJF438?4&\"o5#468?7&P&&FJo8#498?:P&&o;#PP&AJ4<&4=MFJ4>8??P&AJF4@8?AP&AJF4B8?C)4D8?E)4F8>G?H&\"oI#4J8?KMwLy"
104
- ];
105
- const __ΩBuildResolvedConfig = [
106
- () => __ΩOmit,
107
- () => __ΩBuildConfig,
108
- "override",
109
- "BuildResolvedConfig",
110
- "n\".#o!#w$y"
111
- ];
112
- const __ΩESBuildResolvedBuildConfig = [
113
- () => __ΩOmit,
114
- "inject",
115
- () => __ΩBuildResolvedConfig,
116
- "ESBuildResolvedBuildConfig",
117
- "P!.\"o!#n#Kw$y"
118
- ];
119
-
120
- //#endregion
121
- export { BUILDER_VARIANTS, UNPLUGIN_BUILDER_VARIANTS, __ΩBuildConfig, __ΩBuildResolvedConfig, __ΩESBuildResolvedBuildConfig, __ΩUnpluginBuilderVariant };
@@ -1,16 +0,0 @@
1
-
2
- //#region ../powerlines/src/types/commands.ts
3
- const SUPPORTED_COMMANDS = [
4
- "new",
5
- "clean",
6
- "prepare",
7
- "lint",
8
- "test",
9
- "build",
10
- "docs",
11
- "deploy",
12
- "finalize"
13
- ];
14
-
15
- //#endregion
16
- exports.SUPPORTED_COMMANDS = SUPPORTED_COMMANDS;
@@ -1,8 +0,0 @@
1
- import { ArrayValues } from "@stryke/types/array";
2
- import { MaybePromise } from "@stryke/types/base";
3
-
4
- //#region ../powerlines/src/types/commands.d.ts
5
- declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
6
- type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
7
- //#endregion
8
- export { CommandType };
@@ -1,9 +0,0 @@
1
- import "./context.mjs";
2
- import { ArrayValues } from "@stryke/types/array";
3
- import { MaybePromise } from "@stryke/types/base";
4
-
5
- //#region ../powerlines/src/types/commands.d.ts
6
- declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
7
- type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
8
- //#endregion
9
- export { CommandType, SUPPORTED_COMMANDS };
@@ -1,15 +0,0 @@
1
- //#region ../powerlines/src/types/commands.ts
2
- const SUPPORTED_COMMANDS = [
3
- "new",
4
- "clean",
5
- "prepare",
6
- "lint",
7
- "test",
8
- "build",
9
- "docs",
10
- "deploy",
11
- "finalize"
12
- ];
13
-
14
- //#endregion
15
- export { SUPPORTED_COMMANDS };