@powerlines/plugin-react 0.1.149 → 0.1.151
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-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.151",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a React application.",
|
|
6
6
|
"repository": {
|
|
@@ -141,9 +141,9 @@
|
|
|
141
141
|
"@alloy-js/markdown": "^0.22.0",
|
|
142
142
|
"@alloy-js/typescript": "^0.22.0",
|
|
143
143
|
"@babel/core": "^7.28.5",
|
|
144
|
-
"@powerlines/plugin-alloy": "^0.18.
|
|
145
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
146
|
-
"@powerlines/plugin-env": "^0.15.
|
|
144
|
+
"@powerlines/plugin-alloy": "^0.18.19",
|
|
145
|
+
"@powerlines/plugin-babel": "^0.12.146",
|
|
146
|
+
"@powerlines/plugin-env": "^0.15.22",
|
|
147
147
|
"@storm-software/config-tools": "^1.188.75",
|
|
148
148
|
"@stryke/cli": "^0.12.37",
|
|
149
149
|
"@stryke/convert": "^0.6.30",
|
|
@@ -152,14 +152,14 @@
|
|
|
152
152
|
"@vitejs/plugin-react": "^5.1.2",
|
|
153
153
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
154
154
|
"defu": "^6.1.4",
|
|
155
|
-
"powerlines": "^0.37.
|
|
155
|
+
"powerlines": "^0.37.11"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
158
|
+
"@powerlines/plugin-plugin": "^0.12.89",
|
|
159
159
|
"@types/node": "^24.10.4",
|
|
160
160
|
"@types/react": "^19.2.7",
|
|
161
161
|
"@types/react-dom": "^19.2.3"
|
|
162
162
|
},
|
|
163
163
|
"publishConfig": { "access": "public" },
|
|
164
|
-
"gitHead": "
|
|
164
|
+
"gitHead": "f3772c353f185b0d76e51bceea500ec8dcd9f041"
|
|
165
165
|
}
|