@knapsack/doctor 4.92.22 → 4.92.23--canary.7683.c7d1bea.0

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @knapsack/doctor@4.92.21 build /home/runner/work/app-monorepo/app-monorepo/libs/doctor
2
+ > @knapsack/doctor@4.92.22 build /home/runner/work/app-monorepo/app-monorepo/libs/doctor
3
3
  > tsc
4
4
 
@@ -1,5 +1,5 @@
1
1
 
2
- > @knapsack/doctor@4.92.21 lint /home/runner/work/app-monorepo/app-monorepo/libs/doctor
2
+ > @knapsack/doctor@4.92.22 lint /home/runner/work/app-monorepo/app-monorepo/libs/doctor
3
3
  > eslint ./
4
4
 
5
5
 
@@ -1,25 +1,31 @@
1
1
 
2
- > @knapsack/doctor@4.92.21 test /home/runner/work/app-monorepo/app-monorepo/libs/doctor
3
- > ava
4
-
5
-
6
- Block with id "4f3tc2Ymq6" does not exist, removing.
7
- ✔ v4 › detect › ui › Single missing blockId within pattern template is detected
8
- v4detectui Multiple missing blockIds within pattern template are detected
9
- v4 detect ui › Single missing demoId within pattern template is detected
10
- v4 detect ui Single missing blockId within pattern subpage is detected
11
- v4 detect ui Single missing blockId within custom page is detected
12
- ✔ v4 › detect › ui › All navs have corresponding pages and patterns
13
- Block with id "4nNgiwtF2F" does not exist, removing.
14
- Block with id "4f3tc2Ymq6" does not exist, removing.
15
- Block with id "4f3tc2Ymq6" does not exist, removing.
16
- Block with id "4f3tc2Ymq6" does not exist, removing.
17
- Block with id "4f3tc2Ymq6" does not exist, removing.
18
- ✔ fix-app-client-data › orphaned blocks (117ms)
19
- fix-app-client-data orphaned demos
20
- fix-app-client-data orphaned demos in slots
21
- ✔ fix-app-client-data › orphaned demos from deleted patterns or templates
22
- fix-app-client-data fixes bad navstate
23
-
24
-
25
- 11 tests passed
2
+ > @knapsack/doctor@4.92.22 test /home/runner/work/app-monorepo/app-monorepo/libs/doctor
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.1.4 /home/runner/work/app-monorepo/app-monorepo/libs/doctor
7
+
8
+ ✓ src/v4/detect/ui.test.ts (6 tests) 14ms
9
+ stderr | src/fix-app-client-data.test.ts > orphaned blocks
10
+ Block with id "4f3tc2Ymq6" does not exist, removing.
11
+ Block with id "SsLUwvhP9s" does not exist, removing.
12
+
13
+ stderr | src/fix-app-client-data.test.ts > orphaned demos
14
+ Block with id "4f3tc2Ymq6" does not exist, removing.
15
+
16
+ stderr | src/fix-app-client-data.test.ts > orphaned demos in slots
17
+ Block with id "4f3tc2Ymq6" does not exist, removing.
18
+
19
+ stderr | src/fix-app-client-data.test.ts > orphaned demos from deleted patterns or templates
20
+ Block with id "4f3tc2Ymq6" does not exist, removing.
21
+
22
+ stderr | src/fix-app-client-data.test.ts > fixes bad navstate
23
+ Block with id "4f3tc2Ymq6" does not exist, removing.
24
+
25
+ ✓ src/fix-app-client-data.test.ts (5 tests) 50ms
26
+
27
+  Test Files  2 passed (2)
28
+  Tests  11 passed (11)
29
+  Start at  17:24:52
30
+  Duration  754ms (transform 338ms, setup 0ms, import 1.08s, tests 64ms, environment 0ms)
31
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/doctor",
3
3
  "description": "",
4
- "version": "4.92.22",
4
+ "version": "4.92.23--canary.7683.c7d1bea.0",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {
@@ -16,21 +16,20 @@
16
16
  "build": "tsc",
17
17
  "clean": "rm -rf ./dist",
18
18
  "lint": "eslint ./",
19
- "test": "ava"
19
+ "test": "vitest run"
20
20
  },
21
21
  "dependencies": {
22
- "@knapsack/utils": "4.92.22"
22
+ "@knapsack/utils": "4.92.23--canary.7683.c7d1bea.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@knapsack/eslint-config-starter": "4.92.22",
26
- "@knapsack/prettier-config": "4.92.22",
27
- "@knapsack/test-ava": "4.92.22",
28
- "@knapsack/types": "4.92.22",
29
- "@knapsack/typescript-config-starter": "4.92.22",
25
+ "@knapsack/eslint-config-starter": "4.92.23--canary.7683.c7d1bea.0",
26
+ "@knapsack/prettier-config": "4.92.23--canary.7683.c7d1bea.0",
27
+ "@knapsack/types": "4.92.23--canary.7683.c7d1bea.0",
28
+ "@knapsack/typescript-config-starter": "4.92.23--canary.7683.c7d1bea.0",
30
29
  "@types/node": "^22.19.11",
31
- "ava": "^6.4.1",
32
30
  "eslint": "^9.20.0",
33
- "typescript": "^5.9.3"
31
+ "typescript": "^5.9.3",
32
+ "vitest": "^4.1.2"
34
33
  },
35
34
  "license": "GPL-2.0-or-later",
36
35
  "publishConfig": {
@@ -41,5 +40,5 @@
41
40
  "directory": "libs/doctor",
42
41
  "type": "git"
43
42
  },
44
- "gitHead": "6a839a200e841a707fc360b55a62dcb9dff8e3b4"
43
+ "gitHead": "c7d1bea104dc27a91410bfebc48c9d89c5f0d99e"
45
44
  }
@@ -0,0 +1,7 @@
1
+ import { defineConfig } from 'vitest/config';
2
+
3
+ export default defineConfig({
4
+ test: {
5
+ include: ['src/**/*.test.ts'],
6
+ },
7
+ });
package/ava.config.cjs DELETED
@@ -1,3 +0,0 @@
1
- const config = require('@knapsack/test-ava/esm');
2
-
3
- module.exports = config;