@powerlines/plugin-capnp 0.1.40 → 0.1.41

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.
@@ -1466,7 +1466,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1466
1466
  * @param other - The other plugin to compare against.
1467
1467
  * @returns `true` if the two plugins are the same, `false` otherwise.
1468
1468
  */
1469
- dedupe?: false | ((other: Plugin<any>) => boolean);
1469
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1470
1470
  /**
1471
1471
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1472
1472
  */
@@ -1477,7 +1477,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1477
1477
  * @param environment - The environment to check.
1478
1478
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1479
1479
  */
1480
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1480
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1481
1481
  }
1482
1482
 
1483
1483
  type CapnpPluginOptions = Partial<Omit<CapnpcOptions, "workspaceRoot" | "projectRoot" | "schemas">> & {
@@ -1466,7 +1466,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1466
1466
  * @param other - The other plugin to compare against.
1467
1467
  * @returns `true` if the two plugins are the same, `false` otherwise.
1468
1468
  */
1469
- dedupe?: false | ((other: Plugin<any>) => boolean);
1469
+ dedupe?: false | ((other: Plugin<TContext>) => boolean);
1470
1470
  /**
1471
1471
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1472
1472
  */
@@ -1477,7 +1477,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1477
1477
  * @param environment - The environment to check.
1478
1478
  * @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
1479
1479
  */
1480
- applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<any>>;
1480
+ applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
1481
1481
  }
1482
1482
 
1483
1483
  type CapnpPluginOptions = Partial<Omit<CapnpcOptions, "workspaceRoot" | "projectRoot" | "schemas">> & {
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-C-gmw1R0.cjs';
2
- export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-C-gmw1R0.cjs';
1
+ import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-CT6IOUy2.cjs';
2
+ export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-CT6IOUy2.cjs';
3
3
  import '@stryke/capnp/types';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-C-gmw1R0.js';
2
- export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-C-gmw1R0.js';
1
+ import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-CT6IOUy2.js';
2
+ export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-CT6IOUy2.js';
3
3
  import '@stryke/capnp/types';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-C-gmw1R0.cjs';
1
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-CT6IOUy2.cjs';
2
2
  import '@stryke/capnp/types';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-C-gmw1R0.js';
1
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-CT6IOUy2.js';
2
2
  import '@stryke/capnp/types';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import '@stryke/capnp/types';
2
- export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-C-gmw1R0.cjs';
2
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-CT6IOUy2.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
@@ -1,5 +1,5 @@
1
1
  import '@stryke/capnp/types';
2
- export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-C-gmw1R0.js';
2
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from '../index-CT6IOUy2.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
5
5
  import '@storm-software/config/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-capnp",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code from Cap'n Proto schemas.",
6
6
  "repository": {
@@ -105,13 +105,13 @@
105
105
  "@stryke/types": "^0.10.8",
106
106
  "defu": "^6.1.4",
107
107
  "jiti": "^2.6.1",
108
- "powerlines": "^0.25.0"
108
+ "powerlines": "^0.25.1"
109
109
  },
110
110
  "devDependencies": {
111
- "@powerlines/nx": "^0.10.38",
112
- "@powerlines/plugin-plugin": "^0.11.46",
111
+ "@powerlines/nx": "^0.10.39",
112
+ "@powerlines/plugin-plugin": "^0.11.47",
113
113
  "@types/node": "^24.10.1"
114
114
  },
115
115
  "publishConfig": { "access": "public" },
116
- "gitHead": "acb1d0727c31f10519b7a59d73d245e6949414d3"
116
+ "gitHead": "de1daa466d1524b287e2748490c1e56ab9002b07"
117
117
  }