Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdbe7756d4 |
@@ -86,6 +86,9 @@ inputs:
|
|||||||
skip:
|
skip:
|
||||||
description: 'Skip Chromatic tests, but mark the commit as passing'
|
description: 'Skip Chromatic tests, but mark the commit as passing'
|
||||||
required: false
|
required: false
|
||||||
|
skipUpdateCheck:
|
||||||
|
description: 'Skips Chromatic CLI update check'
|
||||||
|
required: false
|
||||||
storybookBaseDir:
|
storybookBaseDir:
|
||||||
description: 'Relative path from repository root to Storybook project root'
|
description: 'Relative path from repository root to Storybook project root'
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
+1029
-821
File diff suppressed because one or more lines are too long
+17
-58
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "chromatic",
|
"name": "chromatic",
|
||||||
"version": "10.9.5",
|
"version": "11.7.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",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"types": "./dist/node.d.ts",
|
"types": "./isChromatic.d.ts",
|
||||||
"require": "./isChromatic.js",
|
"require": "./isChromatic.js",
|
||||||
"import": "./isChromatic.mjs"
|
"import": "./isChromatic.mjs"
|
||||||
},
|
},
|
||||||
@@ -68,58 +68,22 @@
|
|||||||
"isChromatic.mjs",
|
"isChromatic.mjs",
|
||||||
"isChromatic.d.ts"
|
"isChromatic.d.ts"
|
||||||
],
|
],
|
||||||
"scripts": {
|
|
||||||
"build": "tsup",
|
|
||||||
"build-storybook": "build-storybook -s static",
|
|
||||||
"build-test-storybook": "cross-env SMOKE_TEST=true build-storybook -o test-storybook",
|
|
||||||
"build-subdir": "cd subdir ; yarn build ; cd ..",
|
|
||||||
"chromatic": "./dist/bin.js",
|
|
||||||
"chromatic-prebuilt": "./dist/bin.js --storybook-build-dir=\"storybook-static\"",
|
|
||||||
"chromatic-staging": "CHROMATIC_INDEX_URL=https://www.staging-chromatic.com ./dist/bin.js",
|
|
||||||
"chromatic-verbose": "cross-env LOG_LEVEL=verbose ./dist/bin.js",
|
|
||||||
"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:package": "sort-package-json",
|
|
||||||
"release": "yarn run build && auto shipit",
|
|
||||||
"publish-action": "./scripts/publish-action.mjs",
|
|
||||||
"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",
|
|
||||||
"prepare": "husky install && npm run build",
|
|
||||||
"dev": "tsup --watch",
|
|
||||||
"lint-staged": "lint-staged"
|
|
||||||
},
|
|
||||||
"lint-staged": {
|
|
||||||
"*.ts": [
|
|
||||||
"yarn lint:js --fix"
|
|
||||||
],
|
|
||||||
"*.js": [
|
|
||||||
"yarn lint:js --fix"
|
|
||||||
],
|
|
||||||
"*.json": [
|
|
||||||
"yarn lint:js --fix"
|
|
||||||
],
|
|
||||||
"package.json": [
|
|
||||||
"yarn lint:package"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"any-observable": "^0.5.1"
|
"any-observable": "^0.5.1"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@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",
|
"@auto-it/exec": "^11.0.4",
|
||||||
|
"@auto-it/slack": "^11.1.6",
|
||||||
"@discoveryjs/json-ext": "^0.5.7",
|
"@discoveryjs/json-ext": "^0.5.7",
|
||||||
"@storybook/addon-essentials": "^6.5.6",
|
"@storybook/addon-essentials": "^8.1.5",
|
||||||
"@storybook/builder-webpack5": "^6.5.6",
|
"@storybook/addon-webpack5-compiler-swc": "^1.0.3",
|
||||||
"@storybook/csf-tools": "^7.0.12",
|
"@storybook/csf-tools": "^8.1.5",
|
||||||
"@storybook/linter-config": "^3.1.2",
|
"@storybook/linter-config": "^4.0.0",
|
||||||
"@storybook/manager-webpack5": "^6.5.6",
|
"@storybook/react": "^8.1.5",
|
||||||
"@storybook/react": "^6.5.6",
|
"@storybook/react-webpack5": "^8.1.5",
|
||||||
"@tsconfig/node16": "^16.1.1",
|
"@tsconfig/node16": "^16.1.1",
|
||||||
"@types/archiver": "^5.3.1",
|
"@types/archiver": "^5.3.1",
|
||||||
"@types/async-retry": "^1.4.3",
|
"@types/async-retry": "^1.4.3",
|
||||||
@@ -132,15 +96,18 @@
|
|||||||
"@types/progress-stream": "^2.0.2",
|
"@types/progress-stream": "^2.0.2",
|
||||||
"@types/prompts": "^2.4.9",
|
"@types/prompts": "^2.4.9",
|
||||||
"@types/semver": "^7.3.9",
|
"@types/semver": "^7.3.9",
|
||||||
|
"@types/webpack-env": "^1.18.5",
|
||||||
"@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",
|
||||||
|
"@vitest/coverage-v8": "^0.34.4",
|
||||||
"ansi-html": "0.0.8",
|
"ansi-html": "0.0.8",
|
||||||
"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.4",
|
"auto": "^11.0.5",
|
||||||
"boxen": "^7.1.1",
|
"boxen": "^7.1.1",
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
|
"clean-package": "^2.2.0",
|
||||||
"cpy": "^8.1.2",
|
"cpy": "^8.1.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"cross-spawn": "^7.0.2",
|
"cross-spawn": "^7.0.2",
|
||||||
@@ -165,6 +132,7 @@
|
|||||||
"junit-report-builder": "2.1.0",
|
"junit-report-builder": "2.1.0",
|
||||||
"lint-staged": "^11.1.2",
|
"lint-staged": "^11.1.2",
|
||||||
"listr": "0.14.3",
|
"listr": "0.14.3",
|
||||||
|
"listr-update-renderer": "^0.5.0",
|
||||||
"meow": "^9.0.0",
|
"meow": "^9.0.0",
|
||||||
"mock-fs": "^5.1.2",
|
"mock-fs": "^5.1.2",
|
||||||
"no-proxy": "^1.0.3",
|
"no-proxy": "^1.0.3",
|
||||||
@@ -188,6 +156,7 @@
|
|||||||
"slash": "^3.0.0",
|
"slash": "^3.0.0",
|
||||||
"snyk-nodejs-lockfile-parser": "^1.52.1",
|
"snyk-nodejs-lockfile-parser": "^1.52.1",
|
||||||
"sort-package-json": "1.50.0",
|
"sort-package-json": "1.50.0",
|
||||||
|
"storybook": "^8.1.5",
|
||||||
"string-argv": "^0.3.1",
|
"string-argv": "^0.3.1",
|
||||||
"strip-ansi": "6.0.0",
|
"strip-ansi": "6.0.0",
|
||||||
"tmp-promise": "3.0.2",
|
"tmp-promise": "3.0.2",
|
||||||
@@ -206,8 +175,8 @@
|
|||||||
"zod": "^3.22.2"
|
"zod": "^3.22.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@chromatic-com/cypress": "^0.5.2 || ^1.0.0",
|
"@chromatic-com/cypress": "^0.*.* || ^1.0.0",
|
||||||
"@chromatic-com/playwright": "^0.5.2 || ^1.0.0"
|
"@chromatic-com/playwright": "^0.*.* || ^1.0.0"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
"@chromatic-com/cypress": {
|
"@chromatic-com/cypress": {
|
||||||
@@ -221,16 +190,6 @@
|
|||||||
"access": "public",
|
"access": "public",
|
||||||
"registry": "https://registry.npmjs.org/"
|
"registry": "https://registry.npmjs.org/"
|
||||||
},
|
},
|
||||||
"auto": {
|
|
||||||
"baseBranch": "main",
|
|
||||||
"canary": {
|
|
||||||
"force": true
|
|
||||||
},
|
|
||||||
"plugins": [
|
|
||||||
"npm",
|
|
||||||
"released"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"docs": "https://www.chromatic.com/docs/cli",
|
"docs": "https://www.chromatic.com/docs/cli",
|
||||||
"storybook": {
|
"storybook": {
|
||||||
"icon": "https://user-images.githubusercontent.com/263385/101995175-2e087800-3c96-11eb-9a33-9860a1c3ce62.gif",
|
"icon": "https://user-images.githubusercontent.com/263385/101995175-2e087800-3c96-11eb-9a33-9860a1c3ce62.gif",
|
||||||
|
|||||||
Reference in New Issue
Block a user