@powerlines/plugin-react 0.1.106 → 0.1.107
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.
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +12 -12
- package/dist/{plugin-yYQdItCy.d.cts → plugin-C1nLepnu.d.cts} +25 -2
- package/dist/{plugin-DOauJa_m.d.mts → plugin-CCWbVJ0P.d.mts} +25 -3
- package/dist/{runtime-eJB4FEow.d.cts → runtime-BNQjyQ7l.d.cts} +1 -1
- package/dist/{runtime-CEUG_XjE.d.cts → runtime-CKObV75t.d.cts} +1 -1
- package/dist/{runtime--8U-2SZ9.d.mts → runtime-CKyYLoHU.d.mts} +1 -1
- package/dist/{runtime-BFk0BLpy.d.mts → runtime-CbWds61u.d.mts} +1 -1
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/plugin.d.cts +2 -2
- package/dist/types/plugin.d.mts +2 -2
- package/dist/types/runtime.d.cts +2 -2
- package/dist/types/runtime.d.mts +2 -2
- package/package.json +11 -9
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { a as BabelResolvedConfig, c as UserConfig, i as PluginContext, n as SecretsInterface, o as ResolvedConfig, s as BabelUserConfig, t as EnvInterface } from "./runtime-
|
|
1
|
+
import { a as BabelResolvedConfig, c as UserConfig, i as PluginContext, n as SecretsInterface, o as ResolvedConfig, s as BabelUserConfig, t as EnvInterface } from "./runtime-BNQjyQ7l.cjs";
|
|
2
|
+
import { PrintTreeOptions } from "@alloy-js/core";
|
|
2
3
|
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
3
4
|
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
4
5
|
import * as $ from "@stryke/capnp";
|
|
@@ -1583,7 +1584,29 @@ type Reflection<T extends Record<string, any> = Record<string, any>> = type_d_ex
|
|
|
1583
1584
|
};
|
|
1584
1585
|
//#endregion
|
|
1585
1586
|
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
1586
|
-
type
|
|
1587
|
+
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
1588
|
+
/**
|
|
1589
|
+
* If true, the Alloy framework is used to generate Typescript output files.
|
|
1590
|
+
*
|
|
1591
|
+
* @defaultValue true
|
|
1592
|
+
*/
|
|
1593
|
+
typescript?: boolean;
|
|
1594
|
+
/**
|
|
1595
|
+
* If true, the Alloy framework is used to generate JSON output files.
|
|
1596
|
+
*
|
|
1597
|
+
* @defaultValue false
|
|
1598
|
+
*/
|
|
1599
|
+
json?: boolean;
|
|
1600
|
+
/**
|
|
1601
|
+
* If true, the Alloy framework is used to generate Markdown output files.
|
|
1602
|
+
*
|
|
1603
|
+
* @defaultValue false
|
|
1604
|
+
*/
|
|
1605
|
+
markdown?: boolean;
|
|
1606
|
+
};
|
|
1607
|
+
type AlloyPluginResolvedConfig = ResolvedConfig & {
|
|
1608
|
+
alloy: AlloyPluginOptions;
|
|
1609
|
+
};
|
|
1587
1610
|
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
1588
1611
|
render: <TContext extends AlloyPluginContext>(this: TContext, children: Children) => Promise<void>;
|
|
1589
1612
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as BabelResolvedConfig, c as UserConfig, i as PluginContext, n as SecretsInterface, o as ResolvedConfig, s as BabelUserConfig, t as EnvInterface } from "./runtime-
|
|
1
|
+
import { a as BabelResolvedConfig, c as UserConfig, i as PluginContext, n as SecretsInterface, o as ResolvedConfig, s as BabelUserConfig, t as EnvInterface } from "./runtime-CbWds61u.mjs";
|
|
2
2
|
import { Config } from "automd";
|
|
3
3
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
4
4
|
import * as $ from "@stryke/capnp";
|
|
5
|
-
import "@alloy-js/core";
|
|
5
|
+
import { PrintTreeOptions } from "@alloy-js/core";
|
|
6
6
|
import "@alloy-js/typescript";
|
|
7
7
|
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
8
8
|
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
@@ -1583,7 +1583,29 @@ type Reflection<T extends Record<string, any> = Record<string, any>> = type_d_ex
|
|
|
1583
1583
|
};
|
|
1584
1584
|
//#endregion
|
|
1585
1585
|
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
1586
|
-
type
|
|
1586
|
+
type AlloyPluginOptions = Partial<PrintTreeOptions> & {
|
|
1587
|
+
/**
|
|
1588
|
+
* If true, the Alloy framework is used to generate Typescript output files.
|
|
1589
|
+
*
|
|
1590
|
+
* @defaultValue true
|
|
1591
|
+
*/
|
|
1592
|
+
typescript?: boolean;
|
|
1593
|
+
/**
|
|
1594
|
+
* If true, the Alloy framework is used to generate JSON output files.
|
|
1595
|
+
*
|
|
1596
|
+
* @defaultValue false
|
|
1597
|
+
*/
|
|
1598
|
+
json?: boolean;
|
|
1599
|
+
/**
|
|
1600
|
+
* If true, the Alloy framework is used to generate Markdown output files.
|
|
1601
|
+
*
|
|
1602
|
+
* @defaultValue false
|
|
1603
|
+
*/
|
|
1604
|
+
markdown?: boolean;
|
|
1605
|
+
};
|
|
1606
|
+
type AlloyPluginResolvedConfig = ResolvedConfig & {
|
|
1607
|
+
alloy: AlloyPluginOptions;
|
|
1608
|
+
};
|
|
1587
1609
|
type AlloyPluginContext<TResolvedConfig extends AlloyPluginResolvedConfig = AlloyPluginResolvedConfig> = PluginContext<TResolvedConfig> & {
|
|
1588
1610
|
render: <TContext extends AlloyPluginContext>(this: TContext, children: Children) => Promise<void>;
|
|
1589
1611
|
};
|
|
@@ -721,7 +721,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
721
721
|
/**
|
|
722
722
|
* A configuration tuple for a Powerlines plugin.
|
|
723
723
|
*/
|
|
724
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> |
|
|
724
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | PluginConfigTuple<TContext> | PluginConfigObject<TContext> | Promise<PluginConfig<TContext>> | PluginConfig<TContext>[];
|
|
725
725
|
type ProjectType = "application" | "library";
|
|
726
726
|
type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
|
|
727
727
|
/**
|
|
@@ -723,7 +723,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
723
723
|
/**
|
|
724
724
|
* A configuration tuple for a Powerlines plugin.
|
|
725
725
|
*/
|
|
726
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> |
|
|
726
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | PluginConfigTuple<TContext> | PluginConfigObject<TContext> | Promise<PluginConfig<TContext>> | PluginConfig<TContext>[];
|
|
727
727
|
type ProjectType = "application" | "library";
|
|
728
728
|
type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
|
|
729
729
|
/**
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-
|
|
2
|
-
import "../runtime-
|
|
3
|
-
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime-
|
|
1
|
+
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-C1nLepnu.cjs";
|
|
2
|
+
import "../runtime-BNQjyQ7l.cjs";
|
|
3
|
+
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime-CKObV75t.cjs";
|
|
4
4
|
import "../index-CtCMUyZA.cjs";
|
|
5
5
|
export { ReactCompilerOptions, ReactEnvInterface, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactEnvInterface, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../runtime-
|
|
2
|
-
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-
|
|
3
|
-
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime
|
|
1
|
+
import "../runtime-CbWds61u.mjs";
|
|
2
|
+
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-CCWbVJ0P.mjs";
|
|
3
|
+
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime-CKyYLoHU.mjs";
|
|
4
4
|
import "../index-C-svZlpj.mjs";
|
|
5
5
|
export { ReactCompilerOptions, ReactEnvInterface, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactEnvInterface, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig };
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-
|
|
2
|
-
import "../runtime-
|
|
1
|
+
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-C1nLepnu.cjs";
|
|
2
|
+
import "../runtime-BNQjyQ7l.cjs";
|
|
3
3
|
export { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../runtime-
|
|
2
|
-
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-
|
|
1
|
+
import "../runtime-CbWds61u.mjs";
|
|
2
|
+
import { a as ReactPluginUserConfig, c as __ΩReactPluginOptions, i as ReactPluginResolvedConfig, l as __ΩReactPluginResolvedConfig, n as ReactPluginContext, o as __ΩReactCompilerOptions, r as ReactPluginOptions, s as __ΩReactPluginContext, t as ReactCompilerOptions, u as __ΩReactPluginUserConfig } from "../plugin-CCWbVJ0P.mjs";
|
|
3
3
|
export { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig };
|
package/dist/types/runtime.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../runtime-
|
|
2
|
-
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime-
|
|
1
|
+
import "../runtime-BNQjyQ7l.cjs";
|
|
2
|
+
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime-CKObV75t.cjs";
|
|
3
3
|
export { ReactEnvInterface, __ΩReactEnvInterface };
|
package/dist/types/runtime.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../runtime-
|
|
2
|
-
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime
|
|
1
|
+
import "../runtime-CbWds61u.mjs";
|
|
2
|
+
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "../runtime-CKyYLoHU.mjs";
|
|
3
3
|
export { ReactEnvInterface, __ΩReactEnvInterface };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.107",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for building a React application.",
|
|
6
6
|
"repository": {
|
|
@@ -136,9 +136,9 @@
|
|
|
136
136
|
"react-dom": { "optional": false }
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
|
-
"@powerlines/plugin-alloy": "^0.
|
|
140
|
-
"@powerlines/plugin-babel": "^0.12.
|
|
141
|
-
"@powerlines/plugin-env": "^0.14.
|
|
139
|
+
"@powerlines/plugin-alloy": "^0.15.0",
|
|
140
|
+
"@powerlines/plugin-babel": "^0.12.112",
|
|
141
|
+
"@powerlines/plugin-env": "^0.14.6",
|
|
142
142
|
"@storm-software/config-tools": "^1.188.74",
|
|
143
143
|
"@stryke/cli": "^0.12.36",
|
|
144
144
|
"@stryke/convert": "^0.6.29",
|
|
@@ -147,13 +147,15 @@
|
|
|
147
147
|
"@vitejs/plugin-react": "^5.1.2",
|
|
148
148
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
149
149
|
"defu": "^6.1.4",
|
|
150
|
-
"powerlines": "^0.36.
|
|
150
|
+
"powerlines": "^0.36.8"
|
|
151
151
|
},
|
|
152
152
|
"devDependencies": {
|
|
153
|
+
"@alloy-js/core": "^0.21.0",
|
|
154
|
+
"@alloy-js/typescript": "^0.21.0",
|
|
153
155
|
"@babel/core": "^7.28.5",
|
|
154
|
-
"@powerlines/nx": "^0.11.
|
|
155
|
-
"@powerlines/plugin-
|
|
156
|
-
"@powerlines/plugin-
|
|
156
|
+
"@powerlines/nx": "^0.11.34",
|
|
157
|
+
"@powerlines/plugin-alloy": "^0.15.0",
|
|
158
|
+
"@powerlines/plugin-plugin": "^0.12.55",
|
|
157
159
|
"@types/node": "^24.10.4",
|
|
158
160
|
"@types/react": "^19.2.7",
|
|
159
161
|
"@types/react-dom": "^19.2.3",
|
|
@@ -161,5 +163,5 @@
|
|
|
161
163
|
"react-dom": "^19.2.3"
|
|
162
164
|
},
|
|
163
165
|
"publishConfig": { "access": "public" },
|
|
164
|
-
"gitHead": "
|
|
166
|
+
"gitHead": "8867c7bf5d0505b507b029ae191bfc2844478c0e"
|
|
165
167
|
}
|