@powerlines/plugin-nodejs 0.1.11 → 0.1.12

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.
@@ -22,13 +22,6 @@ import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessag
22
22
  * The severity level of a log message.
23
23
  */
24
24
  type LogLevel = "debug" | "info" | "warning" | "error" | "fatal";
25
- declare const LogLevel: {
26
- DEBUG: LogLevel;
27
- INFO: LogLevel;
28
- WARNING: LogLevel;
29
- ERROR: LogLevel;
30
- FATAL: LogLevel;
31
- };
32
25
  interface MetaInfo {
33
26
  /**
34
27
  * The checksum generated from the resolved options
@@ -337,19 +330,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
337
330
  *
338
331
  * @param code - The source code of the builtin file
339
332
  * @param id - The unique identifier of the builtin file
340
- * @param path - An optional path to write the builtin file to
341
333
  * @param options - Additional options for writing the builtin file
342
334
  */
343
- emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
335
+ emitBuiltin: (code: string, id: string, options?: EmitOptions) => Promise<void>;
344
336
  /**
345
337
  * Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
346
338
  *
347
339
  * @param code - The source code of the builtin file
348
340
  * @param id - The unique identifier of the builtin file
349
- * @param path - An optional path to write the builtin file to
350
341
  * @param options - Additional options for writing the builtin file
351
342
  */
352
- emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
343
+ emitBuiltinSync: (code: string, id: string, options?: EmitOptions) => void;
353
344
  /**
354
345
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
355
346
  *
@@ -22,13 +22,6 @@ import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessag
22
22
  * The severity level of a log message.
23
23
  */
24
24
  type LogLevel = "debug" | "info" | "warning" | "error" | "fatal";
25
- declare const LogLevel: {
26
- DEBUG: LogLevel;
27
- INFO: LogLevel;
28
- WARNING: LogLevel;
29
- ERROR: LogLevel;
30
- FATAL: LogLevel;
31
- };
32
25
  interface MetaInfo {
33
26
  /**
34
27
  * The checksum generated from the resolved options
@@ -337,19 +330,17 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
337
330
  *
338
331
  * @param code - The source code of the builtin file
339
332
  * @param id - The unique identifier of the builtin file
340
- * @param path - An optional path to write the builtin file to
341
333
  * @param options - Additional options for writing the builtin file
342
334
  */
343
- emitBuiltin: (code: string, id: string, path?: string, options?: EmitOptions) => Promise<void>;
335
+ emitBuiltin: (code: string, id: string, options?: EmitOptions) => Promise<void>;
344
336
  /**
345
337
  * Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
346
338
  *
347
339
  * @param code - The source code of the builtin file
348
340
  * @param id - The unique identifier of the builtin file
349
- * @param path - An optional path to write the builtin file to
350
341
  * @param options - Additional options for writing the builtin file
351
342
  */
352
- emitBuiltinSync: (code: string, id: string, path?: string, options?: EmitOptions) => void;
343
+ emitBuiltinSync: (code: string, id: string, options?: EmitOptions) => void;
353
344
  /**
354
345
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
355
346
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-nodejs",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a Node.js application.",
6
6
  "repository": {
@@ -133,19 +133,19 @@
133
133
  "dependencies": {
134
134
  "@alloy-js/core": "^0.22.0",
135
135
  "@alloy-js/typescript": "^0.22.0",
136
- "@powerlines/plugin-alloy": "^0.18.13",
137
- "@powerlines/plugin-babel": "^0.12.140",
138
- "@powerlines/plugin-env": "^0.15.16",
136
+ "@powerlines/plugin-alloy": "^0.18.14",
137
+ "@powerlines/plugin-babel": "^0.12.141",
138
+ "@powerlines/plugin-env": "^0.15.17",
139
139
  "@storm-software/config-tools": "^1.188.75",
140
140
  "@stryke/string-format": "^0.12.30",
141
141
  "defu": "^6.1.4",
142
- "powerlines": "^0.37.5"
142
+ "powerlines": "^0.37.6"
143
143
  },
144
144
  "devDependencies": {
145
145
  "@babel/core": "^7.28.5",
146
- "@powerlines/plugin-plugin": "^0.12.83",
146
+ "@powerlines/plugin-plugin": "^0.12.84",
147
147
  "@types/node": "^24.10.4"
148
148
  },
149
149
  "publishConfig": { "access": "public" },
150
- "gitHead": "cde0a30e0b06424661720ed40b29ae6f67a9ebcc"
150
+ "gitHead": "4f4e84adc19aadfea6a385968266306934c1ee08"
151
151
  }