@chromatic-com/vitest 0.0.0 → 0.12.8
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/bin/archive-storybook.cjs +210 -0
- package/dist/bin/build-archive-storybook.cjs +210 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.mjs +95 -0
- package/dist/plugin.d.ts +49 -0
- package/dist/plugin.mjs +789 -0
- package/dist/setupFile.mjs +109 -0
- package/dist/storybook-config/main.js +145 -0
- package/dist/storybook-config/manager.js +10 -0
- package/dist/storybook-config/preview.d.ts +278 -0
- package/dist/storybook-config/preview.mjs +81 -0
- package/package.json +79 -8
package/package.json
CHANGED
|
@@ -1,10 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chromatic-com/vitest",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
"version": "0.12.8",
|
|
4
|
+
"description": "Chromatic Visual Regression Testing for Vitest",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/chromaui/chromatic-e2e.git",
|
|
8
|
+
"directory": "packages/vitest"
|
|
9
|
+
},
|
|
10
|
+
"author": "Chromatic <tom@chromatic.com>",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"type": "module",
|
|
13
|
+
"module": "dist/index.mjs",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"default": "./dist/index.mjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"./plugin": {
|
|
23
|
+
"import": {
|
|
24
|
+
"types": "./dist/plugin.d.ts",
|
|
25
|
+
"default": "./dist/plugin.mjs"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"./setupFile": {
|
|
29
|
+
"import": "./dist/setupFile.mjs"
|
|
30
|
+
},
|
|
31
|
+
"./bin/archive-storybook": {
|
|
32
|
+
"require": "./dist/bin/archive-storybook.cjs"
|
|
33
|
+
},
|
|
34
|
+
"./bin/build-archive-storybook": {
|
|
35
|
+
"require": "./dist/bin/build-archive-storybook.cjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"bin": {
|
|
39
|
+
"archive-storybook": "dist/bin/archive-storybook.cjs",
|
|
40
|
+
"build-archive-storybook": "dist/bin/build-archive-storybook.cjs"
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
45
|
+
"scripts": {
|
|
46
|
+
"clean": "rimraf ./dist",
|
|
47
|
+
"prebuild": "yarn clean",
|
|
48
|
+
"build": "yarn prebuild && tsup",
|
|
49
|
+
"test:unit": "yarn workspace @chromaui/chromatic-e2e test:unit --project 'Vitest Unit' --project 'Vitest Browser'",
|
|
50
|
+
"test:vitest": "vitest --config test/vitest.config.e2e.ts",
|
|
51
|
+
"lint": "eslint src/*",
|
|
52
|
+
"prettier": "prettier"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@chromatic-com/shared-e2e": "workspace:*",
|
|
56
|
+
"@rrweb/types": "^2.0.0-alpha.18",
|
|
57
|
+
"@storybook/types": "^8.1.5",
|
|
58
|
+
"@vitest/browser-playwright": "^4.1.0",
|
|
59
|
+
"msw": "^2.12.10",
|
|
60
|
+
"vitest": "^4.1.0"
|
|
61
|
+
},
|
|
62
|
+
"lint-staged": {
|
|
63
|
+
"*.{ts,js,css,md}": "prettier --write"
|
|
64
|
+
},
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"access": "public"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@chromaui/rrweb-snapshot": "2.0.0-alpha.18-noAbsolute",
|
|
70
|
+
"@segment/analytics-node": "2.1.3",
|
|
71
|
+
"@storybook/addon-essentials": "~8.5.8",
|
|
72
|
+
"@storybook/csf": "^0.1.0",
|
|
73
|
+
"@storybook/manager-api": "~8.5.8",
|
|
74
|
+
"@storybook/server-webpack5": "~8.5.8",
|
|
75
|
+
"storybook": "~8.5.8",
|
|
76
|
+
"tinyrainbow": "^3.1.0"
|
|
77
|
+
},
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"vitest": "^4"
|
|
80
|
+
}
|
|
81
|
+
}
|