Compare commits

..
1 Commits
Author SHA1 Message Date
Chromatic e5269a1d11 v9.1.0 2023-12-01 12:36:44 +01:00
3 changed files with 706 additions and 846 deletions
-11
View File
@@ -21,11 +21,6 @@ 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
@@ -47,9 +42,6 @@ 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
@@ -71,9 +63,6 @@ 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
+700 -803
View File
File diff suppressed because one or more lines are too long
+6 -32
View File
@@ -1,6 +1,6 @@
{ {
"name": "chromatic", "name": "chromatic",
"version": "11.0.3", "version": "9.1.0",
"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,13 +16,10 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/chromaui/chromatic-cli.git" "url": "https://github.com/chromaui/chromatic-cli.git"
}, },
"license": "MIT", "license": "MIT",
"author": { "author": "Chromatic <support@chromatic.com>",
"name": "Chromatic",
"email": "support@chromatic.com"
},
"exports": { "exports": {
".": { ".": {
"types": "./dist/node.d.ts", "types": "./dist/node.d.ts",
@@ -38,8 +35,7 @@
"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",
@@ -80,7 +76,7 @@
"lint": "yarn lint:js .storybook bin-src node-src test-stories ./isChromatic.js ./isChromatic.mjs", "lint": "yarn lint:js .storybook bin-src node-src test-stories ./isChromatic.js ./isChromatic.mjs",
"lint:js": "cross-env NODE_ENV=production eslint --fix --cache --cache-location=.cache/eslint --ext .js,.json,.mjs,.ts,.cjs --report-unused-disable-directives", "lint:js": "cross-env NODE_ENV=production eslint --fix --cache --cache-location=.cache/eslint --ext .js,.json,.mjs,.ts,.cjs --report-unused-disable-directives",
"lint:package": "sort-package-json", "lint:package": "sort-package-json",
"release": "yarn run build && auto shipit", "release": "yarn run build && auto shipit && yarn run publish-action",
"publish-action": "./scripts/publish-action.mjs", "publish-action": "./scripts/publish-action.mjs",
"trace": "./dist/bin.js trace", "trace": "./dist/bin.js trace",
"trim-stats": "./dist/bin.js trim-stats-file", "trim-stats": "./dist/bin.js trim-stats-file",
@@ -112,7 +108,6 @@
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"@actions/github": "^5.0.0", "@actions/github": "^5.0.0",
"@antfu/ni": "^0.21.5", "@antfu/ni": "^0.21.5",
"@auto-it/exec": "^11.0.4",
"@discoveryjs/json-ext": "^0.5.7", "@discoveryjs/json-ext": "^0.5.7",
"@storybook/addon-essentials": "^6.5.6", "@storybook/addon-essentials": "^6.5.6",
"@storybook/builder-webpack5": "^6.5.6", "@storybook/builder-webpack5": "^6.5.6",
@@ -130,7 +125,6 @@
"@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",
@@ -138,8 +132,7 @@
"any-observable": "^0.5.1", "any-observable": "^0.5.1",
"archiver": "^5.3.0", "archiver": "^5.3.0",
"async-retry": "^1.3.3", "async-retry": "^1.3.3",
"auto": "^11.0.5", "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",
@@ -156,8 +149,6 @@
"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",
@@ -179,7 +170,6 @@
"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",
@@ -200,32 +190,16 @@
"vite": "^4.4.9", "vite": "^4.4.9",
"vitest": "^0.34.4", "vitest": "^0.34.4",
"why-is-node-running": "^2.1.2", "why-is-node-running": "^2.1.2",
"xxhash-wasm": "^1.0.2",
"yarn-or-npm": "^3.0.1", "yarn-or-npm": "^3.0.1",
"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"