@stryke/capnp 0.12.88 → 0.12.89
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 +1 -1
- package/bin/capnpc.cjs +1 -1
- package/bin/capnpc.mjs +1 -1
- package/bin/capnpc.mjs.map +1 -1
- package/dist/{compile-DwHB9xBy.mjs → compile-DshE0Oj0.mjs} +2 -2
- package/dist/{compile-DwHB9xBy.mjs.map → compile-DshE0Oj0.mjs.map} +1 -1
- package/dist/{compile-GRO1_ka5.cjs → compile-e2xqm0Q3.cjs} +1 -1
- package/dist/compile.cjs +2 -2
- package/dist/compile.mjs +2 -2
- package/dist/{helpers-nWE-SpSm.cjs → helpers-B2lDU1eQ.cjs} +1 -1
- package/dist/{helpers-jlhgVQPM.mjs → helpers-C-a9QDSv.mjs} +2 -2
- package/dist/{helpers-jlhgVQPM.mjs.map → helpers-C-a9QDSv.mjs.map} +1 -1
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/rpc-helpers.cjs +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ This package is part of Storm Software's **🌩️ Stryke** monorepo. Stryke pac
|
|
|
28
28
|
|
|
29
29
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
30
30
|
|
|
31
|
-
[](https://github.com/storm-software/stryke) [](http://commitizen.github.io/cz-cli/)  
|
|
32
32
|
|
|
33
33
|
> [!IMPORTANT] Important
|
|
34
34
|
> This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.
|
package/bin/capnpc.cjs
CHANGED
|
@@ -11932,7 +11932,7 @@ async function resolveOptions(options) {
|
|
|
11932
11932
|
writeWarning(`✖ No Cap'n Proto schema files found in the specified source paths: ${schemas.join(", ")}. As a result, the Cap'n Proto compiler will not be able to generate any output files. Please ensure that the paths are correct and contain .capnp files.`, { logLevel: "all" });
|
|
11933
11933
|
return null;
|
|
11934
11934
|
}
|
|
11935
|
-
const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : (0, __stryke_path_append.appendPath)((0, __stryke_path_file_path_fns.relativePath)(tsconfigPath ? (0, __stryke_path_file_path_fns.findFilePath)(tsconfigPath) : options.projectRoot, (0,
|
|
11935
|
+
const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : (0, __stryke_path_append.appendPath)((0, __stryke_path_file_path_fns.relativePath)(tsconfigPath ? (0, __stryke_path_file_path_fns.findFilePath)(tsconfigPath) : options.projectRoot, (0, __stryke_path_append.appendPath)(resolvedSchemas[0].endsWith(".capnp") ? (0, __stryke_path_file_path_fns.findFilePath)(resolvedSchemas[0]) : resolvedSchemas[0], options.workspaceRoot)), options.projectRoot);
|
|
11936
11936
|
if (!(0, __stryke_fs_exists.existsSync)(output)) {
|
|
11937
11937
|
if ((0, __stryke_fs.isFile)(output)) {
|
|
11938
11938
|
const errorMessage = `✖ The specified output path "${output}" is a file. Please provide a valid directory path.`;
|
package/bin/capnpc.mjs
CHANGED
|
@@ -11933,7 +11933,7 @@ async function resolveOptions(options) {
|
|
|
11933
11933
|
writeWarning(`✖ No Cap'n Proto schema files found in the specified source paths: ${schemas.join(", ")}. As a result, the Cap'n Proto compiler will not be able to generate any output files. Please ensure that the paths are correct and contain .capnp files.`, { logLevel: "all" });
|
|
11934
11934
|
return null;
|
|
11935
11935
|
}
|
|
11936
|
-
const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : appendPath(relativePath(tsconfigPath ? findFilePath(tsconfigPath) : options.projectRoot,
|
|
11936
|
+
const output = options.output ? options.output.replace("{projectRoot}", options.projectRoot).replace("{workspaceRoot}", options.workspaceRoot) : appendPath(relativePath(tsconfigPath ? findFilePath(tsconfigPath) : options.projectRoot, appendPath(resolvedSchemas[0].endsWith(".capnp") ? findFilePath(resolvedSchemas[0]) : resolvedSchemas[0], options.workspaceRoot)), options.projectRoot);
|
|
11937
11937
|
if (!existsSync$1(output)) {
|
|
11938
11938
|
if (isFile(output)) {
|
|
11939
11939
|
const errorMessage = `✖ The specified output path "${output}" is a file. Please provide a valid directory path.`;
|