@powerlines/plugin-react 0.1.37 → 0.1.39

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.
@@ -14,7 +14,7 @@ import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configura
14
14
  import { AssetGlob } from '@stryke/types/file';
15
15
  import { ResolvedPreviewOptions, PreviewOptions } from 'vite';
16
16
  import { BabelAPI } from '@babel/helper-plugin-utils';
17
- import { O as OutputModeType, V as VirtualFileSystemInterface, R as ResolveOptions, a as VirtualFile, P as PowerlinesWriteFileOptions } from './fs-Y3B84fcf.js';
17
+ import { S as StoragePort, a as StoragePreset, V as VirtualFileSystemInterface, R as ResolveOptions, b as VirtualFile } from './fs-ECFlqnPg.js';
18
18
  import { ArrayValues } from '@stryke/types/array';
19
19
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
20
20
  import ts from 'typescript';
@@ -187,7 +187,7 @@ interface ResolvedEntryTypeDefinition extends TypeDefinition {
187
187
  output?: string;
188
188
  }
189
189
  type BabelResolvedConfig = Omit<BabelUserConfig, "plugins" | "presets"> & Required<Pick<BabelUserConfig, "plugins" | "presets">>;
190
- type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "mode" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "mode" | "ssr">> & {
190
+ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "ssr">> & {
191
191
  /**
192
192
  * The name of the environment
193
193
  */
@@ -198,9 +198,9 @@ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "mode" | "
198
198
  preview?: ResolvedPreviewOptions;
199
199
  };
200
200
  type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
201
- type OutputResolvedConfig = Required<Omit<OutputConfig, "assets"> & {
201
+ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> & {
202
202
  assets: ResolvedAssetGlob[];
203
- }>;
203
+ }> & Pick<OutputConfig, "storage">;
204
204
  /**
205
205
  * The resolved options for the Powerlines project configuration.
206
206
  */
@@ -465,7 +465,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
465
465
  * @param other - The other plugin to compare against.
466
466
  * @returns `true` if the two plugins are the same, `false` otherwise.
467
467
  */
468
- dedupe?: false | ((other: Plugin<any>) => boolean);
468
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
469
469
  /**
470
470
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
471
471
  */
@@ -476,7 +476,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
476
476
  * @param environment - The environment to check.
477
477
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
478
478
  */
479
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
479
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
480
480
  }
481
481
 
482
482
  type ReflectionMode = "default" | "explicit" | "never";
@@ -598,13 +598,16 @@ interface OutputConfig {
598
598
  *
599
599
  * @defaultValue "\{projectRoot\}/dist"
600
600
  */
601
- distPath?: string;
601
+ buildPath?: string;
602
602
  /**
603
- * The format of the output files
603
+ * The folder where the generated runtime artifacts will be located
604
604
  *
605
- * @defaultValue "virtual"
605
+ * @remarks
606
+ * This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
607
+ *
608
+ * @defaultValue "\{projectRoot\}/.powerlines"
606
609
  */
607
- mode?: OutputModeType;
610
+ artifactsPath?: string;
608
611
  /**
609
612
  * The path of the generated runtime declaration file relative to the workspace root.
610
613
  *
@@ -620,15 +623,6 @@ interface OutputConfig {
620
623
  * @defaultValue "powerlines"
621
624
  */
622
625
  builtinPrefix?: string;
623
- /**
624
- * The folder where the generated runtime artifacts will be located
625
- *
626
- * @remarks
627
- * This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
628
- *
629
- * @defaultValue "\{projectRoot\}/.powerlines"
630
- */
631
- artifactsFolder?: string;
632
626
  /**
633
627
  * The module format of the output files
634
628
  *
@@ -645,42 +639,21 @@ interface OutputConfig {
645
639
  * The assets can be specified as a string (path to the asset) or as an object with a `glob` property (to match multiple files). The paths are relative to the project root directory.
646
640
  */
647
641
  assets?: Array<string | AssetGlob>;
648
- }
649
- interface BaseConfig {
650
642
  /**
651
- * The name of the project
652
- */
653
- name?: string;
654
- /**
655
- * The project display title
643
+ * A string preset or a custom {@link StoragePort} to provide fine-grained control over generated/output file storage.
656
644
  *
657
645
  * @remarks
658
- * This option is used in documentation generation and other places where a human-readable title is needed.
659
- */
660
- title?: string;
661
- /**
662
- * A description of the project
646
+ * If a string preset is provided, it must be one of the following values:
647
+ * - `"virtual"`: Uses the local file system for storage.
648
+ * - `"fs"`: Uses an in-memory virtual file system for storage.
663
649
  *
664
- * @remarks
665
- * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
666
- */
667
- description?: string;
668
- /**
669
- * The log level to use for the Powerlines processes.
650
+ * If a custom {@link StoragePort} is provided, it will be used for all file storage operations during the build process.
670
651
  *
671
- * @defaultValue "info"
672
- */
673
- logLevel?: LogLevelLabel | null;
674
- /**
675
- * A custom logger function to use for logging messages
676
- */
677
- customLogger?: LogFn;
678
- /**
679
- * Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
680
- *
681
- * @defaultValue "production"
652
+ * @defaultValue "virtual"
682
653
  */
683
- mode?: "development" | "test" | "production";
654
+ storage?: StoragePort | StoragePreset;
655
+ }
656
+ interface BaseConfig {
684
657
  /**
685
658
  * The entry point(s) for the application
686
659
  */
@@ -764,6 +737,40 @@ interface EnvironmentConfig extends BaseConfig {
764
737
  consumer?: "client" | "server";
765
738
  }
766
739
  interface CommonUserConfig extends BaseConfig {
740
+ /**
741
+ * The name of the project
742
+ */
743
+ name?: string;
744
+ /**
745
+ * The project display title
746
+ *
747
+ * @remarks
748
+ * This option is used in documentation generation and other places where a human-readable title is needed.
749
+ */
750
+ title?: string;
751
+ /**
752
+ * A description of the project
753
+ *
754
+ * @remarks
755
+ * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
756
+ */
757
+ description?: string;
758
+ /**
759
+ * The log level to use for the Powerlines processes.
760
+ *
761
+ * @defaultValue "info"
762
+ */
763
+ logLevel?: LogLevelLabel | null;
764
+ /**
765
+ * A custom logger function to use for logging messages
766
+ */
767
+ customLogger?: LogFn;
768
+ /**
769
+ * Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
770
+ *
771
+ * @defaultValue "production"
772
+ */
773
+ mode?: "development" | "test" | "production";
767
774
  /**
768
775
  * The type of project being built
769
776
  *
@@ -814,7 +821,7 @@ interface CommonUserConfig extends BaseConfig {
814
821
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
815
822
  *
816
823
  * @remarks
817
- * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsFolder | output.artifactsFolder}, this value will be used as the default.
824
+ * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
818
825
  *
819
826
  * @defaultValue "powerlines"
820
827
  */
@@ -1081,17 +1088,15 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1081
1088
  * @param code - The source code of the builtin file
1082
1089
  * @param id - The unique identifier of the builtin file
1083
1090
  * @param path - An optional path to write the builtin file to
1084
- * @param options - Options for writing the file
1085
1091
  */
1086
- emitBuiltin: (code: string, id: string, path?: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
1092
+ emitBuiltin: (code: string, id: string, path?: string) => Promise<void>;
1087
1093
  /**
1088
1094
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
1089
1095
  *
1090
1096
  * @param code - The source code of the entry file
1091
1097
  * @param path - An optional path to write the entry file to
1092
- * @param options - Options for writing the file
1093
1098
  */
1094
- emitEntry: (code: string, path: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
1099
+ emitEntry: (code: string, path: string) => Promise<void>;
1095
1100
  /**
1096
1101
  * A function to update the context fields using a new user configuration options
1097
1102
  */
@@ -14,7 +14,7 @@ import { TypeDefinition, TypeDefinitionParameter } from '@stryke/types/configura
14
14
  import { AssetGlob } from '@stryke/types/file';
15
15
  import { ResolvedPreviewOptions, PreviewOptions } from 'vite';
16
16
  import { BabelAPI } from '@babel/helper-plugin-utils';
17
- import { O as OutputModeType, V as VirtualFileSystemInterface, R as ResolveOptions, a as VirtualFile, P as PowerlinesWriteFileOptions } from './fs-Y3B84fcf.cjs';
17
+ import { S as StoragePort, a as StoragePreset, V as VirtualFileSystemInterface, R as ResolveOptions, b as VirtualFile } from './fs-ECFlqnPg.cjs';
18
18
  import { ArrayValues } from '@stryke/types/array';
19
19
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
20
20
  import ts from 'typescript';
@@ -187,7 +187,7 @@ interface ResolvedEntryTypeDefinition extends TypeDefinition {
187
187
  output?: string;
188
188
  }
189
189
  type BabelResolvedConfig = Omit<BabelUserConfig, "plugins" | "presets"> & Required<Pick<BabelUserConfig, "plugins" | "presets">>;
190
- type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "mode" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "mode" | "ssr">> & {
190
+ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "ssr">> & {
191
191
  /**
192
192
  * The name of the environment
193
193
  */
@@ -198,9 +198,9 @@ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "mode" | "
198
198
  preview?: ResolvedPreviewOptions;
199
199
  };
200
200
  type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
201
- type OutputResolvedConfig = Required<Omit<OutputConfig, "assets"> & {
201
+ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> & {
202
202
  assets: ResolvedAssetGlob[];
203
- }>;
203
+ }> & Pick<OutputConfig, "storage">;
204
204
  /**
205
205
  * The resolved options for the Powerlines project configuration.
206
206
  */
@@ -465,7 +465,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
465
465
  * @param other - The other plugin to compare against.
466
466
  * @returns `true` if the two plugins are the same, `false` otherwise.
467
467
  */
468
- dedupe?: false | ((other: Plugin<any>) => boolean);
468
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
469
469
  /**
470
470
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
471
471
  */
@@ -476,7 +476,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
476
476
  * @param environment - The environment to check.
477
477
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
478
478
  */
479
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
479
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
480
480
  }
481
481
 
482
482
  type ReflectionMode = "default" | "explicit" | "never";
@@ -598,13 +598,16 @@ interface OutputConfig {
598
598
  *
599
599
  * @defaultValue "\{projectRoot\}/dist"
600
600
  */
601
- distPath?: string;
601
+ buildPath?: string;
602
602
  /**
603
- * The format of the output files
603
+ * The folder where the generated runtime artifacts will be located
604
604
  *
605
- * @defaultValue "virtual"
605
+ * @remarks
606
+ * This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
607
+ *
608
+ * @defaultValue "\{projectRoot\}/.powerlines"
606
609
  */
607
- mode?: OutputModeType;
610
+ artifactsPath?: string;
608
611
  /**
609
612
  * The path of the generated runtime declaration file relative to the workspace root.
610
613
  *
@@ -620,15 +623,6 @@ interface OutputConfig {
620
623
  * @defaultValue "powerlines"
621
624
  */
622
625
  builtinPrefix?: string;
623
- /**
624
- * The folder where the generated runtime artifacts will be located
625
- *
626
- * @remarks
627
- * This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
628
- *
629
- * @defaultValue "\{projectRoot\}/.powerlines"
630
- */
631
- artifactsFolder?: string;
632
626
  /**
633
627
  * The module format of the output files
634
628
  *
@@ -645,42 +639,21 @@ interface OutputConfig {
645
639
  * The assets can be specified as a string (path to the asset) or as an object with a `glob` property (to match multiple files). The paths are relative to the project root directory.
646
640
  */
647
641
  assets?: Array<string | AssetGlob>;
648
- }
649
- interface BaseConfig {
650
642
  /**
651
- * The name of the project
652
- */
653
- name?: string;
654
- /**
655
- * The project display title
643
+ * A string preset or a custom {@link StoragePort} to provide fine-grained control over generated/output file storage.
656
644
  *
657
645
  * @remarks
658
- * This option is used in documentation generation and other places where a human-readable title is needed.
659
- */
660
- title?: string;
661
- /**
662
- * A description of the project
646
+ * If a string preset is provided, it must be one of the following values:
647
+ * - `"virtual"`: Uses the local file system for storage.
648
+ * - `"fs"`: Uses an in-memory virtual file system for storage.
663
649
  *
664
- * @remarks
665
- * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
666
- */
667
- description?: string;
668
- /**
669
- * The log level to use for the Powerlines processes.
650
+ * If a custom {@link StoragePort} is provided, it will be used for all file storage operations during the build process.
670
651
  *
671
- * @defaultValue "info"
672
- */
673
- logLevel?: LogLevelLabel | null;
674
- /**
675
- * A custom logger function to use for logging messages
676
- */
677
- customLogger?: LogFn;
678
- /**
679
- * Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
680
- *
681
- * @defaultValue "production"
652
+ * @defaultValue "virtual"
682
653
  */
683
- mode?: "development" | "test" | "production";
654
+ storage?: StoragePort | StoragePreset;
655
+ }
656
+ interface BaseConfig {
684
657
  /**
685
658
  * The entry point(s) for the application
686
659
  */
@@ -764,6 +737,40 @@ interface EnvironmentConfig extends BaseConfig {
764
737
  consumer?: "client" | "server";
765
738
  }
766
739
  interface CommonUserConfig extends BaseConfig {
740
+ /**
741
+ * The name of the project
742
+ */
743
+ name?: string;
744
+ /**
745
+ * The project display title
746
+ *
747
+ * @remarks
748
+ * This option is used in documentation generation and other places where a human-readable title is needed.
749
+ */
750
+ title?: string;
751
+ /**
752
+ * A description of the project
753
+ *
754
+ * @remarks
755
+ * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
756
+ */
757
+ description?: string;
758
+ /**
759
+ * The log level to use for the Powerlines processes.
760
+ *
761
+ * @defaultValue "info"
762
+ */
763
+ logLevel?: LogLevelLabel | null;
764
+ /**
765
+ * A custom logger function to use for logging messages
766
+ */
767
+ customLogger?: LogFn;
768
+ /**
769
+ * Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
770
+ *
771
+ * @defaultValue "production"
772
+ */
773
+ mode?: "development" | "test" | "production";
767
774
  /**
768
775
  * The type of project being built
769
776
  *
@@ -814,7 +821,7 @@ interface CommonUserConfig extends BaseConfig {
814
821
  * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
815
822
  *
816
823
  * @remarks
817
- * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsFolder | output.artifactsFolder}, this value will be used as the default.
824
+ * If no values are provided for {@link OutputConfig.dts | output.dts}, {@link OutputConfig.builtinPrefix | output.builtinPrefix}, or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
818
825
  *
819
826
  * @defaultValue "powerlines"
820
827
  */
@@ -1081,17 +1088,15 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1081
1088
  * @param code - The source code of the builtin file
1082
1089
  * @param id - The unique identifier of the builtin file
1083
1090
  * @param path - An optional path to write the builtin file to
1084
- * @param options - Options for writing the file
1085
1091
  */
1086
- emitBuiltin: (code: string, id: string, path?: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
1092
+ emitBuiltin: (code: string, id: string, path?: string) => Promise<void>;
1087
1093
  /**
1088
1094
  * Resolves a entry virtual file and writes it to the VFS if it does not already exist
1089
1095
  *
1090
1096
  * @param code - The source code of the entry file
1091
1097
  * @param path - An optional path to write the entry file to
1092
- * @param options - Options for writing the file
1093
1098
  */
1094
- emitEntry: (code: string, path: string, options?: PowerlinesWriteFileOptions) => Promise<void>;
1099
+ emitEntry: (code: string, path: string) => Promise<void>;
1095
1100
  /**
1096
1101
  * A function to update the context fields using a new user configuration options
1097
1102
  */
@@ -1,6 +1,6 @@
1
1
  export { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig } from './plugin.cjs';
2
2
  export { ReactEnvInterface, __ΩReactEnvInterface } from './runtime.cjs';
3
- import '../runtime-Djft1hbQ.cjs';
3
+ import '../runtime-DuDyyI3B.cjs';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -17,9 +17,8 @@ import '@stryke/types/configuration';
17
17
  import '@stryke/types/file';
18
18
  import 'vite';
19
19
  import '@babel/helper-plugin-utils';
20
- import '../fs-Y3B84fcf.cjs';
20
+ import '../fs-ECFlqnPg.cjs';
21
21
  import '@stryke/fs/resolve';
22
- import 'node:fs';
23
22
  import '@stryke/types/array';
24
23
  import '@stryke/types/tsconfig';
25
24
  import 'typescript';
@@ -1,6 +1,6 @@
1
1
  export { ReactCompilerOptions, ReactPluginContext, ReactPluginOptions, ReactPluginResolvedConfig, ReactPluginUserConfig, __ΩReactCompilerOptions, __ΩReactPluginContext, __ΩReactPluginOptions, __ΩReactPluginResolvedConfig, __ΩReactPluginUserConfig } from './plugin.js';
2
2
  export { ReactEnvInterface, __ΩReactEnvInterface } from './runtime.js';
3
- import '../runtime-Bcl8KoqS.js';
3
+ import '../runtime-BBoNbrsK.js';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -17,9 +17,8 @@ import '@stryke/types/configuration';
17
17
  import '@stryke/types/file';
18
18
  import 'vite';
19
19
  import '@babel/helper-plugin-utils';
20
- import '../fs-Y3B84fcf.js';
20
+ import '../fs-ECFlqnPg.js';
21
21
  import '@stryke/fs/resolve';
22
- import 'node:fs';
23
22
  import '@stryke/types/array';
24
23
  import '@stryke/types/tsconfig';
25
24
  import 'typescript';
@@ -1,4 +1,4 @@
1
- import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-Djft1hbQ.cjs';
1
+ import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-DuDyyI3B.cjs';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { ReflectionClass } from '@deepkit/type';
4
4
  import * as $ from '@stryke/capnp';
@@ -20,9 +20,8 @@ import '@storm-software/config/types';
20
20
  import '@stryke/types/file';
21
21
  import 'vite';
22
22
  import '@babel/helper-plugin-utils';
23
- import '../fs-Y3B84fcf.cjs';
23
+ import '../fs-ECFlqnPg.cjs';
24
24
  import '@stryke/fs/resolve';
25
- import 'node:fs';
26
25
  import '@stryke/types/array';
27
26
  import '@stryke/types/tsconfig';
28
27
  import 'typescript';
@@ -1783,7 +1782,8 @@ type ReactPluginResolvedConfig = EnvPluginResolvedConfig & {
1783
1782
  */
1784
1783
  react: ReactPluginOptions;
1785
1784
  };
1786
- type ReactPluginContext<TResolvedConfig extends ReactPluginResolvedConfig = ReactPluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
1785
+ interface ReactPluginContext<TResolvedConfig extends ReactPluginResolvedConfig = ReactPluginResolvedConfig> extends EnvPluginContext<TResolvedConfig> {
1786
+ }
1787
1787
  declare type __ΩReactCompilerOptions = any[];
1788
1788
  declare type __ΩReactPluginOptions = any[];
1789
1789
  declare type __ΩReactPluginUserConfig = any[];
@@ -1,4 +1,4 @@
1
- import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-Bcl8KoqS.js';
1
+ import { B as BabelUserConfig, U as UserConfig, R as ResolvedConfig, b as BabelResolvedConfig, P as PluginContext, E as EnvInterface, S as SecretsInterface } from '../runtime-BBoNbrsK.js';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { ReflectionClass } from '@deepkit/type';
4
4
  import * as $ from '@stryke/capnp';
@@ -20,9 +20,8 @@ import '@storm-software/config/types';
20
20
  import '@stryke/types/file';
21
21
  import 'vite';
22
22
  import '@babel/helper-plugin-utils';
23
- import '../fs-Y3B84fcf.js';
23
+ import '../fs-ECFlqnPg.js';
24
24
  import '@stryke/fs/resolve';
25
- import 'node:fs';
26
25
  import '@stryke/types/array';
27
26
  import '@stryke/types/tsconfig';
28
27
  import 'typescript';
@@ -1783,7 +1782,8 @@ type ReactPluginResolvedConfig = EnvPluginResolvedConfig & {
1783
1782
  */
1784
1783
  react: ReactPluginOptions;
1785
1784
  };
1786
- type ReactPluginContext<TResolvedConfig extends ReactPluginResolvedConfig = ReactPluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
1785
+ interface ReactPluginContext<TResolvedConfig extends ReactPluginResolvedConfig = ReactPluginResolvedConfig> extends EnvPluginContext<TResolvedConfig> {
1786
+ }
1787
1787
  declare type __ΩReactCompilerOptions = any[];
1788
1788
  declare type __ΩReactPluginOptions = any[];
1789
1789
  declare type __ΩReactPluginUserConfig = any[];
@@ -1,4 +1,4 @@
1
- import { E as EnvInterface } from '../runtime-Djft1hbQ.cjs';
1
+ import { E as EnvInterface } from '../runtime-DuDyyI3B.cjs';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/package-json';
@@ -15,9 +15,8 @@ import '@stryke/types/configuration';
15
15
  import '@stryke/types/file';
16
16
  import 'vite';
17
17
  import '@babel/helper-plugin-utils';
18
- import '../fs-Y3B84fcf.cjs';
18
+ import '../fs-ECFlqnPg.cjs';
19
19
  import '@stryke/fs/resolve';
20
- import 'node:fs';
21
20
  import '@stryke/types/array';
22
21
  import '@stryke/types/tsconfig';
23
22
  import 'typescript';
@@ -1,4 +1,4 @@
1
- import { E as EnvInterface } from '../runtime-Bcl8KoqS.js';
1
+ import { E as EnvInterface } from '../runtime-BBoNbrsK.js';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/package-json';
@@ -15,9 +15,8 @@ import '@stryke/types/configuration';
15
15
  import '@stryke/types/file';
16
16
  import 'vite';
17
17
  import '@babel/helper-plugin-utils';
18
- import '../fs-Y3B84fcf.js';
18
+ import '../fs-ECFlqnPg.js';
19
19
  import '@stryke/fs/resolve';
20
- import 'node:fs';
21
20
  import '@stryke/types/array';
22
21
  import '@stryke/types/tsconfig';
23
22
  import 'typescript';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-react",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a React application.",
6
6
  "repository": {
@@ -124,25 +124,25 @@
124
124
  "react-dom": { "optional": false }
125
125
  },
126
126
  "dependencies": {
127
- "@storm-software/config-tools": "^1.188.48",
128
- "@stryke/cli": "^0.12.13",
129
- "@stryke/convert": "^0.6.7",
130
- "@stryke/fs": "^0.33.3",
131
- "@stryke/path": "^0.21.1",
127
+ "@storm-software/config-tools": "^1.188.49",
128
+ "@stryke/cli": "^0.12.14",
129
+ "@stryke/convert": "^0.6.8",
130
+ "@stryke/fs": "^0.33.4",
131
+ "@stryke/path": "^0.21.2",
132
132
  "babel-plugin-react-compiler": "^1.0.0",
133
- "@powerlines/alloy": "^0.11.46",
134
- "@powerlines/plugin-babel": "^0.12.46",
135
- "@powerlines/plugin-env": "^0.13.43",
136
- "@powerlines/plugin-plugin": "^0.11.45",
133
+ "@powerlines/alloy": "^0.11.48",
134
+ "@powerlines/plugin-babel": "^0.12.48",
135
+ "@powerlines/plugin-env": "^0.13.45",
136
+ "@powerlines/plugin-plugin": "^0.11.47",
137
137
  "@vitejs/plugin-react": "^5.1.1",
138
138
  "defu": "^6.1.4",
139
- "powerlines": "^0.24.9"
139
+ "powerlines": "^0.25.1"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.37",
143
- "@storm-software/tsup": "^0.2.46",
142
+ "@powerlines/nx": "^0.10.39",
143
+ "@storm-software/tsup": "^0.2.47",
144
144
  "@types/node": "^24.10.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "f94faa2b9a45bd52520ad93e91c5898e0f1f18a5"
147
+ "gitHead": "de1daa466d1524b287e2748490c1e56ab9002b07"
148
148
  }