@powerlines/plugin-react 0.1.46 → 0.1.47

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.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PluginContext, a as Plugin } from './runtime-BW91guC1.cjs';
1
+ import { P as PluginContext, a as Plugin } from './runtime-C5ZrfPiA.cjs';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { PrintTreeOptions } from '@alloy-js/core';
4
4
  import { ReactPluginContext, ReactPluginResolvedConfig } from './types/plugin.cjs';
@@ -6,12 +6,15 @@ export { ReactCompilerOptions, ReactPluginOptions, ReactPluginUserConfig, __ΩRe
6
6
  export { ReactEnvInterface, __ΩReactEnvInterface } from './types/runtime.cjs';
7
7
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from './components/react-optimized.cjs';
8
8
  import '@stryke/env/get-env-paths';
9
+ import '@stryke/http/fetch';
9
10
  import '@stryke/types/base';
10
11
  import '@stryke/types/package-json';
11
12
  import 'jiti';
12
13
  import 'magic-string';
14
+ import 'oxc-parser';
13
15
  import 'semver';
14
16
  import 'ts-morph';
17
+ import 'undici';
15
18
  import 'unplugin';
16
19
  import '@babel/core';
17
20
  import '@storm-software/build-tools/types';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PluginContext, a as Plugin } from './runtime-4U11u3by.js';
1
+ import { P as PluginContext, a as Plugin } from './runtime-kdZZtKC2.js';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { PrintTreeOptions } from '@alloy-js/core';
4
4
  import { ReactPluginContext, ReactPluginResolvedConfig } from './types/plugin.js';
@@ -6,12 +6,15 @@ export { ReactCompilerOptions, ReactPluginOptions, ReactPluginUserConfig, __ΩRe
6
6
  export { ReactEnvInterface, __ΩReactEnvInterface } from './types/runtime.js';
7
7
  export { ReactOptimizedBuiltin, ReactOptimizedBuiltinProps, __ΩReactOptimizedBuiltinProps } from './components/react-optimized.js';
8
8
  import '@stryke/env/get-env-paths';
9
+ import '@stryke/http/fetch';
9
10
  import '@stryke/types/base';
10
11
  import '@stryke/types/package-json';
11
12
  import 'jiti';
12
13
  import 'magic-string';
14
+ import 'oxc-parser';
13
15
  import 'semver';
14
16
  import 'ts-morph';
17
+ import 'undici';
15
18
  import 'unplugin';
16
19
  import '@babel/core';
17
20
  import '@storm-software/build-tools/types';
@@ -1,10 +1,13 @@
1
1
  import { EnvPaths } from '@stryke/env/get-env-paths';
2
+ import { FetchRequestOptions } from '@stryke/http/fetch';
2
3
  import { NonUndefined, MaybePromise, FunctionLike } from '@stryke/types/base';
3
4
  import { PackageJson } from '@stryke/types/package-json';
4
5
  import { Jiti } from 'jiti';
5
6
  import { SourceMap } from 'magic-string';
7
+ import { ParserOptions, ParseResult } from 'oxc-parser';
6
8
  import { Range } from 'semver';
7
9
  import { Project } from 'ts-morph';
10
+ import { RequestInfo, Response } from 'undici';
8
11
  import { TransformResult as TransformResult$1, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginMessage, UnpluginBuildContext } from 'unplugin';
9
12
  import { PluginItem, PluginObj, PluginPass, transformAsync } from '@babel/core';
10
13
  import { Format } from '@storm-software/build-tools/types';
@@ -204,7 +207,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
204
207
  /**
205
208
  * The resolved options for the Powerlines project configuration.
206
209
  */
207
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework">> & {
210
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
208
211
  /**
209
212
  * The configuration options that were provided inline to the Powerlines CLI.
210
213
  */
@@ -578,6 +581,22 @@ type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
578
581
  */
579
582
  presets?: BabelTransformPluginOptions[];
580
583
  };
584
+ interface DeployConfig {
585
+ /**
586
+ * The deployment variant being used by the Powerlines engine.
587
+ *
588
+ * @example
589
+ * ```ts
590
+ * export default defineConfig({
591
+ * deploy: {
592
+ * variant: "cloudflare"
593
+ * }
594
+ * });
595
+ *
596
+ * ```
597
+ */
598
+ variant?: string;
599
+ }
581
600
  interface OutputConfig {
582
601
  /**
583
602
  * The path to output the final compiled files to
@@ -700,7 +719,7 @@ interface BaseConfig {
700
719
  * @remarks
701
720
  * If set to `false`, the deployment will be disabled.
702
721
  */
703
- deploy?: Record<string, any> | false;
722
+ deploy?: DeployConfig | false;
704
723
  /**
705
724
  * The path to the tsconfig file to be used by the compiler
706
725
  *
@@ -827,7 +846,7 @@ interface CommonUserConfig extends BaseConfig {
827
846
  */
828
847
  framework?: string;
829
848
  }
830
- type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> = Omit<CommonUserConfig, "build"> & {
849
+ interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
831
850
  /**
832
851
  * Configuration provided to build processes
833
852
  *
@@ -847,7 +866,7 @@ type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedCo
847
866
  */
848
867
  override?: Partial<TBuildResolvedConfig>;
849
868
  };
850
- };
869
+ }
851
870
  type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
852
871
  /**
853
872
  * The configuration provided while executing Powerlines commands.
@@ -911,6 +930,18 @@ interface InitContextOptions {
911
930
  */
912
931
  isHighPriority: boolean;
913
932
  }
933
+ interface FetchOptions extends FetchRequestOptions {
934
+ /**
935
+ * An indicator specifying that the request should bypass any caching
936
+ */
937
+ skipCache?: boolean;
938
+ }
939
+ interface ParseOptions extends ParserOptions {
940
+ /**
941
+ * When true this allows return statements to be outside functions to e.g. support parsing CommonJS code.
942
+ */
943
+ allowReturnOutsideFunction?: boolean;
944
+ }
914
945
  /**
915
946
  * The unresolved Powerlines context.
916
947
  *
@@ -927,6 +958,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
927
958
  */
928
959
  config: Omit<TResolvedConfig["userConfig"], "build" | "output"> & Required<Pick<TResolvedConfig["userConfig"], "build" | "output">> & {
929
960
  projectRoot: NonUndefined<TResolvedConfig["userConfig"]["root"]>;
961
+ sourceRoot: NonUndefined<TResolvedConfig["userConfig"]["sourceRoot"]>;
930
962
  output: TResolvedConfig["output"];
931
963
  };
932
964
  /**
@@ -1046,6 +1078,44 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1046
1078
  * This instance is created lazily on first access.
1047
1079
  */
1048
1080
  program: Project;
1081
+ /**
1082
+ * A function to perform HTTP fetch requests
1083
+ *
1084
+ * @remarks
1085
+ * This function uses a caching layer to avoid duplicate requests during the Powerlines process.
1086
+ *
1087
+ * @example
1088
+ * ```ts
1089
+ * const response = await context.fetch("https://api.example.com/data");
1090
+ * const data = await response.json();
1091
+ * ```
1092
+ *
1093
+ * @see https://github.com/nodejs/undici
1094
+ *
1095
+ * @param input - The URL to fetch.
1096
+ * @param options - The fetch request options.
1097
+ * @returns A promise that resolves to a response returned by the fetch.
1098
+ */
1099
+ fetch: (input: RequestInfo, options?: FetchOptions) => Promise<Response>;
1100
+ /**
1101
+ * Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
1102
+ *
1103
+ * @remarks
1104
+ * This function can be used to parse TypeScript code into an AST for further analysis or transformation.
1105
+ *
1106
+ * @example
1107
+ * ```ts
1108
+ * const ast = context.parse("const x: number = 42;");
1109
+ * ```
1110
+ *
1111
+ * @see https://rollupjs.org/plugin-development/#this-parse
1112
+ * @see https://github.com/oxc/oxc
1113
+ *
1114
+ * @param code - The source code to parse.
1115
+ * @param options - The options to pass to the parser.
1116
+ * @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
1117
+ */
1118
+ parse: (code: string, options?: ParseOptions) => Promise<ParseResult>;
1049
1119
  /**
1050
1120
  * A helper function to resolve modules using the Jiti resolver
1051
1121
  *
@@ -1145,7 +1215,7 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
1145
1215
  */
1146
1216
  logger: LogFn;
1147
1217
  }
1148
- type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = PluginContext<TResolvedConfig> & Omit<UnpluginBuildContext, "parse">;
1218
+ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
1149
1219
 
1150
1220
  /**
1151
1221
  * The base environment configuration used by Powerlines applications
@@ -1,10 +1,13 @@
1
1
  import { EnvPaths } from '@stryke/env/get-env-paths';
2
+ import { FetchRequestOptions } from '@stryke/http/fetch';
2
3
  import { NonUndefined, MaybePromise, FunctionLike } from '@stryke/types/base';
3
4
  import { PackageJson } from '@stryke/types/package-json';
4
5
  import { Jiti } from 'jiti';
5
6
  import { SourceMap } from 'magic-string';
7
+ import { ParserOptions, ParseResult } from 'oxc-parser';
6
8
  import { Range } from 'semver';
7
9
  import { Project } from 'ts-morph';
10
+ import { RequestInfo, Response } from 'undici';
8
11
  import { TransformResult as TransformResult$1, ExternalIdResult, HookFilter, UnpluginOptions, UnpluginContext, UnpluginMessage, UnpluginBuildContext } from 'unplugin';
9
12
  import { PluginItem, PluginObj, PluginPass, transformAsync } from '@babel/core';
10
13
  import { Format } from '@storm-software/build-tools/types';
@@ -204,7 +207,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
204
207
  /**
205
208
  * The resolved options for the Powerlines project configuration.
206
209
  */
207
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework">> & {
210
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
208
211
  /**
209
212
  * The configuration options that were provided inline to the Powerlines CLI.
210
213
  */
@@ -578,6 +581,22 @@ type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
578
581
  */
579
582
  presets?: BabelTransformPluginOptions[];
580
583
  };
584
+ interface DeployConfig {
585
+ /**
586
+ * The deployment variant being used by the Powerlines engine.
587
+ *
588
+ * @example
589
+ * ```ts
590
+ * export default defineConfig({
591
+ * deploy: {
592
+ * variant: "cloudflare"
593
+ * }
594
+ * });
595
+ *
596
+ * ```
597
+ */
598
+ variant?: string;
599
+ }
581
600
  interface OutputConfig {
582
601
  /**
583
602
  * The path to output the final compiled files to
@@ -700,7 +719,7 @@ interface BaseConfig {
700
719
  * @remarks
701
720
  * If set to `false`, the deployment will be disabled.
702
721
  */
703
- deploy?: Record<string, any> | false;
722
+ deploy?: DeployConfig | false;
704
723
  /**
705
724
  * The path to the tsconfig file to be used by the compiler
706
725
  *
@@ -827,7 +846,7 @@ interface CommonUserConfig extends BaseConfig {
827
846
  */
828
847
  framework?: string;
829
848
  }
830
- type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> = Omit<CommonUserConfig, "build"> & {
849
+ interface UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedConfig extends BuildResolvedConfig = BuildResolvedConfig, TBuildVariant extends string = any> extends Omit<CommonUserConfig, "build"> {
831
850
  /**
832
851
  * Configuration provided to build processes
833
852
  *
@@ -847,7 +866,7 @@ type UserConfig<TBuildConfig extends BuildConfig = BuildConfig, TBuildResolvedCo
847
866
  */
848
867
  override?: Partial<TBuildResolvedConfig>;
849
868
  };
850
- };
869
+ }
851
870
  type PowerlinesCommand = "new" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
852
871
  /**
853
872
  * The configuration provided while executing Powerlines commands.
@@ -911,6 +930,18 @@ interface InitContextOptions {
911
930
  */
912
931
  isHighPriority: boolean;
913
932
  }
933
+ interface FetchOptions extends FetchRequestOptions {
934
+ /**
935
+ * An indicator specifying that the request should bypass any caching
936
+ */
937
+ skipCache?: boolean;
938
+ }
939
+ interface ParseOptions extends ParserOptions {
940
+ /**
941
+ * When true this allows return statements to be outside functions to e.g. support parsing CommonJS code.
942
+ */
943
+ allowReturnOutsideFunction?: boolean;
944
+ }
914
945
  /**
915
946
  * The unresolved Powerlines context.
916
947
  *
@@ -927,6 +958,7 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
927
958
  */
928
959
  config: Omit<TResolvedConfig["userConfig"], "build" | "output"> & Required<Pick<TResolvedConfig["userConfig"], "build" | "output">> & {
929
960
  projectRoot: NonUndefined<TResolvedConfig["userConfig"]["root"]>;
961
+ sourceRoot: NonUndefined<TResolvedConfig["userConfig"]["sourceRoot"]>;
930
962
  output: TResolvedConfig["output"];
931
963
  };
932
964
  /**
@@ -1046,6 +1078,44 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1046
1078
  * This instance is created lazily on first access.
1047
1079
  */
1048
1080
  program: Project;
1081
+ /**
1082
+ * A function to perform HTTP fetch requests
1083
+ *
1084
+ * @remarks
1085
+ * This function uses a caching layer to avoid duplicate requests during the Powerlines process.
1086
+ *
1087
+ * @example
1088
+ * ```ts
1089
+ * const response = await context.fetch("https://api.example.com/data");
1090
+ * const data = await response.json();
1091
+ * ```
1092
+ *
1093
+ * @see https://github.com/nodejs/undici
1094
+ *
1095
+ * @param input - The URL to fetch.
1096
+ * @param options - The fetch request options.
1097
+ * @returns A promise that resolves to a response returned by the fetch.
1098
+ */
1099
+ fetch: (input: RequestInfo, options?: FetchOptions) => Promise<Response>;
1100
+ /**
1101
+ * Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
1102
+ *
1103
+ * @remarks
1104
+ * This function can be used to parse TypeScript code into an AST for further analysis or transformation.
1105
+ *
1106
+ * @example
1107
+ * ```ts
1108
+ * const ast = context.parse("const x: number = 42;");
1109
+ * ```
1110
+ *
1111
+ * @see https://rollupjs.org/plugin-development/#this-parse
1112
+ * @see https://github.com/oxc/oxc
1113
+ *
1114
+ * @param code - The source code to parse.
1115
+ * @param options - The options to pass to the parser.
1116
+ * @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
1117
+ */
1118
+ parse: (code: string, options?: ParseOptions) => Promise<ParseResult>;
1049
1119
  /**
1050
1120
  * A helper function to resolve modules using the Jiti resolver
1051
1121
  *
@@ -1145,7 +1215,7 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
1145
1215
  */
1146
1216
  logger: LogFn;
1147
1217
  }
1148
- type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = PluginContext<TResolvedConfig> & Omit<UnpluginBuildContext, "parse">;
1218
+ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = UnpluginBuildContext & PluginContext<TResolvedConfig>;
1149
1219
 
1150
1220
  /**
1151
1221
  * The base environment configuration used by Powerlines applications
@@ -1,13 +1,16 @@
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-BW91guC1.cjs';
3
+ import '../runtime-C5ZrfPiA.cjs';
4
4
  import '@stryke/env/get-env-paths';
5
+ import '@stryke/http/fetch';
5
6
  import '@stryke/types/base';
6
7
  import '@stryke/types/package-json';
7
8
  import 'jiti';
8
9
  import 'magic-string';
10
+ import 'oxc-parser';
9
11
  import 'semver';
10
12
  import 'ts-morph';
13
+ import 'undici';
11
14
  import 'unplugin';
12
15
  import '@babel/core';
13
16
  import '@storm-software/build-tools/types';
@@ -1,13 +1,16 @@
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-4U11u3by.js';
3
+ import '../runtime-kdZZtKC2.js';
4
4
  import '@stryke/env/get-env-paths';
5
+ import '@stryke/http/fetch';
5
6
  import '@stryke/types/base';
6
7
  import '@stryke/types/package-json';
7
8
  import 'jiti';
8
9
  import 'magic-string';
10
+ import 'oxc-parser';
9
11
  import 'semver';
10
12
  import 'ts-morph';
13
+ import 'undici';
11
14
  import 'unplugin';
12
15
  import '@babel/core';
13
16
  import '@storm-software/build-tools/types';
@@ -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-BW91guC1.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-C5ZrfPiA.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';
@@ -6,12 +6,15 @@ import { DotenvParseOutput } from '@stryke/env/types';
6
6
  import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
7
7
  import { PluginOptions } from 'babel-plugin-react-compiler';
8
8
  import '@stryke/env/get-env-paths';
9
+ import '@stryke/http/fetch';
9
10
  import '@stryke/types/base';
10
11
  import '@stryke/types/package-json';
11
12
  import 'jiti';
12
13
  import 'magic-string';
14
+ import 'oxc-parser';
13
15
  import 'semver';
14
16
  import 'ts-morph';
17
+ import 'undici';
15
18
  import 'unplugin';
16
19
  import '@babel/core';
17
20
  import '@storm-software/build-tools/types';
@@ -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-4U11u3by.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-kdZZtKC2.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';
@@ -6,12 +6,15 @@ import { DotenvParseOutput } from '@stryke/env/types';
6
6
  import { DotenvConfiguration, TypeDefinitionParameter, TypeDefinition } from '@stryke/types/configuration';
7
7
  import { PluginOptions } from 'babel-plugin-react-compiler';
8
8
  import '@stryke/env/get-env-paths';
9
+ import '@stryke/http/fetch';
9
10
  import '@stryke/types/base';
10
11
  import '@stryke/types/package-json';
11
12
  import 'jiti';
12
13
  import 'magic-string';
14
+ import 'oxc-parser';
13
15
  import 'semver';
14
16
  import 'ts-morph';
17
+ import 'undici';
15
18
  import 'unplugin';
16
19
  import '@babel/core';
17
20
  import '@storm-software/build-tools/types';
@@ -1,11 +1,14 @@
1
- import { E as EnvInterface } from '../runtime-BW91guC1.cjs';
1
+ import { E as EnvInterface } from '../runtime-C5ZrfPiA.cjs';
2
2
  import '@stryke/env/get-env-paths';
3
+ import '@stryke/http/fetch';
3
4
  import '@stryke/types/base';
4
5
  import '@stryke/types/package-json';
5
6
  import 'jiti';
6
7
  import 'magic-string';
8
+ import 'oxc-parser';
7
9
  import 'semver';
8
10
  import 'ts-morph';
11
+ import 'undici';
9
12
  import 'unplugin';
10
13
  import '@babel/core';
11
14
  import '@storm-software/build-tools/types';
@@ -1,11 +1,14 @@
1
- import { E as EnvInterface } from '../runtime-4U11u3by.js';
1
+ import { E as EnvInterface } from '../runtime-kdZZtKC2.js';
2
2
  import '@stryke/env/get-env-paths';
3
+ import '@stryke/http/fetch';
3
4
  import '@stryke/types/base';
4
5
  import '@stryke/types/package-json';
5
6
  import 'jiti';
6
7
  import 'magic-string';
8
+ import 'oxc-parser';
7
9
  import 'semver';
8
10
  import 'ts-morph';
11
+ import 'undici';
9
12
  import 'unplugin';
10
13
  import '@babel/core';
11
14
  import '@storm-software/build-tools/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-react",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a React application.",
6
6
  "repository": {
@@ -125,24 +125,24 @@
125
125
  },
126
126
  "dependencies": {
127
127
  "@storm-software/config-tools": "^1.188.50",
128
- "@stryke/cli": "^0.12.14",
129
- "@stryke/convert": "^0.6.8",
130
- "@stryke/fs": "^0.33.4",
131
- "@stryke/path": "^0.21.2",
128
+ "@stryke/cli": "^0.12.18",
129
+ "@stryke/convert": "^0.6.12",
130
+ "@stryke/fs": "^0.33.8",
131
+ "@stryke/path": "^0.21.6",
132
132
  "babel-plugin-react-compiler": "^1.0.0",
133
- "@powerlines/alloy": "^0.11.55",
134
- "@powerlines/plugin-babel": "^0.12.55",
135
- "@powerlines/plugin-env": "^0.13.52",
136
- "@powerlines/plugin-plugin": "^0.11.54",
133
+ "@powerlines/alloy": "^0.11.56",
134
+ "@powerlines/plugin-babel": "^0.12.56",
135
+ "@powerlines/plugin-env": "^0.13.53",
136
+ "@powerlines/plugin-plugin": "^0.11.55",
137
137
  "@vitejs/plugin-react": "^5.1.1",
138
138
  "defu": "^6.1.4",
139
- "powerlines": "^0.27.0"
139
+ "powerlines": "^0.28.0"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.46",
142
+ "@powerlines/nx": "^0.10.47",
143
143
  "@storm-software/tsup": "^0.2.48",
144
144
  "@types/node": "^24.10.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "bbbbe4fd720918401d58e4553d93ff2018d78e6a"
147
+ "gitHead": "3feaa815e117c46d827eee84c3521e54670abb9b"
148
148
  }