@powerlines/plugin-nodejs 0.1.15 → 0.1.16
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.
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { LogLevel } from "../../../powerlines/src/types/context.cjs";
|
|
2
|
-
|
|
3
1
|
//#region ../plugin-env/src/types/runtime.d.ts
|
|
4
|
-
|
|
5
2
|
/**
|
|
6
3
|
* The base environment configuration used by Powerlines applications
|
|
7
4
|
*
|
|
@@ -90,6 +87,8 @@ interface EnvInterface {
|
|
|
90
87
|
* @defaultValue "production"
|
|
91
88
|
*
|
|
92
89
|
* @alias NODE_ENV
|
|
90
|
+
* @alias ENV
|
|
91
|
+
* @alias VERCEL_ENV
|
|
93
92
|
*
|
|
94
93
|
* @category neutral
|
|
95
94
|
*/
|
|
@@ -99,8 +98,6 @@ interface EnvInterface {
|
|
|
99
98
|
*
|
|
100
99
|
* @defaultValue "production"
|
|
101
100
|
*
|
|
102
|
-
* @alias ENV
|
|
103
|
-
* @alias VERCEL_ENV
|
|
104
101
|
* @category neutral
|
|
105
102
|
*/
|
|
106
103
|
ENVIRONMENT: string;
|
|
@@ -259,13 +256,13 @@ interface EnvInterface {
|
|
|
259
256
|
*/
|
|
260
257
|
DEFAULT_LOCALE: string;
|
|
261
258
|
/**
|
|
262
|
-
* The default lowest log level to accept. If `null`, the logger will reject all records.
|
|
259
|
+
* The default lowest log level to accept. If `null`, the logger will reject all records.
|
|
263
260
|
*
|
|
264
261
|
* @defaultValue "info"
|
|
265
262
|
*
|
|
266
263
|
* @category neutral
|
|
267
264
|
*/
|
|
268
|
-
LOG_LEVEL?:
|
|
265
|
+
LOG_LEVEL?: "error" | "warn" | "info" | "debug" | null;
|
|
269
266
|
/**
|
|
270
267
|
* An indicator that specifies the current runtime is a continuous integration environment.
|
|
271
268
|
*
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { LogLevel } from "../../../powerlines/src/types/context.mjs";
|
|
2
|
-
|
|
3
1
|
//#region ../plugin-env/src/types/runtime.d.ts
|
|
4
|
-
|
|
5
2
|
/**
|
|
6
3
|
* The base environment configuration used by Powerlines applications
|
|
7
4
|
*
|
|
@@ -90,6 +87,8 @@ interface EnvInterface {
|
|
|
90
87
|
* @defaultValue "production"
|
|
91
88
|
*
|
|
92
89
|
* @alias NODE_ENV
|
|
90
|
+
* @alias ENV
|
|
91
|
+
* @alias VERCEL_ENV
|
|
93
92
|
*
|
|
94
93
|
* @category neutral
|
|
95
94
|
*/
|
|
@@ -99,8 +98,6 @@ interface EnvInterface {
|
|
|
99
98
|
*
|
|
100
99
|
* @defaultValue "production"
|
|
101
100
|
*
|
|
102
|
-
* @alias ENV
|
|
103
|
-
* @alias VERCEL_ENV
|
|
104
101
|
* @category neutral
|
|
105
102
|
*/
|
|
106
103
|
ENVIRONMENT: string;
|
|
@@ -259,13 +256,13 @@ interface EnvInterface {
|
|
|
259
256
|
*/
|
|
260
257
|
DEFAULT_LOCALE: string;
|
|
261
258
|
/**
|
|
262
|
-
* The default lowest log level to accept. If `null`, the logger will reject all records.
|
|
259
|
+
* The default lowest log level to accept. If `null`, the logger will reject all records.
|
|
263
260
|
*
|
|
264
261
|
* @defaultValue "info"
|
|
265
262
|
*
|
|
266
263
|
* @category neutral
|
|
267
264
|
*/
|
|
268
|
-
LOG_LEVEL?:
|
|
265
|
+
LOG_LEVEL?: "error" | "warn" | "info" | "debug" | null;
|
|
269
266
|
/**
|
|
270
267
|
* An indicator that specifies the current runtime is a continuous integration environment.
|
|
271
268
|
*
|
|
@@ -18,10 +18,6 @@ import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessag
|
|
|
18
18
|
|
|
19
19
|
//#region ../powerlines/src/types/context.d.ts
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
* The severity level of a log message.
|
|
23
|
-
*/
|
|
24
|
-
type LogLevel = "debug" | "info" | "warning" | "error" | "fatal";
|
|
25
21
|
interface MetaInfo {
|
|
26
22
|
/**
|
|
27
23
|
* The checksum generated from the resolved options
|
|
@@ -518,4 +514,4 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
518
514
|
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
|
|
519
515
|
type WithUnpluginBuildContext<TContext extends PluginContext> = UnpluginBuildContext & TContext;
|
|
520
516
|
//#endregion
|
|
521
|
-
export { APIContext, BuildPluginContext, Context, EnvironmentContext,
|
|
517
|
+
export { APIContext, BuildPluginContext, Context, EnvironmentContext, PluginContext, SelectHooksOptions, UnresolvedContext, WithUnpluginBuildContext };
|
|
@@ -18,10 +18,6 @@ import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessag
|
|
|
18
18
|
|
|
19
19
|
//#region ../powerlines/src/types/context.d.ts
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
* The severity level of a log message.
|
|
23
|
-
*/
|
|
24
|
-
type LogLevel = "debug" | "info" | "warning" | "error" | "fatal";
|
|
25
21
|
interface MetaInfo {
|
|
26
22
|
/**
|
|
27
23
|
* The checksum generated from the resolved options
|
|
@@ -518,4 +514,4 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
|
|
|
518
514
|
type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
|
|
519
515
|
type WithUnpluginBuildContext<TContext extends PluginContext> = UnpluginBuildContext & TContext;
|
|
520
516
|
//#endregion
|
|
521
|
-
export { APIContext, BuildPluginContext, Context, EnvironmentContext,
|
|
517
|
+
export { APIContext, BuildPluginContext, Context, EnvironmentContext, PluginContext, SelectHooksOptions, UnresolvedContext, WithUnpluginBuildContext };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-nodejs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
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.
|
|
137
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
138
|
-
"@powerlines/plugin-env": "^0.15.
|
|
136
|
+
"@powerlines/plugin-alloy": "^0.18.18",
|
|
137
|
+
"@powerlines/plugin-babel": "^0.12.145",
|
|
138
|
+
"@powerlines/plugin-env": "^0.15.21",
|
|
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.
|
|
142
|
+
"powerlines": "^0.37.10"
|
|
143
143
|
},
|
|
144
144
|
"devDependencies": {
|
|
145
145
|
"@babel/core": "^7.28.5",
|
|
146
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
146
|
+
"@powerlines/plugin-plugin": "^0.12.88",
|
|
147
147
|
"@types/node": "^24.10.4"
|
|
148
148
|
},
|
|
149
149
|
"publishConfig": { "access": "public" },
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "8f22239a7e7be01f8d501942cfa8c24f65a36bb9"
|
|
151
151
|
}
|