@powerlines/plugin-react 0.1.42 → 0.1.43

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-B3ESv9Lo.cjs';
1
+ import { P as PluginContext, a as Plugin } from './runtime-C5rBBfE4.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';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PluginContext, a as Plugin } from './runtime-BfSWB-HY.js';
1
+ import { P as PluginContext, a as Plugin } from './runtime-8LM97zCg.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';
@@ -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-B3ESv9Lo.cjs';
3
+ import '../runtime-C5rBBfE4.cjs';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -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-BfSWB-HY.js';
3
+ import '../runtime-8LM97zCg.js';
4
4
  import '@stryke/env/get-env-paths';
5
5
  import '@stryke/types/base';
6
6
  import '@stryke/types/package-json';
@@ -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-B3ESv9Lo.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-C5rBBfE4.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';
@@ -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-BfSWB-HY.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-8LM97zCg.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';
@@ -1,4 +1,4 @@
1
- import { E as EnvInterface } from '../runtime-B3ESv9Lo.cjs';
1
+ import { E as EnvInterface } from '../runtime-C5rBBfE4.cjs';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/package-json';
@@ -1,4 +1,4 @@
1
- import { E as EnvInterface } from '../runtime-BfSWB-HY.js';
1
+ import { E as EnvInterface } from '../runtime-8LM97zCg.js';
2
2
  import '@stryke/env/get-env-paths';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/package-json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-react",
3
- "version": "0.1.42",
3
+ "version": "0.1.43",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for building a React application.",
6
6
  "repository": {
@@ -130,19 +130,19 @@
130
130
  "@stryke/fs": "^0.33.4",
131
131
  "@stryke/path": "^0.21.2",
132
132
  "babel-plugin-react-compiler": "^1.0.0",
133
- "@powerlines/alloy": "^0.11.51",
134
- "@powerlines/plugin-babel": "^0.12.51",
135
- "@powerlines/plugin-env": "^0.13.48",
136
- "@powerlines/plugin-plugin": "^0.11.50",
133
+ "@powerlines/alloy": "^0.11.52",
134
+ "@powerlines/plugin-babel": "^0.12.52",
135
+ "@powerlines/plugin-env": "^0.13.49",
136
+ "@powerlines/plugin-plugin": "^0.11.51",
137
137
  "@vitejs/plugin-react": "^5.1.1",
138
138
  "defu": "^6.1.4",
139
- "powerlines": "^0.25.4"
139
+ "powerlines": "^0.26.0"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.42",
142
+ "@powerlines/nx": "^0.10.43",
143
143
  "@storm-software/tsup": "^0.2.47",
144
144
  "@types/node": "^24.10.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "1b998051f406f2465d5fbfd11594a41e170c0467"
147
+ "gitHead": "f5914f6eb955964b0c2c1785c6e75d5ee04ebd79"
148
148
  }
@@ -424,12 +424,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
424
424
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
425
425
  isEntry: boolean;
426
426
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
427
- /**
428
- * An API object that can be used for inter-plugin communication.
429
- *
430
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
431
- */
432
- api?: Record<string, any>;
433
427
  };
434
428
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
435
429
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -439,6 +433,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
439
433
  * The name of the plugin, for use in deduplication, error messages and logs.
440
434
  */
441
435
  name: string;
436
+ /**
437
+ * An API object that can be used for inter-plugin communication.
438
+ *
439
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
440
+ */
441
+ api?: Record<string, any>;
442
442
  /**
443
443
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
444
444
  *
@@ -424,12 +424,6 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
424
424
  resolveId: PluginHook<(this: BuildPluginContext<TContext["config"]> & TContext, id: string, importer: string | undefined, options: {
425
425
  isEntry: boolean;
426
426
  }) => MaybePromise<string | ExternalIdResult | null | undefined>, "id">;
427
- /**
428
- * An API object that can be used for inter-plugin communication.
429
- *
430
- * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
431
- */
432
- api?: Record<string, any>;
433
427
  };
434
428
  type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
435
429
  [TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
@@ -439,6 +433,12 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
439
433
  * The name of the plugin, for use in deduplication, error messages and logs.
440
434
  */
441
435
  name: string;
436
+ /**
437
+ * An API object that can be used for inter-plugin communication.
438
+ *
439
+ * @see https://rollupjs.org/plugin-development/#direct-plugin-communication
440
+ */
441
+ api?: Record<string, any>;
442
442
  /**
443
443
  * Enforce plugin invocation tier similar to webpack loaders. Hooks ordering is still subject to the `order` property in the hook object.
444
444
  *