@powerlines/plugin-capnp 0.1.18 → 0.1.21

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.
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
218
218
  tsconfigFilePath: string;
219
219
  };
220
220
 
221
- declare const __VFS_PATCH__: unique symbol;
222
- declare const __VFS_REVERT__: unique symbol;
221
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
222
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
223
223
  type OutputModeType = "fs" | "virtual";
224
224
  interface VirtualFile {
225
225
  /**
@@ -628,6 +628,15 @@ interface OutputConfig {
628
628
  * @defaultValue "dist/\{projectRoot\}"
629
629
  */
630
630
  outputPath?: string;
631
+ /**
632
+ * The output directory path for the project build.
633
+ *
634
+ * @remarks
635
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
636
+ *
637
+ * @defaultValue "\{projectRoot\}/dist"
638
+ */
639
+ distPath?: string;
631
640
  /**
632
641
  * The format of the output files
633
642
  *
@@ -218,8 +218,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
218
218
  tsconfigFilePath: string;
219
219
  };
220
220
 
221
- declare const __VFS_PATCH__: unique symbol;
222
- declare const __VFS_REVERT__: unique symbol;
221
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
222
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
223
223
  type OutputModeType = "fs" | "virtual";
224
224
  interface VirtualFile {
225
225
  /**
@@ -628,6 +628,15 @@ interface OutputConfig {
628
628
  * @defaultValue "dist/\{projectRoot\}"
629
629
  */
630
630
  outputPath?: string;
631
+ /**
632
+ * The output directory path for the project build.
633
+ *
634
+ * @remarks
635
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
636
+ *
637
+ * @defaultValue "\{projectRoot\}/dist"
638
+ */
639
+ distPath?: string;
631
640
  /**
632
641
  * The format of the output files
633
642
  *
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-Cfl8ZIfI.cjs';
2
- export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-Cfl8ZIfI.cjs';
1
+ import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-BxsXuagn.cjs';
2
+ export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-BxsXuagn.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-Cfl8ZIfI.js';
2
- export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-Cfl8ZIfI.js';
1
+ import { C as CapnpPluginContext, a as CapnpPluginOptions, P as Plugin } from './index-BxsXuagn.js';
2
+ export { c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from './index-BxsXuagn.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 } from '../index-Cfl8ZIfI.cjs';
1
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BxsXuagn.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 } from '../index-Cfl8ZIfI.js';
1
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BxsXuagn.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 } from '../index-Cfl8ZIfI.cjs';
2
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BxsXuagn.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 } from '../index-Cfl8ZIfI.js';
2
+ export { C as CapnpPluginContext, a as CapnpPluginOptions, c as CapnpPluginResolvedConfig, b as CapnpPluginUserConfig } from '../index-BxsXuagn.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.18",
3
+ "version": "0.1.21",
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.2",
106
106
  "defu": "^6.1.4",
107
107
  "jiti": "^2.6.1",
108
- "powerlines": "^0.22.1"
108
+ "powerlines": "^0.23.2"
109
109
  },
110
110
  "devDependencies": {
111
- "@powerlines/nx": "^0.10.16",
112
- "@powerlines/plugin-plugin": "^0.11.24",
111
+ "@powerlines/nx": "^0.10.19",
112
+ "@powerlines/plugin-plugin": "^0.11.27",
113
113
  "@types/node": "^22.19.1"
114
114
  },
115
115
  "publishConfig": { "access": "public" },
116
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
116
+ "gitHead": "628334bf5e96fa739c6a2b0a325f133ea928b530"
117
117
  }