Compare commits

..
1 Commits
Author SHA1 Message Date
Chromatic c9067691ac v10.9.5 2024-02-14 09:50:57 -08:00
3 changed files with 784 additions and 680 deletions
+11
View File
@@ -21,6 +21,11 @@ inputs:
buildScriptName: buildScriptName:
description: 'The npm script that builds your Storybook [build-storybook]' description: 'The npm script that builds your Storybook [build-storybook]'
required: false 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: debug:
description: 'Output verbose debugging information' description: 'Output verbose debugging information'
required: false required: false
@@ -42,6 +47,9 @@ inputs:
externals: externals:
description: 'Disable TurboSnap when any of these files have changed since the baseline build' description: 'Disable TurboSnap when any of these files have changed since the baseline build'
required: false required: false
fileHashing:
description: 'Whether to apply file hashing to skip uploading unchanged files (default: true)'
required: false
forceRebuild: forceRebuild:
description: 'Do not skip build when a rebuild is detected' description: 'Do not skip build when a rebuild is detected'
required: false required: false
@@ -63,6 +71,9 @@ inputs:
onlyStoryFiles: onlyStoryFiles:
description: 'Only run a single story or a subset of stories by their filename(s)' description: 'Only run a single story or a subset of stories by their filename(s)'
required: false required: false
playwright:
description: 'Run build against `@chromatic-com/playwright` test archives'
required: false
preserveMissing: preserveMissing:
description: 'Deprecated, use onlyChanged, onlyStoryNames or onlyStoryFiles instead' description: 'Deprecated, use onlyChanged, onlyStoryNames or onlyStoryFiles instead'
required: false required: false
+744 -669
View File
File diff suppressed because one or more lines are too long
+29 -11
View File
@@ -1,6 +1,6 @@
{ {
"name": "chromatic", "name": "chromatic",
"version": "10.2.0", "version": "10.9.5",
"description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.", "description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.",
"keywords": [ "keywords": [
"storybook-addon", "storybook-addon",
@@ -16,10 +16,13 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/chromaui/chromatic-cli.git" "url": "git+https://github.com/chromaui/chromatic-cli.git"
}, },
"license": "MIT", "license": "MIT",
"author": "Chromatic <support@chromatic.com>", "author": {
"name": "Chromatic",
"email": "support@chromatic.com"
},
"exports": { "exports": {
".": { ".": {
"types": "./dist/node.d.ts", "types": "./dist/node.d.ts",
@@ -35,7 +38,8 @@
"types": "./isChromatic.d.ts", "types": "./isChromatic.d.ts",
"require": "./isChromatic.js", "require": "./isChromatic.js",
"import": "./isChromatic.mjs" "import": "./isChromatic.mjs"
} },
"./package.json": "./package.json"
}, },
"main": "isChromatic.js", "main": "isChromatic.js",
"module": "isChromatic.mjs", "module": "isChromatic.mjs",
@@ -126,6 +130,7 @@
"@types/node": "18.x", "@types/node": "18.x",
"@types/picomatch": "^2.3.0", "@types/picomatch": "^2.3.0",
"@types/progress-stream": "^2.0.2", "@types/progress-stream": "^2.0.2",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.3.9", "@types/semver": "^7.3.9",
"@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0", "@typescript-eslint/parser": "^6.8.0",
@@ -134,6 +139,7 @@
"archiver": "^5.3.0", "archiver": "^5.3.0",
"async-retry": "^1.3.3", "async-retry": "^1.3.3",
"auto": "^11.0.4", "auto": "^11.0.4",
"boxen": "^7.1.1",
"chalk": "^4.1.2", "chalk": "^4.1.2",
"cpy": "^8.1.2", "cpy": "^8.1.2",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
@@ -150,6 +156,8 @@
"execa": "^7.2.0", "execa": "^7.2.0",
"fake-tag": "^2.0.0", "fake-tag": "^2.0.0",
"filesize": "^10.1.0", "filesize": "^10.1.0",
"find-up": "^7.0.0",
"formdata-node": "^6.0.3",
"fs-extra": "^10.0.0", "fs-extra": "^10.0.0",
"https-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.2",
"husky": "^7.0.0", "husky": "^7.0.0",
@@ -171,6 +179,7 @@
"pluralize": "^8.0.0", "pluralize": "^8.0.0",
"prettier": "^2.3.2", "prettier": "^2.3.2",
"progress-stream": "^2.0.0", "progress-stream": "^2.0.0",
"prompts": "^2.4.2",
"prop-types": "^15.7.2", "prop-types": "^15.7.2",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
@@ -196,21 +205,30 @@
"zen-observable": "^0.8.15", "zen-observable": "^0.8.15",
"zod": "^3.22.2" "zod": "^3.22.2"
}, },
"peerDependencies": {
"@chromatic-com/cypress": "^0.5.2 || ^1.0.0",
"@chromatic-com/playwright": "^0.5.2 || ^1.0.0"
},
"peerDependenciesMeta": {
"@chromatic-com/cypress": {
"optional": true
},
"@chromatic-com/playwright": {
"optional": true
}
},
"publishConfig": { "publishConfig": {
"access": "public", "access": "public",
"registry": "https://registry.npmjs.org/" "registry": "https://registry.npmjs.org/"
}, },
"auto": { "auto": {
"baseBranch": "main", "baseBranch": "main",
"canary": {
"force": true
},
"plugins": [ "plugins": [
"npm", "npm",
"released", "released"
[
"exec",
{
"afterShipIt": "yarn run publish-action"
}
]
] ]
}, },
"docs": "https://www.chromatic.com/docs/cli", "docs": "https://www.chromatic.com/docs/cli",