@powerlines/plugin-env 0.15.4 → 0.15.6

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 (264) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/babel/index.cjs +1 -0
  3. package/dist/babel/index.d.cts +1 -0
  4. package/dist/babel/index.d.mts +1 -0
  5. package/dist/babel/index.mjs +3 -0
  6. package/dist/babel/plugin.cjs +200 -0
  7. package/dist/babel/plugin.d.cts +8 -0
  8. package/dist/babel/plugin.d.mts +9 -0
  9. package/dist/babel/plugin.mjs +198 -0
  10. package/dist/components/docs.cjs +70 -3
  11. package/dist/components/docs.d.cts +8 -1
  12. package/dist/components/docs.d.mts +8 -1
  13. package/dist/components/docs.mjs +68 -2
  14. package/dist/components/env.cjs +574 -4
  15. package/dist/components/env.d.cts +19 -2
  16. package/dist/components/env.d.mts +19 -3
  17. package/dist/components/env.mjs +570 -2
  18. package/dist/components/index.cjs +5 -7
  19. package/dist/components/index.d.cts +2 -4
  20. package/dist/components/index.d.mts +2 -5
  21. package/dist/components/index.mjs +2 -4
  22. package/dist/deepkit/schemas/reflection.cjs +5368 -0
  23. package/dist/{plugin-BwuEBScL.d.cts → deepkit/schemas/reflection.d.cts} +1 -268
  24. package/dist/{plugin-BaInAuAh.d.mts → deepkit/schemas/reflection.d.mts} +59 -326
  25. package/dist/deepkit/schemas/reflection.mjs +5365 -0
  26. package/dist/deepkit/schemas/reflection2.cjs +4112 -0
  27. package/dist/deepkit/schemas/reflection2.mjs +4110 -0
  28. package/dist/deepkit/src/capnp.cjs +1692 -0
  29. package/dist/deepkit/src/capnp.mjs +1690 -0
  30. package/dist/deepkit/src/esbuild-plugin.cjs +99 -0
  31. package/dist/deepkit/src/esbuild-plugin.mjs +98 -0
  32. package/dist/deepkit/src/reflect-type.cjs +40 -0
  33. package/dist/deepkit/src/reflect-type.mjs +38 -0
  34. package/dist/deepkit/src/resolve-reflections.cjs +23 -0
  35. package/dist/deepkit/src/resolve-reflections.mjs +22 -0
  36. package/dist/deepkit/src/transformer.cjs +92 -0
  37. package/dist/deepkit/src/transformer.mjs +89 -0
  38. package/dist/deepkit/src/transpile.cjs +39 -0
  39. package/dist/deepkit/src/transpile.mjs +37 -0
  40. package/dist/deepkit/src/types.cjs +22 -0
  41. package/dist/deepkit/src/types.d.cts +10 -0
  42. package/dist/deepkit/src/types.d.mts +10 -0
  43. package/dist/deepkit/src/types.mjs +21 -0
  44. package/dist/deepkit/src/utilities.cjs +182 -0
  45. package/dist/deepkit/src/utilities.mjs +181 -0
  46. package/dist/helpers/automd-generator.cjs +32 -0
  47. package/dist/helpers/automd-generator.mjs +31 -0
  48. package/dist/helpers/create-reflection-resource.cjs +98 -0
  49. package/dist/helpers/create-reflection-resource.d.cts +15 -0
  50. package/dist/helpers/create-reflection-resource.d.mts +15 -0
  51. package/dist/helpers/create-reflection-resource.mjs +97 -0
  52. package/dist/helpers/index.cjs +6 -0
  53. package/dist/helpers/index.d.cts +6 -0
  54. package/dist/helpers/index.d.mts +6 -0
  55. package/dist/helpers/index.mjs +8 -0
  56. package/dist/helpers/load.cjs +134 -0
  57. package/dist/helpers/load.d.cts +35 -0
  58. package/dist/helpers/load.d.mts +36 -0
  59. package/dist/helpers/load.mjs +131 -0
  60. package/dist/helpers/persistence.cjs +320 -0
  61. package/dist/helpers/persistence.d.cts +84 -0
  62. package/dist/helpers/persistence.d.mts +84 -0
  63. package/dist/helpers/persistence.mjs +308 -0
  64. package/dist/helpers/reflect.cjs +263 -0
  65. package/dist/helpers/reflect.d.cts +46 -0
  66. package/dist/helpers/reflect.d.mts +46 -0
  67. package/dist/helpers/reflect.mjs +254 -0
  68. package/dist/helpers/source-file-env.cjs +58 -0
  69. package/dist/helpers/source-file-env.d.cts +8 -0
  70. package/dist/helpers/source-file-env.d.mts +8 -0
  71. package/dist/helpers/source-file-env.mjs +56 -0
  72. package/dist/helpers/template-helpers.cjs +70 -0
  73. package/dist/helpers/template-helpers.d.cts +15 -0
  74. package/dist/helpers/template-helpers.d.mts +15 -0
  75. package/dist/helpers/template-helpers.mjs +69 -0
  76. package/dist/index.cjs +82 -696
  77. package/dist/index.d.cts +16 -185
  78. package/dist/index.d.mts +17 -190
  79. package/dist/index.mjs +31 -648
  80. package/dist/plugin-alloy/src/core/components/output.cjs +45 -0
  81. package/dist/plugin-alloy/src/core/components/output.mjs +44 -0
  82. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +22 -0
  83. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +21 -0
  84. package/dist/plugin-alloy/src/core/components/source-file.cjs +64 -0
  85. package/dist/plugin-alloy/src/core/components/source-file.d.cts +23 -0
  86. package/dist/plugin-alloy/src/core/components/source-file.d.mts +23 -0
  87. package/dist/plugin-alloy/src/core/components/source-file.mjs +62 -0
  88. package/dist/plugin-alloy/src/core/contexts/context.cjs +136 -0
  89. package/dist/plugin-alloy/src/core/contexts/context.mjs +128 -0
  90. package/dist/plugin-alloy/src/core/contexts/index.cjs +2 -0
  91. package/dist/plugin-alloy/src/core/contexts/index.mjs +4 -0
  92. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +110 -0
  93. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +101 -0
  94. package/dist/plugin-alloy/src/helpers/refkey.cjs +23 -0
  95. package/dist/plugin-alloy/src/helpers/refkey.mjs +22 -0
  96. package/dist/plugin-alloy/src/index.cjs +93 -0
  97. package/dist/plugin-alloy/src/index.mjs +91 -0
  98. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +115 -0
  99. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +114 -0
  100. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +39 -0
  101. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +38 -0
  102. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +72 -0
  103. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +71 -0
  104. package/dist/plugin-alloy/src/types/components.cjs +22 -0
  105. package/dist/plugin-alloy/src/types/components.d.cts +22 -0
  106. package/dist/{components-8W0Zgj0y.d.mts → plugin-alloy/src/types/components.d.mts} +2 -1
  107. package/dist/plugin-alloy/src/types/components.mjs +21 -0
  108. package/dist/plugin-alloy/src/types/index.d.mts +2 -0
  109. package/dist/plugin-alloy/src/types/plugin.cjs +55 -0
  110. package/dist/plugin-alloy/src/types/plugin.d.cts +37 -0
  111. package/dist/plugin-alloy/src/types/plugin.d.mts +37 -0
  112. package/dist/plugin-alloy/src/types/plugin.mjs +52 -0
  113. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +57 -0
  114. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +25 -0
  115. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +26 -0
  116. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +56 -0
  117. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +126 -0
  118. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +124 -0
  119. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +442 -0
  120. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +27 -0
  121. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +28 -0
  122. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +433 -0
  123. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +194 -0
  124. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +14 -0
  125. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +15 -0
  126. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +191 -0
  127. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +68 -0
  128. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +11 -0
  129. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +12 -0
  130. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +67 -0
  131. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +124 -0
  132. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +123 -0
  133. package/dist/plugin-automd/src/index.cjs +127 -0
  134. package/dist/plugin-automd/src/index.mjs +124 -0
  135. package/dist/plugin-automd/src/types/plugin.cjs +47 -0
  136. package/dist/plugin-automd/src/types/plugin.d.cts +38 -0
  137. package/dist/plugin-automd/src/types/plugin.d.mts +40 -0
  138. package/dist/plugin-automd/src/types/plugin.mjs +47 -0
  139. package/dist/plugin-automd/src/types/toc.cjs +26 -0
  140. package/dist/plugin-automd/src/types/toc.d.cts +33 -0
  141. package/dist/plugin-automd/src/types/toc.d.mts +33 -0
  142. package/dist/plugin-automd/src/types/toc.mjs +25 -0
  143. package/dist/plugin-babel/src/helpers/ast-utils.cjs +74 -0
  144. package/dist/plugin-babel/src/helpers/ast-utils.mjs +70 -0
  145. package/dist/plugin-babel/src/helpers/create-plugin.cjs +71 -0
  146. package/dist/plugin-babel/src/helpers/create-plugin.mjs +69 -0
  147. package/dist/plugin-babel/src/helpers/filters.cjs +158 -0
  148. package/dist/plugin-babel/src/helpers/filters.mjs +154 -0
  149. package/dist/plugin-babel/src/helpers/index.cjs +5 -0
  150. package/dist/plugin-babel/src/helpers/index.mjs +7 -0
  151. package/dist/plugin-babel/src/helpers/module-helpers.cjs +200 -0
  152. package/dist/plugin-babel/src/helpers/module-helpers.mjs +192 -0
  153. package/dist/plugin-babel/src/helpers/options.cjs +74 -0
  154. package/dist/plugin-babel/src/helpers/options.mjs +71 -0
  155. package/dist/plugin-babel/src/index.cjs +134 -0
  156. package/dist/plugin-babel/src/index.mjs +132 -0
  157. package/dist/plugin-babel/src/types/index.d.mts +1 -0
  158. package/dist/plugin-babel/src/types/plugin.cjs +42 -0
  159. package/dist/plugin-babel/src/types/plugin.d.cts +15 -0
  160. package/dist/plugin-babel/src/types/plugin.d.mts +15 -0
  161. package/dist/plugin-babel/src/types/plugin.mjs +39 -0
  162. package/dist/powerlines/schemas/fs.d.mts +1 -0
  163. package/dist/powerlines/src/api.d.mts +7 -0
  164. package/dist/powerlines/src/index.d.mts +12 -0
  165. package/dist/powerlines/src/internal/helpers/hooks.cjs +119 -0
  166. package/dist/powerlines/src/internal/helpers/hooks.d.mts +5 -0
  167. package/dist/powerlines/src/internal/helpers/hooks.mjs +118 -0
  168. package/dist/powerlines/src/lib/build/esbuild.cjs +161 -0
  169. package/dist/powerlines/src/lib/build/esbuild.mjs +159 -0
  170. package/dist/powerlines/src/lib/entry.cjs +203 -0
  171. package/dist/powerlines/src/lib/entry.mjs +201 -0
  172. package/dist/powerlines/src/lib/logger.cjs +108 -0
  173. package/dist/powerlines/src/lib/logger.mjs +106 -0
  174. package/dist/powerlines/src/lib/utilities/bundle.cjs +67 -0
  175. package/dist/powerlines/src/lib/utilities/bundle.mjs +66 -0
  176. package/dist/powerlines/src/lib/utilities/resolve.cjs +49 -0
  177. package/dist/powerlines/src/lib/utilities/resolve.mjs +48 -0
  178. package/dist/powerlines/src/plugin-utils/paths.cjs +46 -0
  179. package/dist/powerlines/src/plugin-utils/paths.mjs +45 -0
  180. package/dist/powerlines/src/types/api.cjs +1 -0
  181. package/dist/powerlines/src/types/api.d.mts +5 -0
  182. package/dist/powerlines/src/types/api.mjs +3 -0
  183. package/dist/powerlines/src/types/babel.cjs +156 -0
  184. package/dist/powerlines/src/types/babel.d.cts +23 -0
  185. package/dist/powerlines/src/types/babel.d.mts +23 -0
  186. package/dist/powerlines/src/types/babel.mjs +147 -0
  187. package/dist/powerlines/src/types/build.cjs +105 -0
  188. package/dist/powerlines/src/types/build.d.cts +145 -0
  189. package/dist/powerlines/src/types/build.d.mts +147 -0
  190. package/dist/powerlines/src/types/build.mjs +101 -0
  191. package/dist/powerlines/src/types/commands.cjs +16 -0
  192. package/dist/powerlines/src/types/commands.d.cts +8 -0
  193. package/dist/powerlines/src/types/commands.d.mts +9 -0
  194. package/dist/powerlines/src/types/commands.mjs +15 -0
  195. package/dist/powerlines/src/types/config.cjs +306 -0
  196. package/dist/powerlines/src/types/config.d.cts +387 -0
  197. package/dist/powerlines/src/types/config.d.mts +388 -0
  198. package/dist/powerlines/src/types/config.mjs +293 -0
  199. package/dist/powerlines/src/types/context.cjs +324 -0
  200. package/dist/powerlines/src/types/context.d.cts +414 -0
  201. package/dist/powerlines/src/types/context.d.mts +416 -0
  202. package/dist/powerlines/src/types/context.mjs +311 -0
  203. package/dist/powerlines/src/types/fs.cjs +78 -0
  204. package/dist/powerlines/src/types/fs.d.cts +486 -0
  205. package/dist/powerlines/src/types/fs.d.mts +486 -0
  206. package/dist/powerlines/src/types/fs.mjs +75 -0
  207. package/dist/powerlines/src/types/hooks.cjs +52 -0
  208. package/dist/powerlines/src/types/hooks.d.mts +2 -0
  209. package/dist/powerlines/src/types/hooks.mjs +48 -0
  210. package/dist/powerlines/src/types/index.cjs +11 -0
  211. package/dist/powerlines/src/types/index.d.mts +12 -0
  212. package/dist/powerlines/src/types/index.mjs +13 -0
  213. package/dist/powerlines/src/types/plugin.cjs +249 -0
  214. package/dist/powerlines/src/types/plugin.d.cts +231 -0
  215. package/dist/powerlines/src/types/plugin.d.mts +231 -0
  216. package/dist/powerlines/src/types/plugin.mjs +240 -0
  217. package/dist/powerlines/src/types/resolved.cjs +153 -0
  218. package/dist/powerlines/src/types/resolved.d.cts +82 -0
  219. package/dist/powerlines/src/types/resolved.d.mts +83 -0
  220. package/dist/powerlines/src/types/resolved.mjs +148 -0
  221. package/dist/powerlines/src/types/tsconfig.d.cts +69 -0
  222. package/dist/powerlines/src/types/tsconfig.d.mts +69 -0
  223. package/dist/powerlines/src/types/unplugin.cjs +1 -0
  224. package/dist/powerlines/src/types/unplugin.d.mts +7 -0
  225. package/dist/powerlines/src/types/unplugin.mjs +3 -0
  226. package/dist/types/index.cjs +10 -3
  227. package/dist/types/index.d.cts +2 -4
  228. package/dist/types/index.d.mts +2 -5
  229. package/dist/types/index.mjs +3 -4
  230. package/dist/types/plugin.cjs +133 -1
  231. package/dist/types/plugin.d.cts +156 -3
  232. package/dist/types/plugin.d.mts +158 -4
  233. package/dist/types/plugin.mjs +128 -2
  234. package/dist/types/runtime.cjs +242 -1
  235. package/dist/types/runtime.d.cts +793 -2
  236. package/dist/types/runtime.d.mts +793 -2
  237. package/dist/types/runtime.mjs +240 -2
  238. package/package.json +13 -9
  239. package/dist/components-C9bYrQVK.cjs +0 -0
  240. package/dist/components-CNIQFfeK.mjs +0 -1
  241. package/dist/create-reflection-resource-BNYxBgW2.mjs +0 -9846
  242. package/dist/create-reflection-resource-BWYhmX7O.cjs +0 -10085
  243. package/dist/docs-5r844zC1.d.mts +0 -9
  244. package/dist/docs-B66b9li3.mjs +0 -219
  245. package/dist/docs-_MmTNBQX.d.cts +0 -9
  246. package/dist/docs-hBlKCRWK.cjs +0 -224
  247. package/dist/env-BPodCdD1.d.cts +0 -116
  248. package/dist/env-IQvgnabX.mjs +0 -1578
  249. package/dist/env-cO4BUDn1.cjs +0 -1596
  250. package/dist/env-zhzvpUI5.d.mts +0 -98
  251. package/dist/index-BXxhKmeA.d.mts +0 -1
  252. package/dist/index-Cc7fCJU9.d.mts +0 -1
  253. package/dist/index-CqdNToYT.d.cts +0 -1
  254. package/dist/index-DWPDThxu.d.cts +0 -1
  255. package/dist/plugin-D3B5E_Hg.mjs +0 -1
  256. package/dist/plugin-D5qyQPqC.cjs +0 -0
  257. package/dist/resolved-BZG2cwRG.d.cts +0 -1789
  258. package/dist/resolved-V5COsfDu.d.mts +0 -1791
  259. package/dist/runtime-Bisl_1Ja.cjs +0 -0
  260. package/dist/runtime-Q8Ni8SeN.d.cts +0 -794
  261. package/dist/runtime-azNoeKr-.mjs +0 -1
  262. package/dist/runtime-qZ0Z2kEd.d.mts +0 -794
  263. package/dist/types-DwElXV6q.mjs +0 -1
  264. package/dist/types-MYBaygjr.cjs +0 -0
@@ -0,0 +1,82 @@
1
+ import { BabelUserConfig, EnvironmentConfig, InlineConfig, OutputConfig, UserConfig } from "./config.cjs";
2
+ import { NonUndefined } from "@stryke/types/base";
3
+ import { AssetGlob } from "@stryke/types/file";
4
+ import { TypeDefinition } from "@stryke/types/configuration";
5
+ import { ResolvedPreviewOptions } from "vite";
6
+
7
+ //#region ../powerlines/src/types/resolved.d.ts
8
+ interface ResolvedEntryTypeDefinition extends TypeDefinition {
9
+ /**
10
+ * The user provided entry point in the source code
11
+ */
12
+ input?: TypeDefinition;
13
+ /**
14
+ * An optional name to use in the package export during the build process
15
+ */
16
+ output?: string;
17
+ }
18
+ type BabelResolvedConfig = Omit<BabelUserConfig, "plugins" | "presets"> & Required<Pick<BabelUserConfig, "plugins" | "presets">>;
19
+ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "ssr">> & {
20
+ /**
21
+ * The name of the environment
22
+ */
23
+ name: string;
24
+ /**
25
+ * Configuration options for the preview server
26
+ */
27
+ preview?: ResolvedPreviewOptions;
28
+ };
29
+ type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
30
+ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> & {
31
+ assets: ResolvedAssetGlob[];
32
+ }> & Pick<OutputConfig, "storage">;
33
+ /**
34
+ * The resolved options for the Powerlines project configuration.
35
+ */
36
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
37
+ /**
38
+ * The configuration options that were provided inline to the Powerlines CLI.
39
+ */
40
+ inlineConfig: InlineConfig<TUserConfig>;
41
+ /**
42
+ * The original configuration options that were provided by the user to the Powerlines process.
43
+ */
44
+ userConfig: TUserConfig;
45
+ /**
46
+ * A string identifier for the Powerlines command being executed.
47
+ */
48
+ command: NonUndefined<InlineConfig<TUserConfig>["command"]>;
49
+ /**
50
+ * The root directory of the project's source code
51
+ *
52
+ * @defaultValue "\{projectRoot\}/src"
53
+ */
54
+ sourceRoot: NonUndefined<TUserConfig["sourceRoot"]>;
55
+ /**
56
+ * The root directory of the project.
57
+ */
58
+ projectRoot: NonUndefined<TUserConfig["root"]>;
59
+ /**
60
+ * The type of project being built.
61
+ */
62
+ projectType: NonUndefined<TUserConfig["type"]>;
63
+ /**
64
+ * The output configuration options to use for the build process
65
+ */
66
+ output: OutputResolvedConfig;
67
+ /**
68
+ * Configuration provided to build processes
69
+ *
70
+ * @remarks
71
+ * This configuration can be used by plugins during the `build` command. It will generally contain options specific to the selected {@link BuildVariant | build variant}.
72
+ */
73
+ build: Omit<TUserConfig["build"], "override"> & Required<Pick<Required<TUserConfig["build"]>, "override">>;
74
+ /**
75
+ * The log level to use for the Powerlines processes.
76
+ *
77
+ * @defaultValue "info"
78
+ */
79
+ logLevel: "error" | "warn" | "info" | "debug" | "trace" | null;
80
+ };
81
+ //#endregion
82
+ export { BabelResolvedConfig, EnvironmentResolvedConfig, ResolvedConfig, ResolvedEntryTypeDefinition };
@@ -0,0 +1,83 @@
1
+ import "./build.mjs";
2
+ import { BabelUserConfig, EnvironmentConfig, InlineConfig, OutputConfig, UserConfig } from "./config.mjs";
3
+ import { NonUndefined } from "@stryke/types/base";
4
+ import { AssetGlob } from "@stryke/types/file";
5
+ import { TypeDefinition } from "@stryke/types/configuration";
6
+ import { ResolvedPreviewOptions } from "vite";
7
+
8
+ //#region ../powerlines/src/types/resolved.d.ts
9
+ interface ResolvedEntryTypeDefinition extends TypeDefinition {
10
+ /**
11
+ * The user provided entry point in the source code
12
+ */
13
+ input?: TypeDefinition;
14
+ /**
15
+ * An optional name to use in the package export during the build process
16
+ */
17
+ output?: string;
18
+ }
19
+ type BabelResolvedConfig = Omit<BabelUserConfig, "plugins" | "presets"> & Required<Pick<BabelUserConfig, "plugins" | "presets">>;
20
+ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "ssr">> & {
21
+ /**
22
+ * The name of the environment
23
+ */
24
+ name: string;
25
+ /**
26
+ * Configuration options for the preview server
27
+ */
28
+ preview?: ResolvedPreviewOptions;
29
+ };
30
+ type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
31
+ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> & {
32
+ assets: ResolvedAssetGlob[];
33
+ }> & Pick<OutputConfig, "storage">;
34
+ /**
35
+ * The resolved options for the Powerlines project configuration.
36
+ */
37
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
38
+ /**
39
+ * The configuration options that were provided inline to the Powerlines CLI.
40
+ */
41
+ inlineConfig: InlineConfig<TUserConfig>;
42
+ /**
43
+ * The original configuration options that were provided by the user to the Powerlines process.
44
+ */
45
+ userConfig: TUserConfig;
46
+ /**
47
+ * A string identifier for the Powerlines command being executed.
48
+ */
49
+ command: NonUndefined<InlineConfig<TUserConfig>["command"]>;
50
+ /**
51
+ * The root directory of the project's source code
52
+ *
53
+ * @defaultValue "\{projectRoot\}/src"
54
+ */
55
+ sourceRoot: NonUndefined<TUserConfig["sourceRoot"]>;
56
+ /**
57
+ * The root directory of the project.
58
+ */
59
+ projectRoot: NonUndefined<TUserConfig["root"]>;
60
+ /**
61
+ * The type of project being built.
62
+ */
63
+ projectType: NonUndefined<TUserConfig["type"]>;
64
+ /**
65
+ * The output configuration options to use for the build process
66
+ */
67
+ output: OutputResolvedConfig;
68
+ /**
69
+ * Configuration provided to build processes
70
+ *
71
+ * @remarks
72
+ * This configuration can be used by plugins during the `build` command. It will generally contain options specific to the selected {@link BuildVariant | build variant}.
73
+ */
74
+ build: Omit<TUserConfig["build"], "override"> & Required<Pick<Required<TUserConfig["build"]>, "override">>;
75
+ /**
76
+ * The log level to use for the Powerlines processes.
77
+ *
78
+ * @defaultValue "info"
79
+ */
80
+ logLevel: "error" | "warn" | "info" | "debug" | "trace" | null;
81
+ };
82
+ //#endregion
83
+ export { BabelResolvedConfig, EnvironmentResolvedConfig, OutputResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition };
@@ -0,0 +1,148 @@
1
+ //#region ../powerlines/src/types/resolved.ts
2
+ const __ΩOmit = [
3
+ "T",
4
+ "K",
5
+ () => __ΩPick,
6
+ () => __ΩExclude,
7
+ "Omit",
8
+ "b!b\"e!!e!!ge!\"o$#o##w%y"
9
+ ];
10
+ const __ΩRequired = [
11
+ "T",
12
+ "Required",
13
+ "l+e#!e\"!fRb!Pde\"!gN##w\"y"
14
+ ];
15
+ const __ΩPick = [
16
+ "T",
17
+ "K",
18
+ "Pick",
19
+ "l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
20
+ ];
21
+ const __ΩExclude = [
22
+ "T",
23
+ "U",
24
+ "Exclude",
25
+ "l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
26
+ ];
27
+ const __ΩResolvedEntryTypeDefinition = [
28
+ "input",
29
+ "The user provided entry point in the source code",
30
+ "output",
31
+ "An optional name to use in the package export during the build process",
32
+ "ResolvedEntryTypeDefinition",
33
+ "P!!4!8?\"&4#8?$Mw%y"
34
+ ];
35
+ const __ΩBabelResolvedConfig = [
36
+ () => __ΩOmit,
37
+ "BabelUserConfig",
38
+ "plugins",
39
+ "presets",
40
+ () => __ΩRequired,
41
+ () => __ΩPick,
42
+ "plugins",
43
+ "presets",
44
+ "BabelResolvedConfig",
45
+ "P\"w\"P.#.$Jo!#\"w\"P.'.(Jo&#o%\"Kw)y"
46
+ ];
47
+ const __ΩResolvedAssetGlob = [
48
+ () => __ΩRequired,
49
+ () => __ΩPick,
50
+ "input",
51
+ "ResolvedAssetGlob",
52
+ "P!!.#o\"#o!\"Kw$y"
53
+ ];
54
+ const __ΩOutputResolvedConfig = [
55
+ () => __ΩRequired,
56
+ () => __ΩOmit,
57
+ "OutputConfig",
58
+ "assets",
59
+ "storage",
60
+ () => __ΩResolvedAssetGlob,
61
+ "assets",
62
+ () => __ΩPick,
63
+ "storage",
64
+ "OutputResolvedConfig",
65
+ "PP\"w#P.$.%Jo\"#Pn&F4'MKo!\"\"w#.)o(#Kw*y"
66
+ ];
67
+ const __ΩResolvedConfig = [
68
+ "UserConfig",
69
+ "TUserConfig",
70
+ () => __ΩOmit,
71
+ "name",
72
+ "title",
73
+ "organization",
74
+ "compatibilityDate",
75
+ "plugins",
76
+ "mode",
77
+ "environments",
78
+ "platform",
79
+ "tsconfig",
80
+ "lint",
81
+ "test",
82
+ "build",
83
+ "transform",
84
+ "deploy",
85
+ "variant",
86
+ "type",
87
+ "output",
88
+ "logLevel",
89
+ "framework",
90
+ "sourceRoot",
91
+ () => __ΩRequired,
92
+ () => __ΩPick,
93
+ "name",
94
+ "title",
95
+ "organization",
96
+ "compatibilityDate",
97
+ "plugins",
98
+ "mode",
99
+ "environments",
100
+ "tsconfig",
101
+ "lint",
102
+ "test",
103
+ "build",
104
+ "transform",
105
+ "deploy",
106
+ "framework",
107
+ "sourceRoot",
108
+ "InlineConfig",
109
+ "inlineConfig",
110
+ "The configuration options that were provided inline to the Powerlines CLI.",
111
+ "userConfig",
112
+ "The original configuration options that were provided by the user to the Powerlines process.",
113
+ "command",
114
+ "A string identifier for the Powerlines command being executed.",
115
+ "sourceRoot",
116
+ "\\{projectRoot\\}/src",
117
+ "The root directory of the project's source code",
118
+ "projectRoot",
119
+ "The root directory of the project.",
120
+ "projectType",
121
+ "The type of project being built.",
122
+ () => __ΩOutputResolvedConfig,
123
+ "output",
124
+ "The output configuration options to use for the build process",
125
+ () => __ΩOmit,
126
+ "build",
127
+ "override",
128
+ () => __ΩRequired,
129
+ () => __ΩPick,
130
+ () => __ΩRequired,
131
+ "build",
132
+ "override",
133
+ "build",
134
+ "Configuration provided to build processes",
135
+ "error",
136
+ "warn",
137
+ "info",
138
+ "debug",
139
+ "trace",
140
+ "logLevel",
141
+ "info",
142
+ "The log level to use for the Powerlines processes.",
143
+ "ResolvedConfig",
144
+ "\"w!c\"Pe\"!P.$.%.&.'.(.).*.+.,.-.../.0.1.2.3.4.5.6.7Jo##e\"!P.:.;.<.=.>.?.@.A.B.C.D.E.F.G.HJo9#o8\"P\"wI4J?Ke#!4L?M!4N?O!4P>Q?R!4S?T!4U?VnW4X?YPe$!.[f.\\oZ#e$!.`fo_\".ao^#o]\"K4b?cP.d.e.f.g.h,J4i>j?kMKwly"
145
+ ];
146
+
147
+ //#endregion
148
+ export { __ΩBabelResolvedConfig, __ΩOutputResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition };
@@ -0,0 +1,69 @@
1
+ import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
2
+ import ts from "typescript";
3
+
4
+ //#region ../powerlines/src/types/tsconfig.d.ts
5
+ type ReflectionMode = "default" | "explicit" | "never";
6
+ type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
+ /**
8
+ * Defines the level of reflection to be used during the transpilation process.
9
+ *
10
+ * @remarks
11
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
+ * - `minimal` - Only the essential type information is captured.
13
+ * - `normal` - Additional type information is captured, including some contextual data.
14
+ * - `verbose` - All available type information is captured, including detailed contextual data.
15
+ */
16
+ type ReflectionLevel = "minimal" | "normal" | "verbose";
17
+ interface DeepkitOptions {
18
+ /**
19
+ * Either true to activate reflection for all files compiled using this tsconfig,
20
+ * or a list of globs/file paths relative to this tsconfig.json.
21
+ * Globs/file paths can be prefixed with a ! to exclude them.
22
+ */
23
+ reflection?: RawReflectionMode;
24
+ /**
25
+ * Defines the level of reflection to be used during the transpilation process.
26
+ *
27
+ * @remarks
28
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
+ * - `minimal` - Only the essential type information is captured.
30
+ * - `normal` - Additional type information is captured, including some contextual data.
31
+ * - `verbose` - All available type information is captured, including detailed contextual data.
32
+ */
33
+ reflectionLevel?: ReflectionLevel;
34
+ }
35
+ type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
+ /**
37
+ * The TypeScript compiler configuration.
38
+ *
39
+ * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
+ */
41
+ interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
+ /**
43
+ * Either true to activate reflection for all files compiled using this tsconfig,
44
+ * or a list of globs/file paths relative to this tsconfig.json.
45
+ * Globs/file paths can be prefixed with a ! to exclude them.
46
+ */
47
+ reflection?: RawReflectionMode;
48
+ /**
49
+ * Defines the level of reflection to be used during the transpilation process.
50
+ *
51
+ * @remarks
52
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
+ * - `minimal` - Only the essential type information is captured.
54
+ * - `normal` - Additional type information is captured, including some contextual data.
55
+ * - `verbose` - All available type information is captured, including detailed contextual data.
56
+ */
57
+ reflectionLevel?: ReflectionLevel;
58
+ /**
59
+ * Instructs the TypeScript compiler how to compile `.ts` files.
60
+ */
61
+ compilerOptions?: TSCompilerOptions;
62
+ }
63
+ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
+ originalTsconfigJson: TsConfigJson;
65
+ tsconfigJson: TSConfig;
66
+ tsconfigFilePath: string;
67
+ };
68
+ //#endregion
69
+ export { ParsedTypeScriptConfig, TSConfig };
@@ -0,0 +1,69 @@
1
+ import ts from "typescript";
2
+ import { CompilerOptions, TsConfigJson } from "@stryke/types/tsconfig";
3
+
4
+ //#region ../powerlines/src/types/tsconfig.d.ts
5
+ type ReflectionMode = "default" | "explicit" | "never";
6
+ type RawReflectionMode = ReflectionMode | "" | boolean | string | string[] | undefined;
7
+ /**
8
+ * Defines the level of reflection to be used during the transpilation process.
9
+ *
10
+ * @remarks
11
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
12
+ * - `minimal` - Only the essential type information is captured.
13
+ * - `normal` - Additional type information is captured, including some contextual data.
14
+ * - `verbose` - All available type information is captured, including detailed contextual data.
15
+ */
16
+ type ReflectionLevel = "minimal" | "normal" | "verbose";
17
+ interface DeepkitOptions {
18
+ /**
19
+ * Either true to activate reflection for all files compiled using this tsconfig,
20
+ * or a list of globs/file paths relative to this tsconfig.json.
21
+ * Globs/file paths can be prefixed with a ! to exclude them.
22
+ */
23
+ reflection?: RawReflectionMode;
24
+ /**
25
+ * Defines the level of reflection to be used during the transpilation process.
26
+ *
27
+ * @remarks
28
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
29
+ * - `minimal` - Only the essential type information is captured.
30
+ * - `normal` - Additional type information is captured, including some contextual data.
31
+ * - `verbose` - All available type information is captured, including detailed contextual data.
32
+ */
33
+ reflectionLevel?: ReflectionLevel;
34
+ }
35
+ type TSCompilerOptions = CompilerOptions & DeepkitOptions;
36
+ /**
37
+ * The TypeScript compiler configuration.
38
+ *
39
+ * @see https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
40
+ */
41
+ interface TSConfig extends Omit<TsConfigJson, "reflection"> {
42
+ /**
43
+ * Either true to activate reflection for all files compiled using this tsconfig,
44
+ * or a list of globs/file paths relative to this tsconfig.json.
45
+ * Globs/file paths can be prefixed with a ! to exclude them.
46
+ */
47
+ reflection?: RawReflectionMode;
48
+ /**
49
+ * Defines the level of reflection to be used during the transpilation process.
50
+ *
51
+ * @remarks
52
+ * The level determines how much extra data is captured in the byte code for each type. This can be one of the following values:
53
+ * - `minimal` - Only the essential type information is captured.
54
+ * - `normal` - Additional type information is captured, including some contextual data.
55
+ * - `verbose` - All available type information is captured, including detailed contextual data.
56
+ */
57
+ reflectionLevel?: ReflectionLevel;
58
+ /**
59
+ * Instructs the TypeScript compiler how to compile `.ts` files.
60
+ */
61
+ compilerOptions?: TSCompilerOptions;
62
+ }
63
+ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
64
+ originalTsconfigJson: TsConfigJson;
65
+ tsconfigJson: TSConfig;
66
+ tsconfigFilePath: string;
67
+ };
68
+ //#endregion
69
+ export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig };
@@ -0,0 +1 @@
1
+ require('./api.cjs');
@@ -0,0 +1,7 @@
1
+ import "./build.mjs";
2
+ import "./plugin.mjs";
3
+ import "./context.mjs";
4
+ import "./config.mjs";
5
+ import "./resolved.mjs";
6
+ import "./api.mjs";
7
+ import { UnpluginOptions } from "unplugin";
@@ -0,0 +1,3 @@
1
+ import "./api.mjs";
2
+
3
+ export { };
@@ -1,3 +1,10 @@
1
- require('../plugin-D5qyQPqC.cjs');
2
- require('../runtime-Bisl_1Ja.cjs');
3
- require('../types-MYBaygjr.cjs');
1
+ const require_types_runtime = require('./runtime.cjs');
2
+ const require_types_plugin = require('./plugin.cjs');
3
+
4
+ exports.__ΩEnvInterface = require_types_runtime.__ΩEnvInterface;
5
+ exports.__ΩEnvPluginContext = require_types_plugin.__ΩEnvPluginContext;
6
+ exports.__ΩEnvPluginOptions = require_types_plugin.__ΩEnvPluginOptions;
7
+ exports.__ΩEnvPluginResolvedConfig = require_types_plugin.__ΩEnvPluginResolvedConfig;
8
+ exports.__ΩEnvPluginUserConfig = require_types_plugin.__ΩEnvPluginUserConfig;
9
+ exports.__ΩEnvType = require_types_plugin.__ΩEnvType;
10
+ exports.__ΩSecretsInterface = require_types_runtime.__ΩSecretsInterface;
@@ -1,5 +1,3 @@
1
- import "../resolved-BZG2cwRG.cjs";
2
- import { a as EnvType, c as __ΩEnvPluginResolvedConfig, i as EnvPluginUserConfig, l as __ΩEnvPluginUserConfig, n as EnvPluginOptions, o as __ΩEnvPluginContext, r as EnvPluginResolvedConfig, s as __ΩEnvPluginOptions, t as EnvPluginContext, u as __ΩEnvType } from "../plugin-BwuEBScL.cjs";
3
- import { i as __ΩSecretsInterface, n as SecretsInterface, r as __ΩEnvInterface, t as EnvInterface } from "../runtime-Q8Ni8SeN.cjs";
4
- import "../index-CqdNToYT.cjs";
1
+ import { EnvInterface, SecretsInterface, __ΩEnvInterface, __ΩSecretsInterface } from "./runtime.cjs";
2
+ import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./plugin.cjs";
5
3
  export { EnvInterface, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, SecretsInterface, __ΩEnvInterface, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType, __ΩSecretsInterface };
@@ -1,6 +1,3 @@
1
- import "../resolved-V5COsfDu.mjs";
2
- import "../components-8W0Zgj0y.mjs";
3
- import { a as EnvType, c as __ΩEnvPluginResolvedConfig, i as EnvPluginUserConfig, l as __ΩEnvPluginUserConfig, n as EnvPluginOptions, o as __ΩEnvPluginContext, r as EnvPluginResolvedConfig, s as __ΩEnvPluginOptions, t as EnvPluginContext, u as __ΩEnvType } from "../plugin-BaInAuAh.mjs";
4
- import { i as __ΩSecretsInterface, n as SecretsInterface, r as __ΩEnvInterface, t as EnvInterface } from "../runtime-qZ0Z2kEd.mjs";
5
- import "../index-BXxhKmeA.mjs";
1
+ import { EnvInterface, SecretsInterface, __ΩEnvInterface, __ΩSecretsInterface } from "./runtime.mjs";
2
+ import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./plugin.mjs";
6
3
  export { EnvInterface, EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig, EnvType, SecretsInterface, __ΩEnvInterface, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType, __ΩSecretsInterface };
@@ -1,5 +1,4 @@
1
- import "../plugin-D3B5E_Hg.mjs";
2
- import "../runtime-azNoeKr-.mjs";
3
- import "../types-DwElXV6q.mjs";
1
+ import { __ΩEnvInterface, __ΩSecretsInterface } from "./runtime.mjs";
2
+ import { __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType } from "./plugin.mjs";
4
3
 
5
- export { };
4
+ export { __ΩEnvInterface, __ΩEnvPluginContext, __ΩEnvPluginOptions, __ΩEnvPluginResolvedConfig, __ΩEnvPluginUserConfig, __ΩEnvType, __ΩSecretsInterface };
@@ -1 +1,133 @@
1
- require('../plugin-D5qyQPqC.cjs');
1
+ const require_plugin = require('../plugin-automd/src/types/plugin.cjs');
2
+ const require_plugin$1 = require('../plugin-babel/src/types/plugin.cjs');
3
+ const require_plugin$2 = require('../plugin-alloy/src/types/plugin.cjs');
4
+ const require_types = require('../deepkit/src/types.cjs');
5
+ const require_types_runtime = require('./runtime.cjs');
6
+
7
+ //#region src/types/plugin.ts
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 __ΩRequired = [
17
+ "T",
18
+ "Required",
19
+ "l+e#!e\"!fRb!Pde\"!gN##w\"y"
20
+ ];
21
+ const __ΩPick = [
22
+ "T",
23
+ "K",
24
+ "Pick",
25
+ "l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
26
+ ];
27
+ const __ΩExclude = [
28
+ "T",
29
+ "U",
30
+ "Exclude",
31
+ "l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
32
+ ];
33
+ const __ΩEnvType = [
34
+ "env",
35
+ "secrets",
36
+ "EnvType",
37
+ "P.!.\"Jw#y"
38
+ ];
39
+ const __ΩEnvPluginOptions = [
40
+ () => __ΩOmit,
41
+ "types",
42
+ "types",
43
+ "A path to the type definition for the expected env configuration parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `\":\"` or `\"#\"` character. For example: `\"./src/types/env.ts#ConfigConfiguration\"`.",
44
+ "secrets",
45
+ "A path to the type definition for the expected env secret parameters. This value can include both a path to the typescript file and the name of the type definition to use separated by a `\":\"` or `\"#\"` character. For example: `\"./src/types/env.ts#ConfigSecrets\"`.",
46
+ "prefix",
47
+ "An additional prefix (or list of additional prefixes) to apply to the environment variables",
48
+ "inject",
49
+ true,
50
+ "Should the plugin inject the env variables in the source code with their values?",
51
+ "Children",
52
+ "defaultConfig",
53
+ "The default configuration to use when loading environment variables.",
54
+ () => require_plugin$1.__ΩBabelPluginOptions,
55
+ "babel",
56
+ "Babel configuration options to use when injecting environment variables into the source code.",
57
+ () => require_plugin.__ΩAutoMDPluginOptions,
58
+ "automd",
59
+ "AutoMD configuration options to allow injecting environment variables documentation into a markdown file such as a README.md.",
60
+ () => require_plugin$2.__ΩAlloyPluginOptions,
61
+ "alloy",
62
+ "Alloy configuration options to use when injecting environment variables into the source code.",
63
+ "EnvPluginOptions",
64
+ "P!.\"o!#P!4#8?$!4%8?&P&&FJ4'8?()4)8>*?+\"w,4-8?.n/408?1n2438?4n5468?7MKw8y"
65
+ ];
66
+ const __ΩEnvPluginUserConfig = [
67
+ () => require_plugin$1.__ΩBabelPluginUserConfig,
68
+ () => require_plugin$2.__ΩAlloyPluginUserConfig,
69
+ () => __ΩEnvPluginOptions,
70
+ "env",
71
+ "EnvPluginUserConfig",
72
+ "Pn!n\"Pn#4$MKw%y"
73
+ ];
74
+ const __ΩEnvPluginResolvedConfig = [
75
+ () => require_plugin$1.__ΩBabelPluginResolvedConfig,
76
+ () => require_plugin$2.__ΩAlloyPluginResolvedConfig,
77
+ () => __ΩRequired,
78
+ () => __ΩPick,
79
+ "additionalFiles",
80
+ () => __ΩRequired,
81
+ () => __ΩPick,
82
+ () => __ΩEnvPluginOptions,
83
+ "defaultConfig",
84
+ "types",
85
+ "The type definition for the expected env variable parameters",
86
+ "secrets",
87
+ "The type definition for the expected env secret parameters",
88
+ () => __ΩEnvPluginOptions,
89
+ "inject",
90
+ "inject",
91
+ "Should the plugin inject the env variables in the source code with their values?",
92
+ "prefix",
93
+ "The prefix used for environment variables",
94
+ "env",
95
+ "EnvPluginResolvedConfig",
96
+ "Pn!n\"PP!.%o$#o#\"n(.)o'#o&\"P!4*?+!4,?-n../f40?1&F42?3MK44MKw5y"
97
+ ];
98
+ const __ΩEnvPluginContext = [
99
+ () => __ΩEnvPluginResolvedConfig,
100
+ "TResolvedConfig",
101
+ () => require_plugin$1.__ΩBabelPluginContext,
102
+ () => require_plugin$2.__ΩAlloyPluginContext,
103
+ () => require_types.__ΩReflection,
104
+ "env",
105
+ "The type definitions for the expected env variables",
106
+ () => require_types.__ΩReflection,
107
+ "secrets",
108
+ "The type definitions for the expected env secrets",
109
+ "The type definitions reflection for the env variables and secrets",
110
+ "types",
111
+ () => require_types.__ΩReflection,
112
+ () => require_types_runtime.__ΩEnvInterface,
113
+ "The current env variables reflection",
114
+ () => require_types.__ΩReflection,
115
+ () => require_types_runtime.__ΩSecretsInterface,
116
+ "The current env secrets reflection",
117
+ "The current **used** environment variables and secrets reflection",
118
+ "used",
119
+ "parsed",
120
+ "The parsed .env configuration object",
121
+ () => require_types.__ΩReflection,
122
+ "injected",
123
+ "The injected environment variables and secrets reflection",
124
+ "EnvPluginContext",
125
+ "n!c\"Pe\"!o#\"e\"!o$\"PPn%4&?'n(4)?*M?+4,?+Pn.o-\"4&?/n1o0\"4)?2M?344?3!45?6n748?9M4&Mw:y"
126
+ ];
127
+
128
+ //#endregion
129
+ exports.__ΩEnvPluginContext = __ΩEnvPluginContext;
130
+ exports.__ΩEnvPluginOptions = __ΩEnvPluginOptions;
131
+ exports.__ΩEnvPluginResolvedConfig = __ΩEnvPluginResolvedConfig;
132
+ exports.__ΩEnvPluginUserConfig = __ΩEnvPluginUserConfig;
133
+ exports.__ΩEnvType = __ΩEnvType;