@alwaysmeticulous/debug-workspace 2.280.0 → 2.282.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.
- package/dist/__tests__/detect-snapshot-assets.spec.d.ts +1 -0
- package/dist/__tests__/detect-snapshot-assets.spec.js +49 -0
- package/dist/__tests__/detect-snapshot-assets.spec.js.map +1 -0
- package/dist/__tests__/extract-screenshot-dom-files.spec.js +7 -16
- package/dist/__tests__/extract-screenshot-dom-files.spec.js.map +1 -1
- package/dist/download-debug-data.js +49 -3
- package/dist/download-debug-data.js.map +1 -1
- package/dist/extract-screenshot-dom-files.d.ts +2 -3
- package/dist/extract-screenshot-dom-files.js +7 -16
- package/dist/extract-screenshot-dom-files.js.map +1 -1
- package/dist/generate-debug-workspace.d.ts +29 -3
- package/dist/generate-debug-workspace.js +100 -40
- package/dist/generate-debug-workspace.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/pipeline.js +3 -2
- package/dist/pipeline.js.map +1 -1
- package/dist/replay-walk.d.ts +0 -3
- package/dist/replay-walk.js +2 -2
- package/dist/replay-walk.js.map +1 -1
- package/dist/templates/CLAUDE.md +63 -70
- package/dist/templates/hooks/check-file-size.sh +0 -0
- package/dist/templates/hooks/load-context.sh +0 -0
- package/dist/templates/skills/debugging-diffs/SKILL.md +3 -1
- package/package.json +19 -20
|
@@ -33,12 +33,14 @@ Use this guide when investigating unexpected visual differences between head and
|
|
|
33
33
|
- **Unexpected**: Same code producing different visual output, or unrelated areas changing.
|
|
34
34
|
- Check if the diff is in a dynamic content area (timestamps, counters, user-specific data).
|
|
35
35
|
|
|
36
|
+
<!-- if-snapshot-assets -->
|
|
36
37
|
### 5. Examine Snapshotted Assets
|
|
37
38
|
|
|
38
|
-
-
|
|
39
|
+
- Compare JS/CSS between head and base under `debug-data/replays/{head,base}/<replayId>/snapshotted-assets/`.
|
|
39
40
|
- Look for changes in CSS that could cause layout shifts.
|
|
40
41
|
- Check for new or modified JavaScript that affects rendering.
|
|
41
42
|
|
|
43
|
+
<!-- end-if-snapshot-assets -->
|
|
42
44
|
### 6. Review Screenshot Assertions Config
|
|
43
45
|
|
|
44
46
|
- Check `screenshotAssertionsOptions` in the diff JSON for threshold settings.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/debug-workspace",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.282.0",
|
|
4
4
|
"description": "Shared debug workspace pipeline for investigating Meticulous diffs and replays",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -8,28 +8,16 @@
|
|
|
8
8
|
"files": [
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
|
13
|
-
"build": "tsc --build tsconfig.json",
|
|
14
|
-
"postbuild": "cp -rp src/templates dist/templates",
|
|
15
|
-
"dev": "tsc --build tsconfig.json --watch",
|
|
16
|
-
"format": "prettier --write src",
|
|
17
|
-
"lint": "eslint \"src/**/*.{js,ts,tsx}\" --cache",
|
|
18
|
-
"lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
|
|
19
|
-
"lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
|
|
20
|
-
"depcheck": "depcheck --ignore-patterns=dist",
|
|
21
|
-
"test": "vitest run --passWithNoTests"
|
|
22
|
-
},
|
|
23
11
|
"dependencies": {
|
|
24
|
-
"@alwaysmeticulous/client": "2.280.0",
|
|
25
|
-
"@alwaysmeticulous/common": "2.280.0",
|
|
26
|
-
"@alwaysmeticulous/downloading-helpers": "2.280.0",
|
|
27
12
|
"chalk": "^4.1.2",
|
|
28
13
|
"p-limit": "^3.1.0",
|
|
29
|
-
"prettier": "^3.5.3"
|
|
14
|
+
"prettier": "^3.5.3",
|
|
15
|
+
"@alwaysmeticulous/client": "2.281.0",
|
|
16
|
+
"@alwaysmeticulous/common": "2.280.0",
|
|
17
|
+
"@alwaysmeticulous/downloading-helpers": "2.282.0"
|
|
30
18
|
},
|
|
31
19
|
"devDependencies": {
|
|
32
|
-
"vitest": "
|
|
20
|
+
"vitest": "^4.1.4"
|
|
33
21
|
},
|
|
34
22
|
"author": {
|
|
35
23
|
"name": "The Meticulous Team",
|
|
@@ -48,5 +36,16 @@
|
|
|
48
36
|
"bugs": {
|
|
49
37
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
50
38
|
},
|
|
51
|
-
"
|
|
52
|
-
|
|
39
|
+
"scripts": {
|
|
40
|
+
"clean": "rimraf dist tsconfig.tsbuildinfo",
|
|
41
|
+
"build": "tsc --build tsconfig.json",
|
|
42
|
+
"postbuild": "cp -rp src/templates dist/templates",
|
|
43
|
+
"dev": "tsc --build tsconfig.json --watch",
|
|
44
|
+
"format": "prettier --write src",
|
|
45
|
+
"lint": "eslint \"src/**/*.{js,ts,tsx}\" --cache",
|
|
46
|
+
"lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
|
|
47
|
+
"lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
|
|
48
|
+
"depcheck": "depcheck --ignore-patterns=dist",
|
|
49
|
+
"test": "vitest run --passWithNoTests"
|
|
50
|
+
}
|
|
51
|
+
}
|