@powerlines/plugin-capnp 0.1.40 → 0.1.42
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-C-gmw1R0.d.cts → index-CzTyQs_w.d.cts} +3 -3
- package/dist/{index-C-gmw1R0.d.ts → index-CzTyQs_w.d.ts} +3 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1435,7 +1435,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1435
1435
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1436
1436
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
1437
1437
|
};
|
|
1438
|
-
interface Plugin<
|
|
1438
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
1439
1439
|
/**
|
|
1440
1440
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1441
1441
|
*/
|
|
@@ -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<
|
|
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<
|
|
1480
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
1483
1483
|
type CapnpPluginOptions = Partial<Omit<CapnpcOptions, "workspaceRoot" | "projectRoot" | "schemas">> & {
|
|
@@ -1435,7 +1435,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1435
1435
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1436
1436
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
1437
1437
|
};
|
|
1438
|
-
interface Plugin<
|
|
1438
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
1439
1439
|
/**
|
|
1440
1440
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1441
1441
|
*/
|
|
@@ -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<
|
|
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<
|
|
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-
|
|
2
|
-
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-
|
|
1
|
+
import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-CzTyQs_w.cjs';
|
|
2
|
+
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-CzTyQs_w.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-
|
|
2
|
-
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-
|
|
1
|
+
import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-CzTyQs_w.js';
|
|
2
|
+
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig, f as __ΩCapnpPluginContext, _ as __ΩCapnpPluginOptions, e as __ΩCapnpPluginResolvedConfig, d as __ΩCapnpPluginUserConfig } from './index-CzTyQs_w.js';
|
|
3
3
|
import '@stryke/capnp/types';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -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-
|
|
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-CzTyQs_w.cjs';
|
|
2
2
|
import '@stryke/capnp/types';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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-
|
|
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-CzTyQs_w.js';
|
|
2
2
|
import '@stryke/capnp/types';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -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-
|
|
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-CzTyQs_w.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -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-
|
|
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-CzTyQs_w.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.
|
|
3
|
+
"version": "0.1.42",
|
|
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.
|
|
108
|
+
"powerlines": "^0.25.2"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@powerlines/nx": "^0.10.
|
|
112
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
111
|
+
"@powerlines/nx": "^0.10.40",
|
|
112
|
+
"@powerlines/plugin-plugin": "^0.11.48",
|
|
113
113
|
"@types/node": "^24.10.1"
|
|
114
114
|
},
|
|
115
115
|
"publishConfig": { "access": "public" },
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "e5c7481779e32bd9810613c299e775bc033c9eac"
|
|
117
117
|
}
|