Compare commits

..

1 Commits

Author SHA1 Message Date
Chromatic ea1eee60c6 v11.2.0 2024-03-20 12:10:58 +01:00
3 changed files with 731 additions and 662 deletions
+8
View File
@@ -23,6 +23,8 @@ inputs:
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'
@@ -45,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
@@ -66,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
+694 -656
View File
File diff suppressed because one or more lines are too long
+29 -6
View File
@@ -1,6 +1,6 @@
{
"name": "chromatic",
"version": "10.3.0",
"version": "11.2.0",
"description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.",
"keywords": [
"storybook-addon",
@@ -16,10 +16,13 @@
},
"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",
@@ -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"
@@ -125,14 +129,18 @@
"@types/listr": "^0.14.4",
"@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",
@@ -149,6 +157,7 @@
"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",
@@ -170,6 +179,8 @@
"pkg-up": "^3.1.0",
"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",
@@ -195,6 +206,18 @@
"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/"