@powerlines/plugin-capnp 0.1.7 → 0.1.8
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-BpmVCs8e.d.cts → index-BQOQFRtl.d.cts} +3 -3
- package/dist/{index-BpmVCs8e.d.ts → index-BQOQFRtl.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
|
@@ -1107,7 +1107,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1107
1107
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1108
1108
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1109
1109
|
|
|
1110
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1110
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1111
1111
|
/**
|
|
1112
1112
|
* The order in which the plugin should be applied.
|
|
1113
1113
|
*/
|
|
@@ -1115,13 +1115,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1115
1115
|
/**
|
|
1116
1116
|
* A filter to determine when the hook should be called.
|
|
1117
1117
|
*/
|
|
1118
|
-
filter?: TFilter
|
|
1118
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1119
1119
|
/**
|
|
1120
1120
|
* The hook function to be called.
|
|
1121
1121
|
*/
|
|
1122
1122
|
handler: THookFunction;
|
|
1123
1123
|
}
|
|
1124
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1124
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1127
1127
|
*/
|
|
@@ -1107,7 +1107,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
|
|
|
1107
1107
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
|
|
1108
1108
|
type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
|
|
1109
1109
|
|
|
1110
|
-
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1110
|
+
interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
|
|
1111
1111
|
/**
|
|
1112
1112
|
* The order in which the plugin should be applied.
|
|
1113
1113
|
*/
|
|
@@ -1115,13 +1115,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
|
|
|
1115
1115
|
/**
|
|
1116
1116
|
* A filter to determine when the hook should be called.
|
|
1117
1117
|
*/
|
|
1118
|
-
filter?: TFilter
|
|
1118
|
+
filter?: Pick<HookFilter, TFilter>;
|
|
1119
1119
|
/**
|
|
1120
1120
|
* The hook function to be called.
|
|
1121
1121
|
*/
|
|
1122
1122
|
handler: THookFunction;
|
|
1123
1123
|
}
|
|
1124
|
-
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter
|
|
1124
|
+
type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
|
|
1125
1125
|
/**
|
|
1126
1126
|
* A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
|
|
1127
1127
|
*/
|
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 } from './index-
|
|
1
|
+
import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-BQOQFRtl.cjs';
|
|
2
|
+
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-BQOQFRtl.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 } from './index-
|
|
1
|
+
import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-BQOQFRtl.js';
|
|
2
|
+
export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-BQOQFRtl.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 } from '../index-
|
|
1
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BQOQFRtl.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 } from '../index-
|
|
1
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BQOQFRtl.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 } from '../index-
|
|
2
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BQOQFRtl.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 } from '../index-
|
|
2
|
+
export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BQOQFRtl.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.8",
|
|
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.1",
|
|
106
106
|
"defu": "^6.1.4",
|
|
107
107
|
"jiti": "^2.6.1",
|
|
108
|
-
"powerlines": "^0.19.
|
|
108
|
+
"powerlines": "^0.19.2"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@powerlines/nx": "^0.10.
|
|
112
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
111
|
+
"@powerlines/nx": "^0.10.6",
|
|
112
|
+
"@powerlines/plugin-plugin": "^0.11.14",
|
|
113
113
|
"@types/node": "^22.19.0"
|
|
114
114
|
},
|
|
115
115
|
"publishConfig": { "access": "public" },
|
|
116
|
-
"gitHead": "
|
|
116
|
+
"gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
|
|
117
117
|
}
|