Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f6574e351 |
@@ -86,9 +86,6 @@ inputs:
|
||||
skip:
|
||||
description: 'Skip Chromatic tests, but mark the commit as passing'
|
||||
required: false
|
||||
skipUpdateCheck:
|
||||
description: 'Skips Chromatic CLI update check'
|
||||
required: false
|
||||
storybookBaseDir:
|
||||
description: 'Relative path from repository root to Storybook project root'
|
||||
required: false
|
||||
|
||||
+301
-303
File diff suppressed because one or more lines are too long
+61
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "chromatic",
|
||||
"version": "11.5.5",
|
||||
"version": "11.5.0",
|
||||
"description": "Automate visual testing across browsers. Gather UI feedback. Versioned documentation.",
|
||||
"keywords": [
|
||||
"storybook-addon",
|
||||
@@ -68,6 +68,42 @@
|
||||
"isChromatic.mjs",
|
||||
"isChromatic.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"build-storybook": "storybook build --stats-json",
|
||||
"build-test-storybook": "cross-env SMOKE_TEST=true storybook build -o test-storybook --stats-json",
|
||||
"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": "storybook dev -p 9009",
|
||||
"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"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.ts": [
|
||||
"yarn lint:js --fix"
|
||||
],
|
||||
"*.js": [
|
||||
"yarn lint:js --fix"
|
||||
],
|
||||
"*.json": [
|
||||
"yarn lint:js --fix"
|
||||
],
|
||||
"package.json": [
|
||||
"yarn lint:package"
|
||||
]
|
||||
},
|
||||
"resolutions": {
|
||||
"any-observable": "^0.5.1"
|
||||
},
|
||||
@@ -107,7 +143,6 @@
|
||||
"auto": "^11.0.5",
|
||||
"boxen": "^7.1.1",
|
||||
"chalk": "^4.1.2",
|
||||
"clean-package": "^2.2.0",
|
||||
"cpy": "^8.1.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"cross-spawn": "^7.0.2",
|
||||
@@ -190,7 +225,31 @@
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"auto": {
|
||||
"baseBranch": "main",
|
||||
"canary": {
|
||||
"force": true
|
||||
},
|
||||
"plugins": [
|
||||
"npm",
|
||||
"released",
|
||||
[
|
||||
"exec",
|
||||
{
|
||||
"afterShipIt": "yarn run publish-action"
|
||||
}
|
||||
],
|
||||
[
|
||||
"slack",
|
||||
{
|
||||
"atTarget": "support-team",
|
||||
"iconEmoji": ":package:"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"docs": "https://www.chromatic.com/docs/cli",
|
||||
"packageManager": "yarn@4.2.2",
|
||||
"storybook": {
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101995175-2e087800-3c96-11eb-9a33-9860a1c3ce62.gif",
|
||||
"displayName": "Chromatic"
|
||||
|
||||
Reference in New Issue
Block a user