jetbridge 0.1.0-rc.4 → 0.1.0-rc.5
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/cli.d.ts +2 -2
- package/dist/cli.js +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/{variant-BU_eqU-t.d.ts → variant-BIT-Q87a.d.ts} +1 -1
- package/package.json +1 -1
package/dist/cli.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Boundary, P as Project } from './variant-
|
|
2
|
-
export { a as assertSingleSegment } from './variant-
|
|
1
|
+
import { B as Boundary, P as Project } from './variant-BIT-Q87a.js';
|
|
2
|
+
export { a as assertSingleSegment } from './variant-BIT-Q87a.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
interface VariantOptions {
|
package/dist/cli.js
CHANGED
|
@@ -165,10 +165,11 @@ function createReporter(options) {
|
|
|
165
165
|
|
|
166
166
|
// src/boundary.ts
|
|
167
167
|
var asResult = (r) => ({
|
|
168
|
-
|
|
168
|
+
// No exit code means it never started, was killed or timed out — never success.
|
|
169
|
+
ok: r.exitCode === 0,
|
|
169
170
|
code: r.exitCode ?? null,
|
|
170
171
|
stdout: typeof r.stdout === "string" ? r.stdout : "",
|
|
171
|
-
stderr: typeof r.stderr === "string" ? r.stderr : ""
|
|
172
|
+
stderr: typeof r.stderr === "string" && r.stderr ? r.stderr : r.exitCode === void 0 ? r.shortMessage ?? "" : ""
|
|
172
173
|
});
|
|
173
174
|
var nodeFileSystem = {
|
|
174
175
|
exists: (path) => existsSync(path),
|