@powerlines/plugin-date 0.12.158 → 0.12.160
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.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 { RequestInfo, Response } from "undici";
|
|
|
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 };
|
|
@@ -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
|
*
|
|
@@ -18,10 +18,6 @@ import { RequestInfo, Response } from "undici";
|
|
|
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-date",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.160",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for injecting static .env configuration values to the code so that they're accessible at runtime.",
|
|
6
6
|
"repository": {
|
|
@@ -128,15 +128,15 @@
|
|
|
128
128
|
"files": ["dist/**/*"],
|
|
129
129
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
130
130
|
"dependencies": {
|
|
131
|
-
"@powerlines/plugin-env": "^0.15.
|
|
131
|
+
"@powerlines/plugin-env": "^0.15.22",
|
|
132
132
|
"@storm-software/config-tools": "^1.188.75",
|
|
133
133
|
"@stryke/path": "^0.24.1",
|
|
134
|
-
"powerlines": "^0.37.
|
|
134
|
+
"powerlines": "^0.37.11"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
137
|
+
"@powerlines/plugin-plugin": "^0.12.89",
|
|
138
138
|
"@types/node": "^24.10.4"
|
|
139
139
|
},
|
|
140
140
|
"publishConfig": { "access": "public" },
|
|
141
|
-
"gitHead": "
|
|
141
|
+
"gitHead": "f3772c353f185b0d76e51bceea500ec8dcd9f041"
|
|
142
142
|
}
|