@powerlines/plugin-nodejs 0.1.117 → 0.1.118

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 (194) hide show
  1. package/dist/components/env.cjs +14 -14
  2. package/dist/components/env.d.cts +1 -1
  3. package/dist/components/env.d.mts +1 -1
  4. package/dist/components/env.mjs +6 -6
  5. package/dist/index.cjs +8 -6
  6. package/dist/index.d.cts +1 -1
  7. package/dist/index.d.mts +1 -1
  8. package/dist/index.mjs +5 -5
  9. package/dist/types/plugin.d.cts +2 -2
  10. package/dist/types/plugin.d.mts +2 -2
  11. package/package.json +6 -6
  12. package/dist/deepkit/schemas/reflection.cjs +0 -3998
  13. package/dist/deepkit/schemas/reflection.d.cts +0 -1560
  14. package/dist/deepkit/schemas/reflection.d.mts +0 -1560
  15. package/dist/deepkit/schemas/reflection.mjs +0 -3996
  16. package/dist/deepkit/schemas/reflection2.cjs +0 -4112
  17. package/dist/deepkit/schemas/reflection2.mjs +0 -4110
  18. package/dist/deepkit/src/capnp.cjs +0 -913
  19. package/dist/deepkit/src/capnp.mjs +0 -911
  20. package/dist/deepkit/src/esbuild-plugin.cjs +0 -47
  21. package/dist/deepkit/src/esbuild-plugin.mjs +0 -46
  22. package/dist/deepkit/src/reflect-type.cjs +0 -22
  23. package/dist/deepkit/src/reflect-type.mjs +0 -20
  24. package/dist/deepkit/src/resolve-reflections.cjs +0 -16
  25. package/dist/deepkit/src/resolve-reflections.mjs +0 -15
  26. package/dist/deepkit/src/transformer.cjs +0 -52
  27. package/dist/deepkit/src/transformer.mjs +0 -49
  28. package/dist/deepkit/src/transpile.cjs +0 -29
  29. package/dist/deepkit/src/transpile.mjs +0 -27
  30. package/dist/deepkit/src/types.d.cts +0 -10
  31. package/dist/deepkit/src/types.d.mts +0 -10
  32. package/dist/deepkit/src/utilities.cjs +0 -67
  33. package/dist/deepkit/src/utilities.mjs +0 -66
  34. package/dist/plugin-alloy/src/core/components/output.cjs +0 -43
  35. package/dist/plugin-alloy/src/core/components/output.mjs +0 -42
  36. package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -22
  37. package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -21
  38. package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -64
  39. package/dist/plugin-alloy/src/core/components/source-file.d.cts +0 -23
  40. package/dist/plugin-alloy/src/core/components/source-file.d.mts +0 -23
  41. package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -62
  42. package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -49
  43. package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -44
  44. package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
  45. package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
  46. package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -46
  47. package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -42
  48. package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -16
  49. package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -15
  50. package/dist/plugin-alloy/src/index.cjs +0 -105
  51. package/dist/plugin-alloy/src/index.mjs +0 -103
  52. package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -115
  53. package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -114
  54. package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -39
  55. package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -38
  56. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -18
  57. package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -17
  58. package/dist/plugin-alloy/src/types/components.d.cts +0 -20
  59. package/dist/plugin-alloy/src/types/components.d.mts +0 -21
  60. package/dist/plugin-alloy/src/types/index.d.cts +0 -2
  61. package/dist/plugin-alloy/src/types/index.d.mts +0 -2
  62. package/dist/plugin-alloy/src/types/plugin.d.cts +0 -36
  63. package/dist/plugin-alloy/src/types/plugin.d.mts +0 -36
  64. package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -62
  65. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.cts +0 -26
  66. package/dist/plugin-alloy/src/typescript/components/builtin-file.d.mts +0 -26
  67. package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -61
  68. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -131
  69. package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -129
  70. package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -451
  71. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.cts +0 -37
  72. package/dist/plugin-alloy/src/typescript/components/tsdoc.d.mts +0 -37
  73. package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -442
  74. package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -216
  75. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.cts +0 -16
  76. package/dist/plugin-alloy/src/typescript/components/typescript-file.d.mts +0 -16
  77. package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -213
  78. package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -72
  79. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.cts +0 -4
  80. package/dist/plugin-alloy/src/typescript/components/typescript-interface.d.mts +0 -4
  81. package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -71
  82. package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -124
  83. package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -123
  84. package/dist/plugin-automd/src/index.cjs +0 -101
  85. package/dist/plugin-automd/src/index.mjs +0 -98
  86. package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
  87. package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
  88. package/dist/plugin-automd/src/types/toc.d.cts +0 -33
  89. package/dist/plugin-automd/src/types/toc.d.mts +0 -33
  90. package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -10
  91. package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -9
  92. package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -41
  93. package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -39
  94. package/dist/plugin-babel/src/helpers/filters.cjs +0 -23
  95. package/dist/plugin-babel/src/helpers/filters.mjs +0 -21
  96. package/dist/plugin-babel/src/helpers/index.cjs +0 -5
  97. package/dist/plugin-babel/src/helpers/index.mjs +0 -7
  98. package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -38
  99. package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -35
  100. package/dist/plugin-babel/src/helpers/options.cjs +0 -49
  101. package/dist/plugin-babel/src/helpers/options.mjs +0 -46
  102. package/dist/plugin-babel/src/index.cjs +0 -85
  103. package/dist/plugin-babel/src/index.mjs +0 -83
  104. package/dist/plugin-babel/src/types/index.d.mts +0 -1
  105. package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
  106. package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
  107. package/dist/plugin-env/src/babel/index.cjs +0 -1
  108. package/dist/plugin-env/src/babel/index.mjs +0 -3
  109. package/dist/plugin-env/src/babel/plugin.cjs +0 -70
  110. package/dist/plugin-env/src/babel/plugin.mjs +0 -69
  111. package/dist/plugin-env/src/components/docs.cjs +0 -70
  112. package/dist/plugin-env/src/components/docs.mjs +0 -69
  113. package/dist/plugin-env/src/components/env.cjs +0 -589
  114. package/dist/plugin-env/src/components/env.d.cts +0 -11
  115. package/dist/plugin-env/src/components/env.d.mts +0 -11
  116. package/dist/plugin-env/src/components/env.mjs +0 -586
  117. package/dist/plugin-env/src/components/index.cjs +0 -2
  118. package/dist/plugin-env/src/components/index.mjs +0 -4
  119. package/dist/plugin-env/src/helpers/automd-generator.cjs +0 -22
  120. package/dist/plugin-env/src/helpers/automd-generator.mjs +0 -21
  121. package/dist/plugin-env/src/helpers/create-reflection-resource.cjs +0 -55
  122. package/dist/plugin-env/src/helpers/create-reflection-resource.mjs +0 -54
  123. package/dist/plugin-env/src/helpers/docs-helper.cjs +0 -16
  124. package/dist/plugin-env/src/helpers/docs-helper.mjs +0 -15
  125. package/dist/plugin-env/src/helpers/index.cjs +0 -6
  126. package/dist/plugin-env/src/helpers/index.mjs +0 -8
  127. package/dist/plugin-env/src/helpers/load.cjs +0 -84
  128. package/dist/plugin-env/src/helpers/load.mjs +0 -81
  129. package/dist/plugin-env/src/helpers/persistence.cjs +0 -201
  130. package/dist/plugin-env/src/helpers/persistence.mjs +0 -190
  131. package/dist/plugin-env/src/helpers/reflect.cjs +0 -125
  132. package/dist/plugin-env/src/helpers/reflect.mjs +0 -117
  133. package/dist/plugin-env/src/helpers/source-file-env.cjs +0 -24
  134. package/dist/plugin-env/src/helpers/source-file-env.mjs +0 -23
  135. package/dist/plugin-env/src/helpers/template-helpers.cjs +0 -2
  136. package/dist/plugin-env/src/helpers/template-helpers.mjs +0 -4
  137. package/dist/plugin-env/src/index.cjs +0 -177
  138. package/dist/plugin-env/src/index.mjs +0 -175
  139. package/dist/plugin-env/src/types/plugin.d.cts +0 -149
  140. package/dist/plugin-env/src/types/plugin.d.mts +0 -150
  141. package/dist/plugin-env/src/types/runtime.d.cts +0 -789
  142. package/dist/plugin-env/src/types/runtime.d.mts +0 -789
  143. package/dist/powerlines/src/internal/helpers/hooks.d.cts +0 -47
  144. package/dist/powerlines/src/internal/helpers/hooks.d.mts +0 -49
  145. package/dist/powerlines/src/lib/build/esbuild.cjs +0 -93
  146. package/dist/powerlines/src/lib/build/esbuild.mjs +0 -91
  147. package/dist/powerlines/src/lib/constants/environments.cjs +0 -6
  148. package/dist/powerlines/src/lib/constants/environments.mjs +0 -5
  149. package/dist/powerlines/src/lib/entry.cjs +0 -11
  150. package/dist/powerlines/src/lib/entry.mjs +0 -13
  151. package/dist/powerlines/src/lib/logger.cjs +0 -41
  152. package/dist/powerlines/src/lib/logger.mjs +0 -39
  153. package/dist/powerlines/src/lib/typescript/tsconfig.cjs +0 -38
  154. package/dist/powerlines/src/lib/typescript/tsconfig.mjs +0 -35
  155. package/dist/powerlines/src/lib/unplugin/helpers.cjs +0 -3
  156. package/dist/powerlines/src/lib/unplugin/helpers.mjs +0 -5
  157. package/dist/powerlines/src/lib/unplugin/module-resolution.cjs +0 -66
  158. package/dist/powerlines/src/lib/unplugin/module-resolution.mjs +0 -65
  159. package/dist/powerlines/src/lib/unplugin/plugin.cjs +0 -46
  160. package/dist/powerlines/src/lib/unplugin/plugin.mjs +0 -45
  161. package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -42
  162. package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -40
  163. package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -50
  164. package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -49
  165. package/dist/powerlines/src/lib/utilities/source-file.cjs +0 -5
  166. package/dist/powerlines/src/lib/utilities/source-file.mjs +0 -5
  167. package/dist/powerlines/src/plugin-utils/paths.cjs +0 -1
  168. package/dist/powerlines/src/plugin-utils/paths.mjs +0 -3
  169. package/dist/powerlines/src/types/api.d.cts +0 -104
  170. package/dist/powerlines/src/types/api.d.mts +0 -104
  171. package/dist/powerlines/src/types/babel.d.cts +0 -22
  172. package/dist/powerlines/src/types/babel.d.mts +0 -22
  173. package/dist/powerlines/src/types/build.cjs +0 -21
  174. package/dist/powerlines/src/types/build.d.cts +0 -185
  175. package/dist/powerlines/src/types/build.d.mts +0 -185
  176. package/dist/powerlines/src/types/build.mjs +0 -21
  177. package/dist/powerlines/src/types/commands.d.cts +0 -8
  178. package/dist/powerlines/src/types/commands.d.mts +0 -9
  179. package/dist/powerlines/src/types/config.d.cts +0 -435
  180. package/dist/powerlines/src/types/config.d.mts +0 -436
  181. package/dist/powerlines/src/types/context.d.cts +0 -514
  182. package/dist/powerlines/src/types/context.d.mts +0 -514
  183. package/dist/powerlines/src/types/fs.d.cts +0 -486
  184. package/dist/powerlines/src/types/fs.d.mts +0 -486
  185. package/dist/powerlines/src/types/hooks.d.cts +0 -32
  186. package/dist/powerlines/src/types/hooks.d.mts +0 -32
  187. package/dist/powerlines/src/types/plugin.d.cts +0 -205
  188. package/dist/powerlines/src/types/plugin.d.mts +0 -205
  189. package/dist/powerlines/src/types/resolved.d.cts +0 -94
  190. package/dist/powerlines/src/types/resolved.d.mts +0 -94
  191. package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
  192. package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
  193. package/dist/powerlines/src/types/unplugin.d.cts +0 -22
  194. package/dist/powerlines/src/types/unplugin.d.mts +0 -23
@@ -1,14 +1,14 @@
1
1
  const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_context = require('../plugin-alloy/src/core/contexts/context.cjs');
3
- const require_tsdoc = require('../plugin-alloy/src/typescript/components/tsdoc.cjs');
4
- const require_env = require('../plugin-env/src/components/env.cjs');
5
2
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
- let defu = require("defu");
7
- defu = require_rolldown_runtime.__toESM(defu);
8
- let __stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
9
- let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
10
3
  let __alloy_js_core = require("@alloy-js/core");
11
4
  let __alloy_js_typescript = require("@alloy-js/typescript");
5
+ let __powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
6
+ let __powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
7
+ let __powerlines_plugin_env_components_env = require("@powerlines/plugin-env/components/env");
8
+ let __stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
9
+ let __stryke_string_format_title_case = require("@stryke/string-format/title-case");
10
+ let defu = require("defu");
11
+ defu = require_rolldown_runtime.__toESM(defu);
12
12
 
13
13
  //#region src/components/env.tsx
14
14
  /**
@@ -16,8 +16,8 @@ let __alloy_js_typescript = require("@alloy-js/typescript");
16
16
  */
17
17
  function NodeJsEnvBuiltin(props) {
18
18
  const [{ children }, rest] = (0, __alloy_js_core.splitProps)(props, ["children"]);
19
- const context = require_context.usePowerlines();
20
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_env.EnvBuiltin, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
19
+ const context = (0, __powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
20
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_env_components_env.EnvBuiltin, (0, __alloy_js_core_jsx_runtime.mergeProps)(rest, {
21
21
  get imports() {
22
22
  return (0, defu.default)({
23
23
  "node:os": "os",
@@ -67,10 +67,10 @@ function NodeJsEnvBuiltin(props) {
67
67
  }),
68
68
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
69
69
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
70
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
70
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
71
71
  heading: "The environment path types for storing things like data, config, logs, and cache in the current runtime environment.",
72
72
  get children() {
73
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: `These environment path types are accessed in the {@link EnvPaths} type. ` });
73
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: `These environment path types are accessed in the {@link EnvPaths} type. ` });
74
74
  }
75
75
  }),
76
76
  (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.TypeDeclaration, {
@@ -80,7 +80,7 @@ function NodeJsEnvBuiltin(props) {
80
80
  }),
81
81
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
82
82
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
83
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, { heading: "The environment paths for storing things like data, config, logs, and cache in the current runtime environment." }),
83
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, { heading: "The environment paths for storing things like data, config, logs, and cache in the current runtime environment." }),
84
84
  (0, __alloy_js_core_jsx_runtime.createComponent)(__alloy_js_typescript.TypeDeclaration, {
85
85
  "export": true,
86
86
  name: "EnvPaths",
@@ -88,10 +88,10 @@ function NodeJsEnvBuiltin(props) {
88
88
  }),
89
89
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
90
90
  (0, __alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
91
- (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDoc, {
91
+ (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
92
92
  heading: "The resolved application directories based on the current operating system and environment variables.",
93
93
  get children() {
94
- return (0, __alloy_js_core_jsx_runtime.createComponent)(require_tsdoc.TSDocRemarks, { children: __alloy_js_core.code`If the \`DATA_DIR\`, \`CONFIG_DIR\`, \`CACHE_DIR\`, \`LOG_DIR\`, or \`TEMP_DIR\` environment variables are set, they will be treated as overrides and used by default. If the environment variables are not set, the paths are determined based on the specific conventions for each operating system (with additional overrides available through operating system specific environment variables):
94
+ return (0, __alloy_js_core_jsx_runtime.createComponent)(__powerlines_plugin_alloy_typescript_components_tsdoc.TSDocRemarks, { children: __alloy_js_core.code`If the \`DATA_DIR\`, \`CONFIG_DIR\`, \`CACHE_DIR\`, \`LOG_DIR\`, or \`TEMP_DIR\` environment variables are set, they will be treated as overrides and used by default. If the environment variables are not set, the paths are determined based on the specific conventions for each operating system (with additional overrides available through operating system specific environment variables):
95
95
  - **Linux**: directories are generally created in \`~/.config/<name>\` (this is determined via the [XDG Base Directory spec](https://specifications.freedesktop.org/basedir-spec/latest/))
96
96
  - **Windows**: directories are generally created in \`%AppData%/<name>\`
97
97
  - **MacOS**: directories are generally created in \`~/Library/Application Support/<name>\`
@@ -1,5 +1,5 @@
1
- import { EnvBuiltinProps } from "../plugin-env/src/components/env.cjs";
2
1
  import * as _alloy_js_core0 from "@alloy-js/core";
2
+ import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env";
3
3
 
4
4
  //#region src/components/env.d.ts
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { EnvBuiltinProps } from "../plugin-env/src/components/env.mjs";
2
1
  import * as _alloy_js_core0 from "@alloy-js/core";
2
+ import { EnvBuiltinProps } from "@powerlines/plugin-env/components/env";
3
3
 
4
4
  //#region src/components/env.d.ts
5
5
  /**
@@ -1,12 +1,12 @@
1
- import { usePowerlines } from "../plugin-alloy/src/core/contexts/context.mjs";
2
- import { TSDoc, TSDocRemarks } from "../plugin-alloy/src/typescript/components/tsdoc.mjs";
3
- import { EnvBuiltin } from "../plugin-env/src/components/env.mjs";
4
1
  import { createComponent, createIntrinsic, mergeProps } from "@alloy-js/core/jsx-runtime";
5
- import defu from "defu";
6
- import { kebabCase } from "@stryke/string-format/kebab-case";
7
- import { titleCase } from "@stryke/string-format/title-case";
8
2
  import { Show, code, splitProps } from "@alloy-js/core";
9
3
  import { TypeDeclaration, VarDeclaration } from "@alloy-js/typescript";
4
+ import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
5
+ import { TSDoc, TSDocRemarks } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
6
+ import { EnvBuiltin } from "@powerlines/plugin-env/components/env";
7
+ import { kebabCase } from "@stryke/string-format/kebab-case";
8
+ import { titleCase } from "@stryke/string-format/title-case";
9
+ import defu from "defu";
10
10
 
11
11
  //#region src/components/env.tsx
12
12
  /**
package/dist/index.cjs CHANGED
@@ -1,11 +1,13 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
- const require_index = require('./plugin-babel/src/index.cjs');
4
- const require_index$1 = require('./plugin-env/src/index.cjs');
5
- const require_tsconfig = require('./powerlines/src/lib/typescript/tsconfig.cjs');
6
3
  const require_components_env = require('./components/env.cjs');
7
4
  require('./components/index.cjs');
8
5
  let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
+ let __powerlines_plugin_babel = require("@powerlines/plugin-babel");
7
+ __powerlines_plugin_babel = require_rolldown_runtime.__toESM(__powerlines_plugin_babel);
8
+ let __powerlines_plugin_env = require("@powerlines/plugin-env");
9
+ __powerlines_plugin_env = require_rolldown_runtime.__toESM(__powerlines_plugin_env);
10
+ let powerlines_lib_typescript_tsconfig = require("powerlines/lib/typescript/tsconfig");
9
11
 
10
12
  //#region src/index.tsx
11
13
  /**
@@ -13,15 +15,15 @@ let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
13
15
  */
14
16
  const plugin = (options = {}) => {
15
17
  return [
16
- require_index.default(options.babel),
17
- require_index$1.default(options.env),
18
+ (0, __powerlines_plugin_babel.default)(options.babel),
19
+ (0, __powerlines_plugin_env.default)(options.env),
18
20
  {
19
21
  name: "nodejs",
20
22
  configResolved() {
21
23
  this.devDependencies["@types/node"] = "^22.14.6";
22
24
  this.tsconfig.tsconfigJson.compilerOptions ??= {};
23
25
  this.tsconfig.tsconfigJson.compilerOptions.types ??= [];
24
- if (!require_tsconfig.isMatchFound("node", this.tsconfig.tsconfigJson.compilerOptions.types)) this.tsconfig.tsconfigJson.compilerOptions.types.push("node");
26
+ if (!(0, powerlines_lib_typescript_tsconfig.isMatchFound)("node", this.tsconfig.tsconfigJson.compilerOptions.types)) this.tsconfig.tsconfigJson.compilerOptions.types.push("node");
25
27
  },
26
28
  async prepare() {
27
29
  const _self$ = this;
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.cjs";
2
1
  import { NodeJsEnvBuiltin } from "./components/env.cjs";
3
2
  import "./components/index.cjs";
4
3
  import { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig, __ΩNodeJsPluginContext, __ΩNodeJsPluginOptions, __ΩNodeJsPluginResolvedConfig, __ΩNodeJsPluginUserConfig } from "./types/plugin.cjs";
5
4
  import "./types/index.cjs";
5
+ import { Plugin } from "powerlines/types/plugin";
6
6
 
7
7
  //#region src/index.d.ts
8
8
  /**
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { Plugin } from "./powerlines/src/types/plugin.mjs";
2
1
  import { NodeJsEnvBuiltin } from "./components/env.mjs";
3
2
  import "./components/index.mjs";
4
3
  import { NodeJsPluginContext, NodeJsPluginOptions, NodeJsPluginResolvedConfig, NodeJsPluginUserConfig, __ΩNodeJsPluginContext, __ΩNodeJsPluginOptions, __ΩNodeJsPluginResolvedConfig, __ΩNodeJsPluginUserConfig } from "./types/plugin.mjs";
5
4
  import "./types/index.mjs";
5
+ import { Plugin } from "powerlines/types/plugin";
6
6
 
7
7
  //#region src/index.d.ts
8
8
  /**
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import src_default$1 from "./plugin-babel/src/index.mjs";
2
- import src_default$2 from "./plugin-env/src/index.mjs";
3
- import { isMatchFound } from "./powerlines/src/lib/typescript/tsconfig.mjs";
4
1
  import { NodeJsEnvBuiltin } from "./components/env.mjs";
5
2
  import "./components/index.mjs";
6
3
  import { createComponent } from "@alloy-js/core/jsx-runtime";
4
+ import babel from "@powerlines/plugin-babel";
5
+ import env from "@powerlines/plugin-env";
6
+ import { isMatchFound } from "powerlines/lib/typescript/tsconfig";
7
7
 
8
8
  //#region src/index.tsx
9
9
  /**
@@ -11,8 +11,8 @@ import { createComponent } from "@alloy-js/core/jsx-runtime";
11
11
  */
12
12
  const plugin = (options = {}) => {
13
13
  return [
14
- src_default$1(options.babel),
15
- src_default$2(options.env),
14
+ babel(options.babel),
15
+ env(options.env),
16
16
  {
17
17
  name: "nodejs",
18
18
  configResolved() {
@@ -1,5 +1,5 @@
1
- import { BabelPluginOptions } from "../plugin-babel/src/types/plugin.cjs";
2
- import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "../plugin-env/src/types/plugin.cjs";
1
+ import { BabelPluginOptions } from "@powerlines/plugin-babel/types/plugin";
2
+ import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
3
3
 
4
4
  //#region src/types/plugin.d.ts
5
5
  interface NodeJsPluginOptions {
@@ -1,5 +1,5 @@
1
- import { BabelPluginOptions } from "../plugin-babel/src/types/plugin.mjs";
2
- import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "../plugin-env/src/types/plugin.mjs";
1
+ import { BabelPluginOptions } from "@powerlines/plugin-babel/types/plugin";
2
+ import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
3
3
 
4
4
  //#region src/types/plugin.d.ts
5
5
  interface NodeJsPluginOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-nodejs",
3
- "version": "0.1.117",
3
+ "version": "0.1.118",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a Node.js application.",
6
6
  "repository": {
@@ -141,10 +141,10 @@
141
141
  "dependencies": {
142
142
  "@alloy-js/core": "^0.22.0",
143
143
  "@alloy-js/typescript": "^0.22.0",
144
- "@powerlines/plugin-alloy": "^0.18.114",
145
- "@powerlines/plugin-babel": "^0.12.232",
146
- "@powerlines/plugin-env": "^0.15.122",
147
- "@powerlines/plugin-plugin": "^0.12.174",
144
+ "@powerlines/plugin-alloy": "^0.18.115",
145
+ "@powerlines/plugin-babel": "^0.12.233",
146
+ "@powerlines/plugin-env": "^0.15.123",
147
+ "@powerlines/plugin-plugin": "^0.12.175",
148
148
  "@storm-software/config-tools": "^1.189.0",
149
149
  "@stryke/string-format": "^0.13.4",
150
150
  "defu": "^6.1.4",
@@ -152,5 +152,5 @@
152
152
  },
153
153
  "devDependencies": { "@types/node": "^24.10.9" },
154
154
  "publishConfig": { "access": "public" },
155
- "gitHead": "2852dab8ff7cad2d1aa4a44d7fd2479d62f65d47"
155
+ "gitHead": "f153baa7a374fe331eeb1b8ea37c30c379c5efce"
156
156
  }