@powerlines/plugin-capnp 0.1.344 → 0.1.346

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/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>🔌 Powerlines</b> monorepo. Powerlines is the "
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.1.337-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/powerlines)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/powerlines/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.1.344-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/powerlines)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/powerlines/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -58,21 +58,19 @@ A Powerlines plugin to generate project code with [Cap'n Proto](https://capnprot
58
58
 
59
59
  ## Table of Contents
60
60
 
61
- - [Powerlines - Cap'n Proto Plugin](#powerlines---capn-proto-plugin)
62
- - [Table of Contents](#table-of-contents)
63
- - [Installing](#installing)
64
- - [Reduced Package Size](#reduced-package-size)
65
- - [Development](#development)
66
- - [Building](#building)
67
- - [Running unit tests](#running-unit-tests)
68
- - [Linting](#linting)
69
- - [Storm Workspaces](#storm-workspaces)
70
- - [Roadmap](#roadmap)
71
- - [Support](#support)
72
- - [License](#license)
73
- - [Changelog](#changelog)
74
- - [Contributing](#contributing)
75
- - [Contributors](#contributors)
61
+ - [Installing](#installing)
62
+ - [Reduced Package Size](#reduced-package-size)
63
+ - [Development](#development)
64
+ - [Building](#building)
65
+ - [Running unit tests](#running-unit-tests)
66
+ - [Linting](#linting)
67
+ - [Storm Workspaces](#storm-workspaces)
68
+ - [Roadmap](#roadmap)
69
+ - [Support](#support)
70
+ - [License](#license)
71
+ - [Changelog](#changelog)
72
+ - [Contributing](#contributing)
73
+ - [Contributors](#contributors)
76
74
 
77
75
  <!-- END doctoc -->
78
76
 
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -0,0 +1,3 @@
1
+ import "node:module";
2
+
3
+ export { };
package/dist/index.cjs CHANGED
@@ -1,13 +1,13 @@
1
- Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
- let __stryke_capnp_compile = require("@stryke/capnp/compile");
4
- let __stryke_capnp_helpers = require("@stryke/capnp/helpers");
5
- let __stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
6
- let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
7
- let __stryke_path_join_paths = require("@stryke/path/join-paths");
8
- let __stryke_path_replace = require("@stryke/path/replace");
1
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
+ const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
+ let _stryke_capnp_compile = require("@stryke/capnp/compile");
4
+ let _stryke_capnp_helpers = require("@stryke/capnp/helpers");
5
+ let _stryke_path_file_path_fns = require("@stryke/path/file-path-fns");
6
+ let _stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
7
+ let _stryke_path_join_paths = require("@stryke/path/join-paths");
8
+ let _stryke_path_replace = require("@stryke/path/replace");
9
9
  let defu = require("defu");
10
- defu = require_rolldown_runtime.__toESM(defu);
10
+ defu = require_runtime.__toESM(defu);
11
11
  let powerlines_plugin_utils = require("powerlines/plugin-utils");
12
12
 
13
13
  //#region src/index.ts
@@ -27,15 +27,15 @@ const plugin = (options = {}) => {
27
27
  dts: false,
28
28
  tty: true,
29
29
  tsconfig: this.tsconfig,
30
- schema: (0, __stryke_path_join_paths.joinPaths)(this.workspaceConfig.workspaceRoot, this.config.root, "*.capnp"),
31
- outputPath: (0, __stryke_path_join_paths.joinPaths)("{builtinPath}", "capnp")
30
+ schema: (0, _stryke_path_join_paths.joinPaths)(this.workspaceConfig.workspaceRoot, this.config.root, "*.capnp"),
31
+ outputPath: (0, _stryke_path_join_paths.joinPaths)("{builtinPath}", "capnp")
32
32
  }) };
33
33
  },
34
34
  configResolved() {
35
35
  this.config.capnp.outputPath = (0, powerlines_plugin_utils.replacePathTokens)(this, this.config.capnp.outputPath);
36
36
  },
37
37
  async prepare() {
38
- const resolvedOptions = await (0, __stryke_capnp_helpers.resolveOptions)({
38
+ const resolvedOptions = await (0, _stryke_capnp_helpers.resolveOptions)({
39
39
  ...this.config.capnp,
40
40
  schemas: this.config.capnp.schema.toString(),
41
41
  projectRoot: this.config.root,
@@ -45,14 +45,13 @@ const plugin = (options = {}) => {
45
45
  this.warn("No Cap'n Proto schemas found to compile.");
46
46
  return;
47
47
  }
48
- const result = await (0, __stryke_capnp_compile.capnpc)(resolvedOptions);
49
- if ((0, __stryke_path_is_parent_path.isParentPath)(this.config.capnp.outputPath, this.builtinsPath)) await Promise.all(Object.entries(result.files).map(async ([filePath, content]) => this.emitBuiltin(content, (0, __stryke_path_file_path_fns.findFileName)((0, __stryke_path_join_paths.joinPaths)((0, __stryke_path_replace.replacePath)(this.config.capnp.outputPath, this.builtinsPath), filePath), { withExtension: false }))));
50
- else await Promise.all(Object.entries(result.files).map(async ([filePath, content]) => this.fs.write((0, __stryke_path_join_paths.joinPaths)(this.config.capnp.outputPath, filePath), content)));
48
+ const result = await (0, _stryke_capnp_compile.capnpc)(resolvedOptions);
49
+ if ((0, _stryke_path_is_parent_path.isParentPath)(this.config.capnp.outputPath, this.builtinsPath)) await Promise.all(Object.entries(result.files).map(async ([filePath, content]) => this.emitBuiltin(content, (0, _stryke_path_file_path_fns.findFileName)((0, _stryke_path_join_paths.joinPaths)((0, _stryke_path_replace.replacePath)(this.config.capnp.outputPath, this.builtinsPath), filePath), { withExtension: false }))));
50
+ else await Promise.all(Object.entries(result.files).map(async ([filePath, content]) => this.fs.write((0, _stryke_path_join_paths.joinPaths)(this.config.capnp.outputPath, filePath), content)));
51
51
  }
52
52
  };
53
53
  };
54
- var src_default = plugin;
55
54
 
56
55
  //#endregion
57
- exports.default = src_default;
56
+ exports.default = plugin;
58
57
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { CapnpPluginContext, CapnpPluginOptions, CapnpPluginResolvedConfig, CapnpPluginUserConfig, __ΩCapnpPluginContext, __ΩCapnpPluginOptions, __ΩCapnpPluginResolvedConfig, __ΩCapnpPluginUserConfig } from "./types/plugin.cjs";
2
- import "./types/index.cjs";
3
2
  import { Plugin } from "powerlines";
4
3
 
5
4
  //#region src/index.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;IAiCwB,KAAA,CAAA,EAIZ,kBAJY;EAAA;;;;AAcxB;;;;AAIU,cAJG,MAIH,EAAA,CAAA,iBAHS,kBAGT,GAH8B,kBAG9B,CAAA,CAAA,OAAA,CAAA,EADC,kBACD,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAoCY,MAAA;IACR,KAAA,GAAQ,kBAAA;EAAA;AAAA;;;;;;;cAUC,MAAA,oBACM,kBAAA,GAAqB,kBAAA,EAEtC,OAAA,GAAS,kBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { CapnpPluginContext, CapnpPluginOptions, CapnpPluginResolvedConfig, CapnpPluginUserConfig, __ΩCapnpPluginContext, __ΩCapnpPluginOptions, __ΩCapnpPluginResolvedConfig, __ΩCapnpPluginUserConfig } from "./types/plugin.mjs";
2
- import "./types/index.mjs";
3
2
  import { Plugin } from "powerlines";
4
3
 
5
4
  //#region src/index.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;IAiCwB,KAAA,CAAA,EAIZ,kBAJY;EAAA;;;;AAcxB;;;;AAIU,cAJG,MAIH,EAAA,CAAA,iBAHS,kBAGT,GAH8B,kBAG9B,CAAA,CAAA,OAAA,CAAA,EADC,kBACD,EAAA,GAAP,MAAO,CAAA,QAAA,CAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAoCY,MAAA;IACR,KAAA,GAAQ,kBAAA;EAAA;AAAA;;;;;;;cAUC,MAAA,oBACM,kBAAA,GAAqB,kBAAA,EAEtC,OAAA,GAAS,kBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.mjs CHANGED
@@ -48,8 +48,7 @@ const plugin = (options = {}) => {
48
48
  }
49
49
  };
50
50
  };
51
- var src_default = plugin;
52
51
 
53
52
  //#endregion
54
- export { src_default as default, plugin };
53
+ export { plugin as default, plugin };
55
54
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { capnpc } from \"@stryke/capnp/compile\";\nimport { resolveOptions } from \"@stryke/capnp/helpers\";\nimport { findFileName } from \"@stryke/path/file-path-fns\";\nimport { isParentPath } from \"@stryke/path/is-parent-path\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport { Plugin } from \"powerlines\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\nimport {\n CapnpPluginContext,\n CapnpPluginOptions,\n CapnpPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n capnp?: CapnpPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate Cap'n Proto for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends CapnpPluginContext = CapnpPluginContext\n>(\n options: CapnpPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"capnp\",\n config() {\n return {\n capnp: defu(options, {\n ts: true,\n js: false,\n dts: false,\n tty: true,\n tsconfig: this.tsconfig,\n schema: joinPaths(\n this.workspaceConfig.workspaceRoot,\n this.config.root,\n \"*.capnp\"\n ),\n outputPath: joinPaths(\"{builtinPath}\", \"capnp\")\n })\n } as Partial<CapnpPluginUserConfig>;\n },\n configResolved() {\n this.config.capnp.outputPath = replacePathTokens(\n this,\n this.config.capnp.outputPath\n );\n },\n async prepare() {\n const resolvedOptions = await resolveOptions({\n ...this.config.capnp,\n schemas: this.config.capnp.schema.toString(),\n projectRoot: this.config.root,\n workspaceRoot: this.workspaceConfig.workspaceRoot\n });\n if (!resolvedOptions?.schemas?.length) {\n this.warn(\"No Cap'n Proto schemas found to compile.\");\n\n return;\n }\n\n const result = await capnpc(resolvedOptions);\n\n if (isParentPath(this.config.capnp.outputPath, this.builtinsPath)) {\n await Promise.all(\n Object.entries(result.files).map(async ([filePath, content]) =>\n this.emitBuiltin(\n content,\n findFileName(\n joinPaths(\n replacePath(this.config.capnp.outputPath, this.builtinsPath),\n filePath\n ),\n { withExtension: false }\n )\n )\n )\n );\n } else {\n await Promise.all(\n Object.entries(result.files).map(async ([filePath, content]) =>\n this.fs.write(\n joinPaths(this.config.capnp.outputPath, filePath),\n content\n )\n )\n );\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;AA+CA,MAAa,UAGX,UAA8B,EAAE,KACX;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,OAAO,KAAK,SAAS;IACnB,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,KAAK;IACL,UAAU,KAAK;IACf,QAAQ,UACN,KAAK,gBAAgB,eACrB,KAAK,OAAO,MACZ,UACD;IACD,YAAY,UAAU,iBAAiB,QAAQ;IAChD,CAAC,EACH;;EAEH,iBAAiB;AACf,QAAK,OAAO,MAAM,aAAa,kBAC7B,MACA,KAAK,OAAO,MAAM,WACnB;;EAEH,MAAM,UAAU;GACd,MAAM,kBAAkB,MAAM,eAAe;IAC3C,GAAG,KAAK,OAAO;IACf,SAAS,KAAK,OAAO,MAAM,OAAO,UAAU;IAC5C,aAAa,KAAK,OAAO;IACzB,eAAe,KAAK,gBAAgB;IACrC,CAAC;AACF,OAAI,CAAC,iBAAiB,SAAS,QAAQ;AACrC,SAAK,KAAK,2CAA2C;AAErD;;GAGF,MAAM,SAAS,MAAM,OAAO,gBAAgB;AAE5C,OAAI,aAAa,KAAK,OAAO,MAAM,YAAY,KAAK,aAAa,CAC/D,OAAM,QAAQ,IACZ,OAAO,QAAQ,OAAO,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,aACjD,KAAK,YACH,SACA,aACE,UACE,YAAY,KAAK,OAAO,MAAM,YAAY,KAAK,aAAa,EAC5D,SACD,EACD,EAAE,eAAe,OAAO,CACzB,CACF,CACF,CACF;OAED,OAAM,QAAQ,IACZ,OAAO,QAAQ,OAAO,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,aACjD,KAAK,GAAG,MACN,UAAU,KAAK,OAAO,MAAM,YAAY,SAAS,EACjD,QACD,CACF,CACF;;EAGN;;AAGH,kBAAe"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { capnpc } from \"@stryke/capnp/compile\";\nimport { resolveOptions } from \"@stryke/capnp/helpers\";\nimport { findFileName } from \"@stryke/path/file-path-fns\";\nimport { isParentPath } from \"@stryke/path/is-parent-path\";\nimport { joinPaths } from \"@stryke/path/join-paths\";\nimport { replacePath } from \"@stryke/path/replace\";\nimport defu from \"defu\";\nimport { Plugin } from \"powerlines\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\nimport {\n CapnpPluginContext,\n CapnpPluginOptions,\n CapnpPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n capnp?: CapnpPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to integrate Cap'n Proto for code generation.\n *\n * @param options - The plugin options.\n * @returns A Powerlines plugin instance.\n */\nexport const plugin = <\n TContext extends CapnpPluginContext = CapnpPluginContext\n>(\n options: CapnpPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"capnp\",\n config() {\n return {\n capnp: defu(options, {\n ts: true,\n js: false,\n dts: false,\n tty: true,\n tsconfig: this.tsconfig,\n schema: joinPaths(\n this.workspaceConfig.workspaceRoot,\n this.config.root,\n \"*.capnp\"\n ),\n outputPath: joinPaths(\"{builtinPath}\", \"capnp\")\n })\n } as Partial<CapnpPluginUserConfig>;\n },\n configResolved() {\n this.config.capnp.outputPath = replacePathTokens(\n this,\n this.config.capnp.outputPath\n );\n },\n async prepare() {\n const resolvedOptions = await resolveOptions({\n ...this.config.capnp,\n schemas: this.config.capnp.schema.toString(),\n projectRoot: this.config.root,\n workspaceRoot: this.workspaceConfig.workspaceRoot\n });\n if (!resolvedOptions?.schemas?.length) {\n this.warn(\"No Cap'n Proto schemas found to compile.\");\n\n return;\n }\n\n const result = await capnpc(resolvedOptions);\n\n if (isParentPath(this.config.capnp.outputPath, this.builtinsPath)) {\n await Promise.all(\n Object.entries(result.files).map(async ([filePath, content]) =>\n this.emitBuiltin(\n content,\n findFileName(\n joinPaths(\n replacePath(this.config.capnp.outputPath, this.builtinsPath),\n filePath\n ),\n { withExtension: false }\n )\n )\n )\n );\n } else {\n await Promise.all(\n Object.entries(result.files).map(async ([filePath, content]) =>\n this.fs.write(\n joinPaths(this.config.capnp.outputPath, filePath),\n content\n )\n )\n );\n }\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;AA+CA,MAAa,UAGX,UAA8B,EAAE,KACX;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO,EACL,OAAO,KAAK,SAAS;IACnB,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,KAAK;IACL,UAAU,KAAK;IACf,QAAQ,UACN,KAAK,gBAAgB,eACrB,KAAK,OAAO,MACZ,UACD;IACD,YAAY,UAAU,iBAAiB,QAAQ;IAChD,CAAC,EACH;;EAEH,iBAAiB;AACf,QAAK,OAAO,MAAM,aAAa,kBAC7B,MACA,KAAK,OAAO,MAAM,WACnB;;EAEH,MAAM,UAAU;GACd,MAAM,kBAAkB,MAAM,eAAe;IAC3C,GAAG,KAAK,OAAO;IACf,SAAS,KAAK,OAAO,MAAM,OAAO,UAAU;IAC5C,aAAa,KAAK,OAAO;IACzB,eAAe,KAAK,gBAAgB;IACrC,CAAC;AACF,OAAI,CAAC,iBAAiB,SAAS,QAAQ;AACrC,SAAK,KAAK,2CAA2C;AAErD;;GAGF,MAAM,SAAS,MAAM,OAAO,gBAAgB;AAE5C,OAAI,aAAa,KAAK,OAAO,MAAM,YAAY,KAAK,aAAa,CAC/D,OAAM,QAAQ,IACZ,OAAO,QAAQ,OAAO,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,aACjD,KAAK,YACH,SACA,aACE,UACE,YAAY,KAAK,OAAO,MAAM,YAAY,KAAK,aAAa,EAC5D,SACD,EACD,EAAE,eAAe,OAAO,CACzB,CACF,CACF,CACF;OAED,OAAM,QAAQ,IACZ,OAAO,QAAQ,OAAO,MAAM,CAAC,IAAI,OAAO,CAAC,UAAU,aACjD,KAAK,GAAG,MACN,UAAU,KAAK,OAAO,MAAM,YAAY,SAAS,EACjD,QACD,CACF,CACF;;EAGN"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAqBY,kBAAA,GAAqB,QAC/B,KAAK;;AADP;;;;EAQoB,MAAA,CAAA,EAAA,MAAA,GAAA,GAAA;EAAG;AAavB;;;;;;;EAEY,UAAA,CAAA,EAAA,MAAA;AAGZ,CAAA;AAAwC,KAL5B,qBAAA,GAAwB,UAKI,GAAA;EAC1B,KAAA,CAAA,EALJ,IAKI,CALC,kBAKD,EAAA,QAAA,GAAA,YAAA,CAAA,GAJV,QAIU,CAJD,IAIC,CAJI,kBAIJ,EAAA,QAAA,GAAA,YAAA,CAAA,CAAA;CAAL;AACS,KAFN,yBAAA,GAA4B,cAEtB,GAAA;EAAL,KAAA,EADJ,IACI,CADC,kBACD,EAAA,QAAA,GAAA,YAAA,CAAA,GAAT,QAAS,CAAA,IAAA,CAAK,kBAAL,EAAA,QAAA,GAAA,YAAA,CAAA,CAAA;CAAT;AAAQ,KAGA,kBAHA,CAAA,wBAIc,yBAJd,GAI0C,yBAJ1C,CAAA,GAKR,aALQ,CAKM,eALN,CAAA;AAGA,qCAAkB,GAAA,EAAA;AACJ,wCAAA,GAAA,EAAA;AAA4B,4CAAA,GAAA,EAAA;AACpC,qCAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,kBAAA,GAAqB,OAAA,CAC/B,IAAA,CAAK,aAAA;;AADP;;;;EAQE,MAAA,YAAkB,GAAA;EARa;;;;;;;;EAkB/B,UAAA;AAAA;AAAA,KAGU,qBAAA,GAAwB,UAAA;EAClC,KAAA,GAAQ,IAAA,CAAK,kBAAA,6BACX,QAAA,CAAS,IAAA,CAAK,kBAAA;AAAA;AAAA,KAGN,yBAAA,GAA4B,cAAA;EACtC,KAAA,EAAO,IAAA,CAAK,kBAAA,6BACV,QAAA,CAAS,IAAA,CAAK,kBAAA;AAAA;AAAA,KAGN,kBAAA,yBACc,yBAAA,GAA4B,yBAAA,IAClD,aAAA,CAAc,eAAA;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KAqBY,kBAAA,GAAqB,QAC/B,KAAK;;AADP;;;;EAQoB,MAAA,CAAA,EAAA,MAAA,GAAA,GAAA;EAAG;AAavB;;;;;;;EAEY,UAAA,CAAA,EAAA,MAAA;AAGZ,CAAA;AAAwC,KAL5B,qBAAA,GAAwB,UAKI,GAAA;EAC1B,KAAA,CAAA,EALJ,IAKI,CALC,kBAKD,EAAA,QAAA,GAAA,YAAA,CAAA,GAJV,QAIU,CAJD,IAIC,CAJI,kBAIJ,EAAA,QAAA,GAAA,YAAA,CAAA,CAAA;CAAL;AACS,KAFN,yBAAA,GAA4B,cAEtB,GAAA;EAAL,KAAA,EADJ,IACI,CADC,kBACD,EAAA,QAAA,GAAA,YAAA,CAAA,GAAT,QAAS,CAAA,IAAA,CAAK,kBAAL,EAAA,QAAA,GAAA,YAAA,CAAA,CAAA;CAAT;AAAQ,KAGA,kBAHA,CAAA,wBAIc,yBAJd,GAI0C,yBAJ1C,CAAA,GAKR,aALQ,CAKM,eALN,CAAA;AAGA,qCAAkB,GAAA,EAAA;AACJ,wCAAA,GAAA,EAAA;AAA4B,4CAAA,GAAA,EAAA;AACpC,qCAAA,GAAA,EAAA"}
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;KAqBY,kBAAA,GAAqB,OAAA,CAC/B,IAAA,CAAK,aAAA;;AADP;;;;EAQE,MAAA,YAAkB,GAAA;EARa;;;;;;;;EAkB/B,UAAA;AAAA;AAAA,KAGU,qBAAA,GAAwB,UAAA;EAClC,KAAA,GAAQ,IAAA,CAAK,kBAAA,6BACX,QAAA,CAAS,IAAA,CAAK,kBAAA;AAAA;AAAA,KAGN,yBAAA,GAA4B,cAAA;EACtC,KAAA,EAAO,IAAA,CAAK,kBAAA,6BACV,QAAA,CAAS,IAAA,CAAK,kBAAA;AAAA;AAAA,KAGN,kBAAA,yBACc,yBAAA,GAA4B,yBAAA,IAClD,aAAA,CAAc,eAAA;AAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-capnp",
3
- "version": "0.1.344",
3
+ "version": "0.1.346",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code from Cap'n Proto schemas.",
6
6
  "repository": {
@@ -55,7 +55,7 @@
55
55
  "default": "./dist/index.mjs"
56
56
  }
57
57
  },
58
- "./*": "./*",
58
+ "./package.json": "./package.json",
59
59
  "./types": {
60
60
  "require": {
61
61
  "types": "./dist/types/index.d.cts",
@@ -95,13 +95,13 @@
95
95
  "@stryke/types": "^0.10.52",
96
96
  "defu": "^6.1.4",
97
97
  "jiti": "^2.6.1",
98
- "powerlines": "^0.41.6"
98
+ "powerlines": "^0.41.8"
99
99
  },
100
100
  "devDependencies": {
101
- "@powerlines/plugin-plugin": "^0.12.292",
101
+ "@powerlines/plugin-plugin": "^0.12.294",
102
102
  "@types/node": "^25.4.0"
103
103
  },
104
104
  "publishConfig": { "access": "public" },
105
105
  "types": "./dist/index.d.cts",
106
- "gitHead": "86bbe64da57a38d472b37261ca9d113171841a6c"
106
+ "gitHead": "40d1f94407720be23c3801f9145fdad1fe27dfb2"
107
107
  }