@stryke/capnp 0.12.8 → 0.12.9

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/bin/capnpc.cjs CHANGED
@@ -8285,9 +8285,9 @@ function createProgram() {
8285
8285
  const ttyOption = new import_commander.Option("--tty", "An indicator to enable TTY mode for the compiler");
8286
8286
  const skipGenerateId = new import_commander.Option("--skip-generating-id", "Skip generating a new 64-bit unique ID for use in a Cap'n Proto schema");
8287
8287
  const skipStandardImportOption = new import_commander.Option("--no-standard-imports", "Skip adding default import paths; use only those specified by -I");
8288
- const schemaOption = new import_commander.Option("-s --schema <path>", "The directory (or a glob to the directory) containing the Cap'n Proto schema files to compile (default: current working directory)").default(joinPaths("{projectRoot}", "**/*.capnp"));
8288
+ const schemaOption = new import_commander.Option("-s --schema <path>", "The directory (or a glob to the directory) containing the Cap'n Proto schema files to compile (default: current working directory)");
8289
8289
  const outputOption = new import_commander.Option("-o --output <path>", "The directory to output the generated files to");
8290
- const tsconfigOption = new import_commander.Option("--tsconfig <path>", "The path to the TypeScript configuration file to use for compilation").default(joinPaths("{projectRoot}", "tsconfig.json"));
8290
+ const tsconfigOption = new import_commander.Option("--tsconfig <path>", "The path to the TypeScript configuration file to use for compilation");
8291
8291
  const workspaceRootOption = new import_commander.Option("-w --workspace-root <path>", "The path to the workspace root directory");
8292
8292
  program.command("compile", {
8293
8293
  isDefault: true
package/bin/capnpc.js CHANGED
@@ -8254,9 +8254,9 @@ function createProgram() {
8254
8254
  const ttyOption = new Option("--tty", "An indicator to enable TTY mode for the compiler");
8255
8255
  const skipGenerateId = new Option("--skip-generating-id", "Skip generating a new 64-bit unique ID for use in a Cap'n Proto schema");
8256
8256
  const skipStandardImportOption = new Option("--no-standard-imports", "Skip adding default import paths; use only those specified by -I");
8257
- const schemaOption = new Option("-s --schema <path>", "The directory (or a glob to the directory) containing the Cap'n Proto schema files to compile (default: current working directory)").default(joinPaths("{projectRoot}", "**/*.capnp"));
8257
+ const schemaOption = new Option("-s --schema <path>", "The directory (or a glob to the directory) containing the Cap'n Proto schema files to compile (default: current working directory)");
8258
8258
  const outputOption = new Option("-o --output <path>", "The directory to output the generated files to");
8259
- const tsconfigOption = new Option("--tsconfig <path>", "The path to the TypeScript configuration file to use for compilation").default(joinPaths("{projectRoot}", "tsconfig.json"));
8259
+ const tsconfigOption = new Option("--tsconfig <path>", "The path to the TypeScript configuration file to use for compilation");
8260
8260
  const workspaceRootOption = new Option("-w --workspace-root <path>", "The path to the workspace root directory");
8261
8261
  program.command("compile", {
8262
8262
  isDefault: true
package/dist/types.d.cts CHANGED
@@ -20,10 +20,10 @@ interface CapnpcCLIOptions {
20
20
  js?: boolean;
21
21
  dts?: boolean;
22
22
  noDts?: boolean;
23
- schema: string;
23
+ schema?: string;
24
24
  output?: string;
25
25
  importPath?: string;
26
- tsconfig: string;
26
+ tsconfig?: string;
27
27
  skipGenerateId?: boolean;
28
28
  noStandardImport?: boolean;
29
29
  projectRoot?: string;
package/dist/types.d.ts CHANGED
@@ -20,10 +20,10 @@ interface CapnpcCLIOptions {
20
20
  js?: boolean;
21
21
  dts?: boolean;
22
22
  noDts?: boolean;
23
- schema: string;
23
+ schema?: string;
24
24
  output?: string;
25
25
  importPath?: string;
26
- tsconfig: string;
26
+ tsconfig?: string;
27
27
  skipGenerateId?: boolean;
28
28
  noStandardImport?: boolean;
29
29
  projectRoot?: string;
package/dts/index.d.cts CHANGED
@@ -4098,10 +4098,10 @@ export interface CapnpcCLIOptions {
4098
4098
  js?: boolean;
4099
4099
  dts?: boolean;
4100
4100
  noDts?: boolean;
4101
- schema: string;
4101
+ schema?: string;
4102
4102
  output?: string;
4103
4103
  importPath?: string;
4104
- tsconfig: string;
4104
+ tsconfig?: string;
4105
4105
  skipGenerateId?: boolean;
4106
4106
  noStandardImport?: boolean;
4107
4107
  projectRoot?: string;
package/dts/index.d.ts CHANGED
@@ -4098,10 +4098,10 @@ export interface CapnpcCLIOptions {
4098
4098
  js?: boolean;
4099
4099
  dts?: boolean;
4100
4100
  noDts?: boolean;
4101
- schema: string;
4101
+ schema?: string;
4102
4102
  output?: string;
4103
4103
  importPath?: string;
4104
- tsconfig: string;
4104
+ tsconfig?: string;
4105
4105
  skipGenerateId?: boolean;
4106
4106
  noStandardImport?: boolean;
4107
4107
  projectRoot?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/capnp",
3
- "version": "0.12.8",
3
+ "version": "0.12.9",
4
4
  "type": "module",
5
5
  "description": "A package to assist in running the Cap'n Proto compiler and creating Cap'n Proto serialization protocol schemas.",
6
6
  "repository": {
@@ -148,5 +148,5 @@
148
148
  "tsx": "^4.20.1"
149
149
  },
150
150
  "publishConfig": { "access": "public" },
151
- "gitHead": "7404bfc8a5a6e93dfd01373da0a0bb8da528bba6"
151
+ "gitHead": "70ac12872a2fd8e0509d6f67fe218e0cdab7904e"
152
152
  }