@powerlines/plugin-react 0.1.49 → 0.1.52
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/README.md +5 -1
- package/dist/index.cjs +1 -67
- package/dist/index.d.cts +4 -44
- package/dist/index.d.mts +4 -47
- package/dist/index.mjs +1 -65
- package/dist/{plugin-C9ZuWdaR.d.cts → plugin-BU0wy__m.d.cts} +3 -5
- package/dist/{plugin-JgSIR_pC.d.mts → plugin-TBSgdu4B.d.mts} +6 -6
- package/dist/plugin.cjs +1 -0
- package/dist/{types/plugin.d.cts → plugin.d.cts} +2 -3
- package/dist/{types/plugin.d.mts → plugin.d.mts} +2 -3
- package/dist/plugin.mjs +1 -0
- package/dist/{runtime-CH2w8aTC.d.mts → runtime-1VVIzvUj.d.mts} +2 -3
- package/dist/{resolved-C8Vvfp78.d.cts → runtime-B2KsRASa.d.cts} +842 -55
- package/dist/{resolved-cGosdCt1.d.mts → runtime-Bn9852yo.d.mts} +844 -59
- package/dist/{runtime-FcS-im6N.d.mts → runtime-Lv-DI-PR.d.cts} +2 -3
- package/dist/runtime.cjs +1 -0
- package/dist/runtime.d.cts +3 -0
- package/dist/runtime.d.mts +3 -0
- package/dist/runtime.mjs +1 -0
- package/package.json +9 -9
- package/dist/chunk-CF6LXmkI.mjs +0 -1
- package/dist/components/index.cjs +0 -1
- package/dist/components/index.d.cts +0 -4
- package/dist/components/index.d.mts +0 -4
- package/dist/components/index.mjs +0 -1
- package/dist/components/react-optimized.cjs +0 -1
- package/dist/components/react-optimized.d.cts +0 -3
- package/dist/components/react-optimized.d.mts +0 -3
- package/dist/components/react-optimized.mjs +0 -1
- package/dist/index-B8OHl-c_.d.mts +0 -1
- package/dist/index-BR1oNnaF.d.cts +0 -1
- package/dist/index-CFG0_wK4.d.cts +0 -1
- package/dist/index-DNLi60D-.d.mts +0 -1
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/plugin-C9ZuWdaR.d.cts.map +0 -1
- package/dist/plugin-JgSIR_pC.d.mts.map +0 -1
- package/dist/plugin-sboatcNU.d.mts +0 -1779
- package/dist/plugin-sboatcNU.d.mts.map +0 -1
- package/dist/react-optimized-B4-nlx1E.d.mts +0 -103
- package/dist/react-optimized-B4-nlx1E.d.mts.map +0 -1
- package/dist/react-optimized-BO9knQDM.cjs +0 -1
- package/dist/react-optimized-B_P6YxHv.mjs +0 -2
- package/dist/react-optimized-B_P6YxHv.mjs.map +0 -1
- package/dist/react-optimized-CY318RuO.d.cts +0 -102
- package/dist/react-optimized-CY318RuO.d.cts.map +0 -1
- package/dist/react-optimized-CbXKgStb.d.mts +0 -103
- package/dist/react-optimized-CbXKgStb.d.mts.map +0 -1
- package/dist/resolved-C3sdBJbK.d.mts +0 -1680
- package/dist/resolved-C3sdBJbK.d.mts.map +0 -1
- package/dist/resolved-C8Vvfp78.d.cts.map +0 -1
- package/dist/resolved-cGosdCt1.d.mts.map +0 -1
- package/dist/runtime-Bp9G0scd.cjs +0 -0
- package/dist/runtime-CH2w8aTC.d.mts.map +0 -1
- package/dist/runtime-DEBqRdSt.d.mts +0 -793
- package/dist/runtime-DEBqRdSt.d.mts.map +0 -1
- package/dist/runtime-DRosxZBg.d.mts +0 -793
- package/dist/runtime-DRosxZBg.d.mts.map +0 -1
- package/dist/runtime-FcS-im6N.d.mts.map +0 -1
- package/dist/runtime-ag6w6CSq.d.cts +0 -793
- package/dist/runtime-ag6w6CSq.d.cts.map +0 -1
- package/dist/runtime-cDYyRPa0.mjs +0 -1
- package/dist/runtime-e8zq29Og.d.cts +0 -16
- package/dist/runtime-e8zq29Og.d.cts.map +0 -1
- package/dist/types/index.cjs +0 -1
- package/dist/types/index.d.cts +0 -6
- package/dist/types/index.d.mts +0 -6
- package/dist/types/index.mjs +0 -1
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.mjs +0 -1
- package/dist/types/runtime.cjs +0 -1
- package/dist/types/runtime.d.cts +0 -4
- package/dist/types/runtime.d.mts +0 -4
- package/dist/types/runtime.mjs +0 -1
- package/dist/types-C5ggNT4K.mjs +0 -1
- package/dist/types-a8gm_IaQ.cjs +0 -0
- /package/dist/{components-BWLXb7a2.cjs → plugin-DHXHjv16.cjs} +0 -0
- /package/dist/{components-MTvNCZDU.mjs → plugin-DzeYlbKJ.mjs} +0 -0
- /package/dist/{plugin-G4qbpIjB.mjs → runtime-2grn5p5x.mjs} +0 -0
- /package/dist/{plugin-pBKbb5K9.cjs → runtime-D4zTdSwv.cjs} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,44 +1,4 @@
|
|
|
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
|
|
3
|
-
import { n as
|
|
4
|
-
|
|
5
|
-
import "./runtime-ag6w6CSq.cjs";
|
|
6
|
-
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "./runtime-e8zq29Og.cjs";
|
|
7
|
-
import "./index-CFG0_wK4.cjs";
|
|
8
|
-
import { PrintTreeOptions } from "@alloy-js/core";
|
|
9
|
-
import { Children as Children$1 } from "@alloy-js/core/jsx-runtime";
|
|
10
|
-
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
11
|
-
|
|
12
|
-
//#region ../plugin-plugin/src/types/plugin.d.ts
|
|
13
|
-
type PluginPluginAlloyOptions = Partial<PrintTreeOptions> & {
|
|
14
|
-
/**
|
|
15
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
16
|
-
*
|
|
17
|
-
* @defaultValue false
|
|
18
|
-
*/
|
|
19
|
-
generatesJson?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
22
|
-
*
|
|
23
|
-
* @defaultValue false
|
|
24
|
-
*/
|
|
25
|
-
generatesMarkdown?: boolean;
|
|
26
|
-
};
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region ../alloy/src/types/plugin.d.ts
|
|
29
|
-
interface AlloyPluginOptions {
|
|
30
|
-
alloy?: PluginPluginAlloyOptions;
|
|
31
|
-
}
|
|
32
|
-
type AlloyPluginBuilderResult<TContext extends PluginContext = PluginContext> = Plugin<TContext> & {
|
|
33
|
-
render: (this: TContext) => Children$1;
|
|
34
|
-
};
|
|
35
|
-
type AlloyPluginBuilder<TContext extends PluginContext = PluginContext, TOptions = any> = <T extends TContext>(options: TOptions) => AlloyPluginBuilderResult<T>;
|
|
36
|
-
//#endregion
|
|
37
|
-
//#region src/index.d.ts
|
|
38
|
-
/**
|
|
39
|
-
* A package containing a Powerlines plugin for building a React application.
|
|
40
|
-
*/
|
|
41
|
-
declare const plugin: <T extends ReactPluginContext<ReactPluginResolvedConfig>>(options: Parameters<AlloyPluginBuilder<ReactPluginContext<ReactPluginResolvedConfig>>>[0] & AlloyPluginOptions) => Plugin<T>;
|
|
42
|
-
//#endregion
|
|
43
|
-
export { ReactCompilerOptions, ReactEnvInterface, ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactEnvInterface, __ΩReactOptimizedBuiltinProps, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig, plugin as default, plugin };
|
|
44
|
-
//# sourceMappingURL=index.d.cts.map
|
|
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-BU0wy__m.cjs";
|
|
2
|
+
import "./runtime-B2KsRASa.cjs";
|
|
3
|
+
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "./runtime-Lv-DI-PR.cjs";
|
|
4
|
+
export { ReactCompilerOptions, ReactEnvInterface, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactEnvInterface, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,47 +1,4 @@
|
|
|
1
|
-
import { o as
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
|
|
5
|
-
import "./runtime-DRosxZBg.mjs";
|
|
6
|
-
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "./runtime-FcS-im6N.mjs";
|
|
7
|
-
import "./index-B8OHl-c_.mjs";
|
|
8
|
-
import { Children } from "@alloy-js/core/jsx-runtime";
|
|
9
|
-
import { PrintTreeOptions } from "@alloy-js/core";
|
|
10
|
-
import { MaybePromise } from "@stryke/types/base";
|
|
11
|
-
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
12
|
-
import { UnpluginOptions } from "unplugin";
|
|
13
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
14
|
-
|
|
15
|
-
//#region ../plugin-plugin/src/types/plugin.d.ts
|
|
16
|
-
type PluginPluginAlloyOptions = Partial<PrintTreeOptions> & {
|
|
17
|
-
/**
|
|
18
|
-
* If true, the Alloy framework is used to generate JSON output files.
|
|
19
|
-
*
|
|
20
|
-
* @defaultValue false
|
|
21
|
-
*/
|
|
22
|
-
generatesJson?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* If true, the Alloy framework is used to generate Markdown output files.
|
|
25
|
-
*
|
|
26
|
-
* @defaultValue false
|
|
27
|
-
*/
|
|
28
|
-
generatesMarkdown?: boolean;
|
|
29
|
-
};
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region ../alloy/src/types/plugin.d.ts
|
|
32
|
-
interface AlloyPluginOptions {
|
|
33
|
-
alloy?: PluginPluginAlloyOptions;
|
|
34
|
-
}
|
|
35
|
-
type AlloyPluginBuilderResult<TContext extends PluginContext = PluginContext> = Plugin<TContext> & {
|
|
36
|
-
render: (this: TContext) => Children;
|
|
37
|
-
};
|
|
38
|
-
type AlloyPluginBuilder<TContext extends PluginContext = PluginContext, TOptions = any> = <T extends TContext>(options: TOptions) => AlloyPluginBuilderResult<T>;
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region src/index.d.ts
|
|
41
|
-
/**
|
|
42
|
-
* A package containing a Powerlines plugin for building a React application.
|
|
43
|
-
*/
|
|
44
|
-
declare const plugin: <T extends ReactPluginContext<ReactPluginResolvedConfig>>(options: Parameters<AlloyPluginBuilder<ReactPluginContext<ReactPluginResolvedConfig>>>[0] & AlloyPluginOptions) => Plugin<T>;
|
|
45
|
-
//#endregion
|
|
46
|
-
export { ReactCompilerOptions, ReactEnvInterface, ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactEnvInterface, __ΩReactOptimizedBuiltinProps, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig, plugin as default, plugin };
|
|
47
|
-
//# sourceMappingURL=index.d.mts.map
|
|
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-TBSgdu4B.mjs";
|
|
2
|
+
import "./runtime-Bn9852yo.mjs";
|
|
3
|
+
import { n as __ΩReactEnvInterface, t as ReactEnvInterface } from "./runtime-1VVIzvUj.mjs";
|
|
4
|
+
export { ReactCompilerOptions, ReactEnvInterface, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactEnvInterface, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig };
|