@stryke/capnp 0.12.105 → 0.12.106
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 +12 -12
- package/bin/capnpc.mjs +12 -12
- package/bin/capnpc.mjs.map +1 -1
- package/dist/{capnp-es.BHkXHvyK-B3-d8RNu.d.mts → capnp-es.BHkXHvyK-CDB5f6dc.d.mts} +1 -1
- package/dist/{capnp-es.BHkXHvyK-B3-d8RNu.d.mts.map → capnp-es.BHkXHvyK-CDB5f6dc.d.mts.map} +1 -1
- package/dist/{capnp-es.GpvEvMIK-CH8kq1KS.mjs → capnp-es.GpvEvMIK-DhNjvLVf.mjs} +1 -1
- package/dist/{capnp-es.GpvEvMIK-CH8kq1KS.mjs.map → capnp-es.GpvEvMIK-DhNjvLVf.mjs.map} +1 -1
- package/dist/chunk-DIR5cmvx.cjs +60 -0
- package/dist/chunk-DbXXkPD9.mjs +45 -0
- package/dist/{compile-BaKiSOxH.cjs → compile-B0IAAPCE.cjs} +15 -4
- package/dist/{compile-WsDhcWcc.mjs → compile-pokJNYrI.mjs} +9 -4
- package/dist/{compile-WsDhcWcc.mjs.map → compile-pokJNYrI.mjs.map} +1 -1
- package/dist/compile.cjs +1 -1
- package/dist/compile.d.mts +1 -1
- package/dist/compile.mjs +1 -1
- package/dist/compile.test.cjs +12 -0
- package/dist/compile.test.d.cts +1 -0
- package/dist/compile.test.d.mts +1 -0
- package/dist/compile.test.mjs +14 -0
- package/dist/compile.test.mjs.map +1 -0
- package/dist/{dist-VMGxvENY.cjs → dist-B4Hj5LOz.cjs} +1 -1
- package/dist/{dist-DQ7xmzRT.mjs → dist-DodkoxUk.mjs} +2 -2
- package/dist/{dist-DQ7xmzRT.mjs.map → dist-DodkoxUk.mjs.map} +1 -1
- package/dist/{helpers-CAjBYVF6.mjs → helpers-DGLnZDYv.mjs} +12 -40
- package/dist/{helpers-CAjBYVF6.mjs.map → helpers-DGLnZDYv.mjs.map} +1 -1
- package/dist/{helpers-BPRG71g-.cjs → helpers-DKdtJdpX.cjs} +23 -49
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/helpers.mjs +1 -1
- package/dist/helpers.test.cjs +12 -0
- package/dist/helpers.test.d.cts +1 -0
- package/dist/helpers.test.d.mts +1 -0
- package/dist/helpers.test.mjs +14 -0
- package/dist/helpers.test.mjs.map +1 -0
- package/dist/{index-LYXu6eWz.d.mts → index-DLVKIbjL.d.mts} +2 -2
- package/dist/{index-LYXu6eWz.d.mts.map → index-DLVKIbjL.d.mts.map} +1 -1
- package/dist/index.cjs +76 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +72 -4
- package/dist/index.mjs.map +1 -0
- package/dist/index.test.cjs +12 -0
- package/dist/index.test.d.cts +1 -0
- package/dist/index.test.d.mts +1 -0
- package/dist/index.test.mjs +14 -0
- package/dist/index.test.mjs.map +1 -0
- package/dist/magic-string.es-DNGukRib.cjs +1014 -0
- package/dist/magic-string.es-DgyxG5Z0.mjs +1014 -0
- package/dist/magic-string.es-DgyxG5Z0.mjs.map +1 -0
- package/dist/rpc-helpers.cjs +14 -4
- package/dist/rpc-helpers.d.mts +2 -2
- package/dist/rpc-helpers.mjs +8 -3
- package/dist/rpc-helpers.mjs.map +1 -1
- package/dist/rpc-helpers.test.cjs +12 -0
- package/dist/rpc-helpers.test.d.cts +1 -0
- package/dist/rpc-helpers.test.d.mts +1 -0
- package/dist/rpc-helpers.test.mjs +14 -0
- package/dist/rpc-helpers.test.mjs.map +1 -0
- package/dist/test.DNmyFkvJ-BEyBESND.mjs +13766 -0
- package/dist/test.DNmyFkvJ-BEyBESND.mjs.map +1 -0
- package/dist/test.DNmyFkvJ-NmRZglFv.cjs +13783 -0
- package/dist/{types-CVzMn-TI.d.mts → types-OZlfJNQI.d.mts} +2 -2
- package/dist/{types-CVzMn-TI.d.mts.map → types-OZlfJNQI.d.mts.map} +1 -1
- package/dist/types.cjs +9 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +4 -1
- package/dist/types.mjs.map +1 -1
- package/dist/types.test.cjs +12 -0
- package/dist/types.test.d.cts +1 -0
- package/dist/types.test.d.mts +1 -0
- package/dist/types.test.mjs +14 -0
- package/dist/types.test.mjs.map +1 -0
- package/package.json +7 -7
- /package/dist/{capnp-es.GpvEvMIK-CZ5ZimCD.cjs → capnp-es.GpvEvMIK-ftrDCVpO.cjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-DbXXkPD9.mjs";
|
|
2
2
|
import { existsSync } from "@stryke/fs/exists";
|
|
3
3
|
import { parseJsonConfigFileContent, sys } from "typescript";
|
|
4
4
|
import { createDirectory, isFile } from "@stryke/fs";
|
|
@@ -8,36 +8,7 @@ import { appendPath } from "@stryke/path/append";
|
|
|
8
8
|
import { findFilePath, relativePath } from "@stryke/path/file-path-fns";
|
|
9
9
|
import { joinPaths } from "@stryke/path/join-paths";
|
|
10
10
|
|
|
11
|
-
//#region
|
|
12
|
-
var __create = Object.create;
|
|
13
|
-
var __defProp = Object.defineProperty;
|
|
14
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
15
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
16
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
17
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
18
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
19
|
-
var __copyProps = (to, from, except, desc) => {
|
|
20
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
-
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
|
-
key = keys[i];
|
|
23
|
-
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
24
|
-
__defProp(to, key, {
|
|
25
|
-
get: ((k) => from[k]).bind(null, key),
|
|
26
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return to;
|
|
32
|
-
};
|
|
33
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
34
|
-
value: mod,
|
|
35
|
-
enumerable: true
|
|
36
|
-
}) : target, mod));
|
|
37
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
38
|
-
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.33_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
|
|
11
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-5DQF4GNF.js
|
|
41
12
|
var DEFAULT_COLOR_CONFIG = {
|
|
42
13
|
light: {
|
|
43
14
|
background: "#fafafa",
|
|
@@ -2216,7 +2187,7 @@ var require_source = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2216
2187
|
}));
|
|
2217
2188
|
|
|
2218
2189
|
//#endregion
|
|
2219
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.
|
|
2190
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-HVVJHTFS.js
|
|
2220
2191
|
var import_source = /* @__PURE__ */ __toESM(require_source(), 1);
|
|
2221
2192
|
var chalkDefault = {
|
|
2222
2193
|
hex: (_) => (message) => message,
|
|
@@ -2248,14 +2219,14 @@ var getChalk = () => {
|
|
|
2248
2219
|
};
|
|
2249
2220
|
|
|
2250
2221
|
//#endregion
|
|
2251
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.
|
|
2222
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-G2MK47WL.js
|
|
2252
2223
|
function isUnicodeSupported() {
|
|
2253
2224
|
if (process.platform !== "win32") return process.env.TERM !== "linux";
|
|
2254
2225
|
return Boolean(process.env.WT_SESSION) || Boolean(process.env.TERMINUS_SUBLIME) || process.env.ConEmuTask === "{cmd::Cmder}" || process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
2255
2226
|
}
|
|
2256
2227
|
|
|
2257
2228
|
//#endregion
|
|
2258
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.
|
|
2229
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-RALMUN5C.js
|
|
2259
2230
|
var LogLevel = {
|
|
2260
2231
|
SILENT: 0,
|
|
2261
2232
|
FATAL: 10,
|
|
@@ -2282,7 +2253,7 @@ var LogLevelLabel = {
|
|
|
2282
2253
|
};
|
|
2283
2254
|
|
|
2284
2255
|
//#endregion
|
|
2285
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.
|
|
2256
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-ZFNAUMQS.js
|
|
2286
2257
|
var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
|
|
2287
2258
|
var CONSOLE_ICONS = {
|
|
2288
2259
|
[LogLevelLabel.ERROR]: useIcon("✘", "×"),
|
|
@@ -2297,13 +2268,13 @@ var CONSOLE_ICONS = {
|
|
|
2297
2268
|
};
|
|
2298
2269
|
|
|
2299
2270
|
//#endregion
|
|
2300
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.
|
|
2271
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-JZAYHDV3.js
|
|
2301
2272
|
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
2302
2273
|
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
2303
2274
|
};
|
|
2304
2275
|
|
|
2305
2276
|
//#endregion
|
|
2306
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.
|
|
2277
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-SXPH7ILL.js
|
|
2307
2278
|
var getLogLevel = (label) => {
|
|
2308
2279
|
switch (label) {
|
|
2309
2280
|
case "all": return LogLevel.ALL;
|
|
@@ -2320,7 +2291,7 @@ var getLogLevel = (label) => {
|
|
|
2320
2291
|
};
|
|
2321
2292
|
|
|
2322
2293
|
//#endregion
|
|
2323
|
-
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.
|
|
2294
|
+
//#region ../../node_modules/.pnpm/@storm-software+config-tools@1.190.37_zod@4.4.3/node_modules/@storm-software/config-tools/dist/chunk-H3L23WJP.js
|
|
2324
2295
|
var daysInYear = 365.2425;
|
|
2325
2296
|
-(Math.pow(10, 8) * 24 * 60 * 60 * 1e3);
|
|
2326
2297
|
var secondsInDay = 3600 * 24;
|
|
@@ -2934,6 +2905,7 @@ function toArray(array) {
|
|
|
2934
2905
|
|
|
2935
2906
|
//#endregion
|
|
2936
2907
|
//#region src/helpers.ts
|
|
2908
|
+
var helpers_exports = /* @__PURE__ */ __exportAll({ resolveOptions: () => resolveOptions });
|
|
2937
2909
|
/**
|
|
2938
2910
|
* Resolves the options for the Cap'n Proto compiler.
|
|
2939
2911
|
*
|
|
@@ -3016,5 +2988,5 @@ async function resolveOptions(options) {
|
|
|
3016
2988
|
}
|
|
3017
2989
|
|
|
3018
2990
|
//#endregion
|
|
3019
|
-
export {
|
|
3020
|
-
//# sourceMappingURL=helpers-
|
|
2991
|
+
export { resolveOptions as n, writeWarning as r, helpers_exports as t };
|
|
2992
|
+
//# sourceMappingURL=helpers-DGLnZDYv.mjs.map
|