@powerlines/plugin-react 0.1.145 → 0.1.146
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.146",
|
|
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.14",
|
|
145
|
+
"@powerlines/plugin-babel": "^0.12.141",
|
|
146
|
+
"@powerlines/plugin-env": "^0.15.17",
|
|
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.6"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
158
|
+
"@powerlines/plugin-plugin": "^0.12.84",
|
|
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": "4f4e84adc19aadfea6a385968266306934c1ee08"
|
|
165
165
|
}
|