Compare commits

..

1 Commits

Author SHA1 Message Date
Chromatic 57a72947e9 v11.4.0 2024-05-21 12:48:32 +00:00
3 changed files with 849 additions and 705 deletions
+11
View File
@@ -21,6 +21,11 @@ inputs:
buildScriptName:
description: 'The npm script that builds your Storybook [build-storybook]'
required: false
configFile:
description: 'Path from where to load the Chromatic config JSON file.'
cypress:
description: 'Run build against `@chromatic-com/cypress` test archives'
required: false
debug:
description: 'Output verbose debugging information'
required: false
@@ -42,6 +47,9 @@ inputs:
externals:
description: 'Disable TurboSnap when any of these files have changed since the baseline build'
required: false
fileHashing:
description: 'Whether to apply file hashing to skip uploading unchanged files (default: true)'
required: false
forceRebuild:
description: 'Do not skip build when a rebuild is detected'
required: false
@@ -63,6 +71,9 @@ inputs:
onlyStoryFiles:
description: 'Only run a single story or a subset of stories by their filename(s)'
required: false
playwright:
description: 'Run build against `@chromatic-com/playwright` test archives'
required: false
preserveMissing:
description: 'Deprecated, use onlyChanged, onlyStoryNames or onlyStoryFiles instead'
required: false
+806 -698
View File
File diff suppressed because one or more lines are too long
+32 -7
View File
@@ -1,6 +1,6 @@
{
"name": "chromatic",
"version": "10.2.0",
"version": "11.4.0",
"description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.",
"keywords": [
"storybook-addon",
@@ -16,13 +16,16 @@
},
"repository": {
"type": "git",
"url": "https://github.com/chromaui/chromatic-cli.git"
"url": "git+https://github.com/chromaui/chromatic-cli.git"
},
"license": "MIT",
"author": "Chromatic <support@chromatic.com>",
"author": {
"name": "Chromatic",
"email": "support@chromatic.com"
},
"exports": {
".": {
"types": "./dist/node.d.ts",
"types": "./isChromatic.d.ts",
"require": "./isChromatic.js",
"import": "./isChromatic.mjs"
},
@@ -35,7 +38,8 @@
"types": "./isChromatic.d.ts",
"require": "./isChromatic.js",
"import": "./isChromatic.mjs"
}
},
"./package.json": "./package.json"
},
"main": "isChromatic.js",
"module": "isChromatic.mjs",
@@ -81,7 +85,7 @@
"trace": "./dist/bin.js trace",
"trim-stats": "./dist/bin.js trim-stats-file",
"storybook": "start-storybook -p 9009 -s static",
"test": "vitest run && vitest run -c vitest.no-threads.config.ts",
"test": "vitest run --coverage && vitest run -c vitest.no-threads.config.ts",
"prepare": "husky install && npm run build",
"dev": "tsup --watch",
"lint-staged": "lint-staged"
@@ -126,14 +130,17 @@
"@types/node": "18.x",
"@types/picomatch": "^2.3.0",
"@types/progress-stream": "^2.0.2",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vitest/coverage-v8": "^0.34.4",
"ansi-html": "0.0.8",
"any-observable": "^0.5.1",
"archiver": "^5.3.0",
"async-retry": "^1.3.3",
"auto": "^11.0.4",
"auto": "^11.0.5",
"boxen": "^7.1.1",
"chalk": "^4.1.2",
"cpy": "^8.1.2",
"cross-env": "^7.0.3",
@@ -150,6 +157,8 @@
"execa": "^7.2.0",
"fake-tag": "^2.0.0",
"filesize": "^10.1.0",
"find-up": "^7.0.0",
"formdata-node": "^6.0.3",
"fs-extra": "^10.0.0",
"https-proxy-agent": "^7.0.2",
"husky": "^7.0.0",
@@ -171,6 +180,7 @@
"pluralize": "^8.0.0",
"prettier": "^2.3.2",
"progress-stream": "^2.0.0",
"prompts": "^2.4.2",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
@@ -196,12 +206,27 @@
"zen-observable": "^0.8.15",
"zod": "^3.22.2"
},
"peerDependencies": {
"@chromatic-com/cypress": "^0.*.* || ^1.0.0",
"@chromatic-com/playwright": "^0.*.* || ^1.0.0"
},
"peerDependenciesMeta": {
"@chromatic-com/cypress": {
"optional": true
},
"@chromatic-com/playwright": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"auto": {
"baseBranch": "main",
"canary": {
"force": true
},
"plugins": [
"npm",
"released",