@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,94 +0,0 @@
1
- import { BuilderVariant } from "./build.mjs";
2
- import { BabelUserConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, LogLevel, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.mjs";
3
- import { NonUndefined } from "@stryke/types/base";
4
- import { ResolvedPreviewOptions } from "vite";
5
- import { TypeDefinition } from "@stryke/types/configuration";
6
- import { AssetGlob } from "@stryke/types/file";
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$1 = UserConfig$1> = 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 BuilderVariant | 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: LogLevel | null;
81
- };
82
- type ViteResolvedConfig = ResolvedConfig<ViteUserConfig>;
83
- type WebpackResolvedConfig = ResolvedConfig<WebpackUserConfig>;
84
- type RspackResolvedConfig = ResolvedConfig<RspackUserConfig>;
85
- type ESBuildResolvedConfig = ResolvedConfig<ESBuildUserConfig>;
86
- type RollupResolvedConfig = ResolvedConfig<RollupUserConfig>;
87
- type RolldownResolvedConfig = ResolvedConfig<RolldownUserConfig>;
88
- type TsupResolvedConfig = ResolvedConfig<TsupUserConfig>;
89
- type TsdownResolvedConfig = ResolvedConfig<TsdownUserConfig>;
90
- type UnbuildResolvedConfig = ResolvedConfig<UnbuildUserConfig>;
91
- type FarmResolvedConfig = ResolvedConfig<FarmUserConfig>;
92
- type InferResolvedConfig<TBuildVariant extends BuilderVariant | undefined> = TBuildVariant extends undefined ? ResolvedConfig : TBuildVariant extends "webpack" ? WebpackResolvedConfig : TBuildVariant extends "rspack" ? RspackResolvedConfig : TBuildVariant extends "vite" ? ViteResolvedConfig : TBuildVariant extends "esbuild" ? ESBuildResolvedConfig : TBuildVariant extends "unbuild" ? UnbuildResolvedConfig : TBuildVariant extends "tsup" ? TsupResolvedConfig : TBuildVariant extends "tsdown" ? TsdownResolvedConfig : TBuildVariant extends "rolldown" ? RolldownResolvedConfig : TBuildVariant extends "rollup" ? RollupResolvedConfig : TBuildVariant extends "farm" ? FarmResolvedConfig : ResolvedConfig;
93
- //#endregion
94
- export { BabelResolvedConfig, ESBuildResolvedConfig, EnvironmentResolvedConfig, FarmResolvedConfig, InferResolvedConfig, OutputResolvedConfig, ResolvedAssetGlob, ResolvedConfig, ResolvedEntryTypeDefinition, RolldownResolvedConfig, RollupResolvedConfig, RspackResolvedConfig, TsdownResolvedConfig, TsupResolvedConfig, UnbuildResolvedConfig, ViteResolvedConfig, WebpackResolvedConfig };
@@ -1,144 +0,0 @@
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
- "LogLevel",
136
- "logLevel",
137
- "info",
138
- "The log level to use for the Powerlines processes.",
139
- "ResolvedConfig",
140
- "\"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\"wd,J4e>f?gMKwhy"
141
- ];
142
-
143
- //#endregion
144
- export { __ΩBabelResolvedConfig, __ΩOutputResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition };
@@ -1,69 +0,0 @@
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 };
@@ -1,69 +0,0 @@
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 };
@@ -1,64 +0,0 @@
1
- const require_api = require('./api.cjs');
2
- const require_plugin = require('./plugin.cjs');
3
-
4
- //#region ../powerlines/src/types/unplugin.ts
5
- const __ΩRequired = [
6
- "T",
7
- "Required",
8
- "l+e#!e\"!fRb!Pde\"!gN##w\"y"
9
- ];
10
- const __ΩPartial = [
11
- "T",
12
- "Partial",
13
- "l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
14
- ];
15
- const __ΩUnpluginOptions = [
16
- "UnpluginBuilderVariant",
17
- "TUnpluginBuilderVariant",
18
- () => require_api.__ΩAPI,
19
- "InferResolvedConfig",
20
- "api",
21
- "An API object that can be used for inter-plugin communication.",
22
- "// };",
23
- "UnpluginOptions",
24
- "\"w!c\"P!\"w$o#\"4%?&M?'w(y"
25
- ];
26
- const __ΩInferUnpluginOptions = [
27
- "Context",
28
- "TContext",
29
- "BuilderVariant",
30
- "TBuilderVariant",
31
- "InferUnpluginVariant",
32
- "TUnpluginVariant",
33
- () => __ΩRequired,
34
- () => __ΩUnpluginOptions,
35
- () => __ΩRequired,
36
- () => __ΩUnpluginOptions,
37
- "handler",
38
- "this",
39
- "args",
40
- "",
41
- () => require_plugin.__ΩPluginHook,
42
- () => __ΩRequired,
43
- () => __ΩUnpluginOptions,
44
- () => __ΩRequired,
45
- () => __ΩUnpluginOptions,
46
- "InferUnpluginOptions",
47
- "l¬PPe$!e+!K2,e#\"@2-!/.!go/#Re)#o1\"o0\"e)#fe(!fRPddde#!Ph\"!2,h\"\"@2-h\"#/.qk#=QRPde#!pORe%#o3\"o2\"e%#fe$!fRPde$#o*\"o)\"e$#fe#!fPh\"!Ph#!4+MJqkmuQR\"w!c\"\"w#c$\"w%c&Pde\"#o(\"o'\"e\"#fgN‡\"w4y"
48
- ];
49
- const __ΩUnpluginFactory = [
50
- "TUnpluginBuilderVariant",
51
- () => __ΩPartial,
52
- "InferUserConfig",
53
- "options",
54
- "meta",
55
- () => __ΩUnpluginOptions,
56
- "",
57
- "UnpluginFactory",
58
- "b!P\"w#o\"\"2$!2%n&/'w(y"
59
- ];
60
-
61
- //#endregion
62
- exports.__ΩInferUnpluginOptions = __ΩInferUnpluginOptions;
63
- exports.__ΩUnpluginFactory = __ΩUnpluginFactory;
64
- exports.__ΩUnpluginOptions = __ΩUnpluginOptions;
@@ -1,22 +0,0 @@
1
- import { BuilderVariant, InferUnpluginVariant, UnpluginBuilderVariant } from "./build.cjs";
2
- import { InferResolvedConfig } from "./resolved.cjs";
3
- import { Context } from "./context.cjs";
4
- import { API } from "./api.cjs";
5
- import { PluginHook } from "./plugin.cjs";
6
- import { MaybePromise } from "@stryke/types/base";
7
- import { HookFilter, UnpluginOptions } from "unplugin";
8
-
9
- //#region ../powerlines/src/types/unplugin.d.ts
10
- interface UnpluginOptions$1<TUnpluginBuilderVariant extends UnpluginBuilderVariant = UnpluginBuilderVariant> extends UnpluginOptions {
11
- /**
12
- * An API object that can be used for inter-plugin communication.
13
- *
14
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
15
- */
16
- api: API<InferResolvedConfig<TUnpluginBuilderVariant>>;
17
- }
18
- type InferUnpluginOptions<TContext extends Context = Context, TBuilderVariant extends BuilderVariant = BuilderVariant, TUnpluginVariant extends InferUnpluginVariant<TBuilderVariant> = InferUnpluginVariant<TBuilderVariant>> = { [TKey in keyof Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant]]?: Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant][TKey] extends infer THandler | {
19
- handler: infer THandler;
20
- } ? THandler extends ((this: infer TOriginalContext, ...args: infer TArgs) => infer TReturn) ? PluginHook<(this: TOriginalContext & TContext, ...args: TArgs) => MaybePromise<TReturn>, keyof HookFilter> : Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant][TKey] : Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant][TKey] };
21
- //#endregion
22
- export { InferUnpluginOptions };
@@ -1,23 +0,0 @@
1
- import { BuilderVariant, InferUnpluginVariant, UnpluginBuilderVariant } from "./build.mjs";
2
- import "./config.mjs";
3
- import { InferResolvedConfig } from "./resolved.mjs";
4
- import { Context } from "./context.mjs";
5
- import { API } from "./api.mjs";
6
- import { PluginHook } from "./plugin.mjs";
7
- import { HookFilter, UnpluginOptions } from "unplugin";
8
- import { MaybePromise } from "@stryke/types/base";
9
-
10
- //#region ../powerlines/src/types/unplugin.d.ts
11
- interface UnpluginOptions$1<TUnpluginBuilderVariant extends UnpluginBuilderVariant = UnpluginBuilderVariant> extends UnpluginOptions {
12
- /**
13
- * An API object that can be used for inter-plugin communication.
14
- *
15
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
16
- */
17
- api: API<InferResolvedConfig<TUnpluginBuilderVariant>>;
18
- }
19
- type InferUnpluginOptions<TContext extends Context = Context, TBuilderVariant extends BuilderVariant = BuilderVariant, TUnpluginVariant extends InferUnpluginVariant<TBuilderVariant> = InferUnpluginVariant<TBuilderVariant>> = { [TKey in keyof Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant]]?: Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant][TKey] extends infer THandler | {
20
- handler: infer THandler;
21
- } ? THandler extends ((this: infer TOriginalContext, ...args: infer TArgs) => infer TReturn) ? PluginHook<(this: TOriginalContext & TContext, ...args: TArgs) => MaybePromise<TReturn>, keyof HookFilter> : Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant][TKey] : Required<UnpluginOptions$1<TUnpluginVariant>>[TUnpluginVariant][TKey] };
22
- //#endregion
23
- export { InferUnpluginOptions, UnpluginOptions$1 as UnpluginOptions };
@@ -1,62 +0,0 @@
1
- import { __ΩAPI } from "./api.mjs";
2
- import { __ΩPluginHook } from "./plugin.mjs";
3
-
4
- //#region ../powerlines/src/types/unplugin.ts
5
- const __ΩRequired = [
6
- "T",
7
- "Required",
8
- "l+e#!e\"!fRb!Pde\"!gN##w\"y"
9
- ];
10
- const __ΩPartial = [
11
- "T",
12
- "Partial",
13
- "l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
14
- ];
15
- const __ΩUnpluginOptions = [
16
- "UnpluginBuilderVariant",
17
- "TUnpluginBuilderVariant",
18
- () => __ΩAPI,
19
- "InferResolvedConfig",
20
- "api",
21
- "An API object that can be used for inter-plugin communication.",
22
- "// };",
23
- "UnpluginOptions",
24
- "\"w!c\"P!\"w$o#\"4%?&M?'w(y"
25
- ];
26
- const __ΩInferUnpluginOptions = [
27
- "Context",
28
- "TContext",
29
- "BuilderVariant",
30
- "TBuilderVariant",
31
- "InferUnpluginVariant",
32
- "TUnpluginVariant",
33
- () => __ΩRequired,
34
- () => __ΩUnpluginOptions,
35
- () => __ΩRequired,
36
- () => __ΩUnpluginOptions,
37
- "handler",
38
- "this",
39
- "args",
40
- "",
41
- () => __ΩPluginHook,
42
- () => __ΩRequired,
43
- () => __ΩUnpluginOptions,
44
- () => __ΩRequired,
45
- () => __ΩUnpluginOptions,
46
- "InferUnpluginOptions",
47
- "l¬PPe$!e+!K2,e#\"@2-!/.!go/#Re)#o1\"o0\"e)#fe(!fRPddde#!Ph\"!2,h\"\"@2-h\"#/.qk#=QRPde#!pORe%#o3\"o2\"e%#fe$!fRPde$#o*\"o)\"e$#fe#!fPh\"!Ph#!4+MJqkmuQR\"w!c\"\"w#c$\"w%c&Pde\"#o(\"o'\"e\"#fgN‡\"w4y"
48
- ];
49
- const __ΩUnpluginFactory = [
50
- "TUnpluginBuilderVariant",
51
- () => __ΩPartial,
52
- "InferUserConfig",
53
- "options",
54
- "meta",
55
- () => __ΩUnpluginOptions,
56
- "",
57
- "UnpluginFactory",
58
- "b!P\"w#o\"\"2$!2%n&/'w(y"
59
- ];
60
-
61
- //#endregion
62
- export { __ΩInferUnpluginOptions, __ΩUnpluginFactory, __ΩUnpluginOptions };