@kubb/studio 5.15.0 → 5.15.2
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/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/protocol-B4wWGPon.cjs.map +1 -1
- package/dist/protocol-B6oWLc7W.js.map +1 -1
- package/dist/{protocol-a0ItUgk9.d.ts → protocol-f2YAAGLi.d.cts} +8 -4
- package/dist/{protocol-a0ItUgk9.d.cts → protocol-f2YAAGLi.d.ts} +8 -4
- package/dist/protocol.d.cts +1 -1
- package/dist/protocol.d.ts +1 -1
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as SnapshotUploadMetadata, G as editConfig, K as editConfigFile, O as PublishedSnapshot, a as AgentConnectInfo, c as AgentPermissions, s as AgentPermission } from "./protocol-
|
|
1
|
+
import { B as SnapshotUploadMetadata, G as editConfig, K as editConfigFile, O as PublishedSnapshot, a as AgentConnectInfo, c as AgentPermissions, s as AgentPermission } from "./protocol-f2YAAGLi.cjs";
|
|
2
2
|
import { Config, Hookable, KubbHooks } from "@kubb/core";
|
|
3
3
|
/**
|
|
4
4
|
* Studio closed with {@link AgentCloseCode.UNAUTHORIZED}. Hosts forget the token and pair again.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as SnapshotUploadMetadata, G as editConfig, K as editConfigFile, O as PublishedSnapshot, a as AgentConnectInfo, c as AgentPermissions, s as AgentPermission } from "./protocol-
|
|
1
|
+
import { B as SnapshotUploadMetadata, G as editConfig, K as editConfigFile, O as PublishedSnapshot, a as AgentConnectInfo, c as AgentPermissions, s as AgentPermission } from "./protocol-f2YAAGLi.js";
|
|
2
2
|
import { Config, Hookable, KubbHooks } from "@kubb/core";
|
|
3
3
|
/**
|
|
4
4
|
* Studio closed with {@link AgentCloseCode.UNAUTHORIZED}. Hosts forget the token and pair again.
|
package/dist/index.js
CHANGED
|
@@ -206,7 +206,7 @@ function getElapsedMs(hrStart) {
|
|
|
206
206
|
return Math.round(ms * 100) / 100;
|
|
207
207
|
}
|
|
208
208
|
// package.json
|
|
209
|
-
var version = "5.15.
|
|
209
|
+
var version = "5.15.2";
|
|
210
210
|
// ../../internals/shared/src/constants.ts
|
|
211
211
|
/**
|
|
212
212
|
* Extensions `kubb` ships at its own version, so they count as installed without being a direct
|
|
@@ -2224,9 +2224,9 @@ const INSTALL_TIMEOUT_MS = 3e5;
|
|
|
2224
2224
|
const REGISTRY_ID = /^[a-z0-9]+(?:-[a-z0-9]+)*(?:\/[a-z0-9]+(?:-[a-z0-9]+)*)?$/;
|
|
2225
2225
|
/** The CLI the project depends on, so `kubb add` installs next to what the config imports. */
|
|
2226
2226
|
function findKubbBin(root) {
|
|
2227
|
-
const
|
|
2227
|
+
const requireModule = createRequire(path.resolve(root, "package.json"));
|
|
2228
2228
|
const names = ["kubb", "@kubb/cli"];
|
|
2229
|
-
return (
|
|
2229
|
+
return (requireModule.resolve.paths("kubb") ?? []).flatMap((dir) => names.map((name) => path.join(dir, name, "bin", "kubb.js"))).find((bin) => existsSync(bin));
|
|
2230
2230
|
}
|
|
2231
2231
|
/** Runs a `kubb` command without a shell, and keeps the end of its output for the failure reason. */
|
|
2232
2232
|
async function runKubb({ bin, args, cwd, signal }) {
|