@knapsack/doctor 4.92.21 → 4.92.22--canary.7683.16353f7.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.20 build /home/runner/work/app-monorepo/app-monorepo/libs/doctor
2
+ > @knapsack/doctor@4.92.21 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.20 lint /home/runner/work/app-monorepo/app-monorepo/libs/doctor
2
+ > @knapsack/doctor@4.92.21 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.20 test /home/runner/work/app-monorepo/app-monorepo/libs/doctor
3
- > ava
4
-
5
-
6
- v4 detect › ui › Single missing blockId within pattern template is detected
7
- ✔ v4 › detect › ui › Multiple missing blockIds within pattern template are detected
8
- v4detectui Single missing demoId within pattern template is detected
9
- v4 detect ui › Single missing blockId within pattern subpage is detected
10
- v4 detect ui Single missing blockId within custom page is detected
11
- v4 detect ui All navs have corresponding pages and patterns
12
- Block with id "4f3tc2Ymq6" does not exist, removing.
13
- Block with id "poYPf2d3NI" 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
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.21 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) 13ms
9
+ stderr | src/fix-app-client-data.test.ts > orphaned blocks
10
+ Block with id "4f3tc2Ymq6" does not exist, removing.
11
+ Block with id "exChUNn1T" 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) 46ms
26
+
27
+  Test Files  2 passed (2)
28
+  Tests  11 passed (11)
29
+  Start at  17:39:06
30
+  Duration  735ms (transform 332ms, setup 0ms, import 1.06s, tests 59ms, 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.21",
4
+ "version": "4.92.22--canary.7683.16353f7.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.21"
22
+ "@knapsack/utils": "4.92.22--canary.7683.16353f7.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@knapsack/eslint-config-starter": "4.92.21",
26
- "@knapsack/prettier-config": "4.92.21",
27
- "@knapsack/test-ava": "4.92.21",
28
- "@knapsack/types": "4.92.21",
29
- "@knapsack/typescript-config-starter": "4.92.21",
25
+ "@knapsack/eslint-config-starter": "4.92.22--canary.7683.16353f7.0",
26
+ "@knapsack/prettier-config": "4.92.22--canary.7683.16353f7.0",
27
+ "@knapsack/types": "4.92.22--canary.7683.16353f7.0",
28
+ "@knapsack/typescript-config-starter": "4.92.22--canary.7683.16353f7.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": "06a588664e0559b97b690fd886eb6707bfa3369a"
43
+ "gitHead": "16353f7af5a3ff962406326a70901b55f97a3155"
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;