@kitman-sh/go-to-market 0.13.11 → 0.13.12

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/bundle.js CHANGED
@@ -13958,6 +13958,7 @@ var RunEvidence = Struct({
13958
13958
  durationMs: Int.check(isGreaterThanOrEqualTo2(0)),
13959
13959
  outputTail: String5,
13960
13960
  fileIds: optionalKey2(ArraySchema(String5)),
13961
+ failedTests: optionalKey2(ArraySchema(String5)),
13961
13962
  skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
13962
13963
  newNotRun: optionalKey2(ArraySchema(String5)),
13963
13964
  recordedAt: Timestamp
@@ -18956,6 +18957,7 @@ var EvidenceCheck = Struct({
18956
18957
  durationMs: Finite,
18957
18958
  evidenceId: String5,
18958
18959
  outputTail: optionalKey2(String5),
18960
+ failedTests: optionalKey2(ArraySchema(String5)),
18959
18961
  suggested: optionalKey2(Boolean3),
18960
18962
  skippedSinceBaseline: optionalKey2(ArraySchema(String5)),
18961
18963
  newNotRun: optionalKey2(ArraySchema(String5))
@@ -19692,13 +19694,16 @@ var NetworkHostQuery = Struct({
19692
19694
  var maxSkippedTests = 1e4;
19693
19695
  var maxRanDigests = 1e5;
19694
19696
  var TestId = String5.check(isMinLength(1), isMaxLength(1000));
19697
+ var maxFailedTests = 50;
19698
+ var maxFailedTestLength = 300;
19695
19699
  var CheckTests = Struct({
19696
19700
  reports: Int.check(isGreaterThanOrEqualTo2(0)),
19697
19701
  passed: Int.check(isGreaterThanOrEqualTo2(0)),
19698
19702
  failed: Int.check(isGreaterThanOrEqualTo2(0)),
19699
19703
  skipped: Int.check(isGreaterThanOrEqualTo2(0)),
19700
19704
  skippedTests: ArraySchema(TestId).check(isMaxLength(maxSkippedTests)),
19701
- ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests))
19705
+ ranDigests: ArraySchema(String5.check(isMaxLength(16))).check(isMaxLength(maxRanDigests)),
19706
+ failedTests: optionalKey2(ArraySchema(String5.check(isMinLength(1), isMaxLength(maxFailedTestLength))).check(isMaxLength(maxFailedTests)))
19702
19707
  });
19703
19708
  var entities = new Map([
19704
19709
  ["amp", "&"],
@@ -19707,6 +19712,18 @@ var entities = new Map([
19707
19712
  ["quot", '"'],
19708
19713
  ["apos", "'"]
19709
19714
  ]);
19715
+ var failedFileStart = String.raw`FAIL +(?:\|[^|]+\| *)?(?! )(?!\S*:\/\/)`;
19716
+ var afterPath = String.raw` > | \[ `;
19717
+ var failedFilePaths = [
19718
+ String.raw`\S*\.[A-Za-z]\w*(?=[\s:]|$)`,
19719
+ String.raw`(?=\S*[A-Za-z])(?=\S*\/)\S+(?=${afterPath}|$)`,
19720
+ String.raw`(?:(?!${afterPath}).)*\.[A-Za-z]\w*(?=${afterPath})`,
19721
+ String.raw`(?=\S*\/)(?:(?!${afterPath}).)*\.[A-Za-z]\w*$`,
19722
+ String.raw`(?=.*(?:\.(?:test|spec)\.|\b__tests__\/))(?:(?!${afterPath}).)*\.[cm]?[jt]sx?$`
19723
+ ];
19724
+ var failedFileLine = new RegExp(`^${failedFileStart}((?:${failedFilePaths.join("|")}).*)$`, "su");
19725
+ var attempt = String.raw`(?:\d+ times in )?(?:initial run|\d+[a-z]{2} (?:retry(?: of \d+[a-z]{2} repeat)?|repeat))`;
19726
+ var vitestAttempts = new RegExp(String.raw` \(${attempt}(?:, ${attempt})*\)$`, "u");
19710
19727
 
19711
19728
  // ../../packages/core/src/work-unit.ts
19712
19729
  var WorkUnitLease = Struct({
@@ -25490,4 +25507,4 @@ var runKit = (config, identity, packages) => {
25490
25507
  runMain2(program.pipe(flatMap3((code) => sync2(() => process.exit(code)))));
25491
25508
  };
25492
25509
  // .kitman-build-entry.ts
25493
- runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.11" }, []);
25510
+ runKit(kitman_config_default, { name: "@kitman-sh/go-to-market", version: "0.13.12" }, []);
@@ -4,7 +4,7 @@
4
4
  "carried": [
5
5
  {
6
6
  "name": "@kitman-sh/go-to-market",
7
- "version": "0.13.11",
7
+ "version": "0.13.12",
8
8
  "setup": "0270b1c80a2c382c905693fede77fcb29c404d97404546c95d45de274fa6b087",
9
9
  "loops": [],
10
10
  "agents": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/go-to-market",
3
- "version": "0.13.11",
3
+ "version": "0.13.12",
4
4
  "description": "Copywriting, marketing psychology and SEO audits.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -14,11 +14,11 @@
14
14
  "kitman.config.ts"
15
15
  ],
16
16
  "dependencies": {
17
- "@kitman-sh/sdk": "0.13.11"
17
+ "@kitman-sh/sdk": "0.13.12"
18
18
  },
19
19
  "kitman": {
20
20
  "bundle": "dist/bundle.js",
21
- "digest": "77e1efdaadfdfc09814668cc7db2a2b8c214ca05c1b04079c66afadcda5a2a8a",
21
+ "digest": "11eb2e7f8c0ff8ec80777915f584b4c02ebb5548f1bdd4c0bf84e1a161fc26e8",
22
22
  "protocolVersion": 5,
23
23
  "declarations": "dist/declarations.json",
24
24
  "setup": {