@powerlines/plugin-react 0.1.24 → 0.1.27

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-3fYYMoHw.cjs';
1
+ import { P as PluginContext, a as Plugin } from './runtime-u0u1c5nt.cjs';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { PrintTreeOptions } from '@alloy-js/core';
4
4
  import { ReactPluginContext } from './types/plugin.cjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PluginContext, a as Plugin } from './runtime-TlFH2es_.js';
1
+ import { P as PluginContext, a as Plugin } from './runtime-BDoDvElA.js';
2
2
  import { Children } from '@alloy-js/core/jsx-runtime';
3
3
  import { PrintTreeOptions } from '@alloy-js/core';
4
4
  import { ReactPluginContext } from './types/plugin.js';
@@ -1067,6 +1067,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1067
1067
  * @returns A logger function
1068
1068
  */
1069
1069
  extendLog: (name: string) => LogFn;
1070
+ /**
1071
+ * Generates a checksum representing the current context state
1072
+ *
1073
+ * @returns A promise that resolves to a string representing the checksum
1074
+ */
1075
+ generateChecksum: () => Promise<string>;
1070
1076
  }
1071
1077
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1072
1078
  /**
@@ -1067,6 +1067,12 @@ interface UnresolvedContext<TResolvedConfig extends ResolvedConfig = ResolvedCon
1067
1067
  * @returns A logger function
1068
1068
  */
1069
1069
  extendLog: (name: string) => LogFn;
1070
+ /**
1071
+ * Generates a checksum representing the current context state
1072
+ *
1073
+ * @returns A promise that resolves to a string representing the checksum
1074
+ */
1075
+ generateChecksum: () => Promise<string>;
1070
1076
  }
1071
1077
  type Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = Omit<UnresolvedContext<TResolvedConfig>, "config"> & {
1072
1078
  /**
@@ -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-3fYYMoHw.cjs';
3
+ import '../runtime-u0u1c5nt.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-TlFH2es_.js';
3
+ import '../runtime-BDoDvElA.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-3fYYMoHw.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-u0u1c5nt.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-TlFH2es_.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-BDoDvElA.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-3fYYMoHw.cjs';
1
+ import { E as EnvInterface } from '../runtime-u0u1c5nt.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-TlFH2es_.js';
1
+ import { E as EnvInterface } from '../runtime-BDoDvElA.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.24",
3
+ "version": "0.1.27",
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.47",
127
+ "@storm-software/config-tools": "^1.188.48",
128
128
  "@stryke/cli": "^0.12.7",
129
129
  "@stryke/convert": "^0.6.2",
130
130
  "@stryke/fs": "^0.32.13",
131
131
  "@stryke/path": "^0.19.2",
132
132
  "babel-plugin-react-compiler": "^1.0.0",
133
- "@powerlines/alloy": "^0.11.33",
134
- "@powerlines/plugin-babel": "^0.12.33",
135
- "@powerlines/plugin-env": "^0.13.30",
136
- "@powerlines/plugin-plugin": "^0.11.32",
133
+ "@powerlines/alloy": "^0.11.36",
134
+ "@powerlines/plugin-babel": "^0.12.36",
135
+ "@powerlines/plugin-env": "^0.13.33",
136
+ "@powerlines/plugin-plugin": "^0.11.35",
137
137
  "@vitejs/plugin-react": "^5.1.1",
138
138
  "defu": "^6.1.4",
139
- "powerlines": "^0.23.7"
139
+ "powerlines": "^0.23.10"
140
140
  },
141
141
  "devDependencies": {
142
- "@powerlines/nx": "^0.10.24",
143
- "@storm-software/tsup": "^0.2.45",
142
+ "@powerlines/nx": "^0.10.27",
143
+ "@storm-software/tsup": "^0.2.46",
144
144
  "@types/node": "^24.10.1"
145
145
  },
146
146
  "publishConfig": { "access": "public" },
147
- "gitHead": "76575e78b1db97f4786341913ad2ec42ec1de504"
147
+ "gitHead": "5a6b8349dc29bf9e496ed5dee32c6cfb8d9bff4e"
148
148
  }