From c42584d4b422ddda61c890a76a5b2c52e74be117 Mon Sep 17 00:00:00 2001 From: rishigupta1599 Date: Mon, 6 May 2024 11:10:09 +0530 Subject: [PATCH] Formatting fixes --- babel.config.old.cjs | 2 +- packageV7.json | 178 ++++++++++++++++++------------------- prepare-storybook-tests.sh | 2 +- test/.storybook/mainV7.js | 2 +- 4 files changed, 92 insertions(+), 92 deletions(-) diff --git a/babel.config.old.cjs b/babel.config.old.cjs index c766d5a6..e7a224ef 100644 --- a/babel.config.old.cjs +++ b/babel.config.old.cjs @@ -16,4 +16,4 @@ module.exports = { ] } } -}; \ No newline at end of file +}; diff --git a/packageV7.json b/packageV7.json index 88118a0b..f997f4aa 100644 --- a/packageV7.json +++ b/packageV7.json @@ -1,90 +1,90 @@ { - "name": "@percy/storybook", - "version": "5.0.3", - "description": "Storybook addons for visual testing with Percy", - "keywords": [ - "storybook", - "addon", - "visual", - "visual-testing", - "layout-testing", - "percy", - "image-testing", - "test" - ], - "license": "MIT", - "repository": { - "type": "git", - "url": "https://github.com/percy/percy-storybook.git" - }, - "publishConfig": { - "access": "public", - "tag": "latest" - }, - "engine": { - "node": ">=14" - }, - "files": [ - "bin", - "dist" - ], - "bin": { - "percy-storybook": "./bin/percy-storybook.cjs" - }, - "main": "./dist/index.js", - "exports": "./dist/index.js", - "type": "module", - "scripts": { - "build": "babel src --out-dir dist", - "clean": "git clean -Xdf -e !node_modules -e !node_modules/**", - "lint": "eslint --ignore-path .gitignore .", - "readme": "percy-cli-readme", - "pretest": "storybook build --config-dir=./test/.storybook --output-dir=./test/.storybook-build --loglevel error", - "test": "yarn test:env jasmine --config=./test/jasmine.json", - "test:env": "cross-env NODE_ENV=test NODE_OPTIONS='--loader=./test/loader.js'", - "test:coverage": "nyc yarn test" - }, - "storybook": { - "displayName": "Percy", - "icon": "https://avatars.githubusercontent.com/u/12260884" - }, - "@percy/cli": { - "commands": [ - "./dist/storybook.js" - ] - }, - "dependencies": { - "@percy/cli-command": "^1.28.5", - "cross-spawn": "^7.0.3", - "qs": "^6.11.0" - }, - "devDependencies": { - "@babel/cli": "^7.23.0", - "@babel/core": "^7.23.2", - "@babel/eslint-parser": "^7.19.1", - "@babel/eslint-plugin": "^7.19.1", - "@babel/preset-env": "^7.22.9", - "@storybook/react": "^7.5.0", - "@storybook/react-webpack5": "^7.5.0", - "babel-eslint": "^10.0.3", - "babel-plugin-istanbul": "^6.1.1", - "cross-env": "^7.0.3", - "eslint": "^8.51.0", - "eslint-config-standard": "^17.0.0", - "eslint-plugin-import": "^2.28.1", - "eslint-plugin-n": "^15.4.0", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^6.1.1", - "jasmine": "^4.5.0", - "jasmine-spec-reporter": "^7.0.0", - "mock-require": "^3.0.3", - "nock": "^13.2.9", - "nyc": "^15.1.0", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "storybook": "^7.5.0" - }, - "resolutions": { - "jackspeak": "2.1.1" - } - } \ No newline at end of file + "name": "@percy/storybook", + "version": "5.0.3", + "description": "Storybook addons for visual testing with Percy", + "keywords": [ + "storybook", + "addon", + "visual", + "visual-testing", + "layout-testing", + "percy", + "image-testing", + "test" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/percy/percy-storybook.git" + }, + "publishConfig": { + "access": "public", + "tag": "latest" + }, + "engine": { + "node": ">=14" + }, + "files": [ + "bin", + "dist" + ], + "bin": { + "percy-storybook": "./bin/percy-storybook.cjs" + }, + "main": "./dist/index.js", + "exports": "./dist/index.js", + "type": "module", + "scripts": { + "build": "babel src --out-dir dist", + "clean": "git clean -Xdf -e !node_modules -e !node_modules/**", + "lint": "eslint --ignore-path .gitignore .", + "readme": "percy-cli-readme", + "pretest": "storybook build --config-dir=./test/.storybook --output-dir=./test/.storybook-build --loglevel error", + "test": "yarn test:env jasmine --config=./test/jasmine.json", + "test:env": "cross-env NODE_ENV=test NODE_OPTIONS='--loader=./test/loader.js'", + "test:coverage": "nyc yarn test" + }, + "storybook": { + "displayName": "Percy", + "icon": "https://avatars.githubusercontent.com/u/12260884" + }, + "@percy/cli": { + "commands": [ + "./dist/storybook.js" + ] + }, + "dependencies": { + "@percy/cli-command": "^1.28.5", + "cross-spawn": "^7.0.3", + "qs": "^6.11.0" + }, + "devDependencies": { + "@babel/cli": "^7.23.0", + "@babel/core": "^7.23.2", + "@babel/eslint-parser": "^7.19.1", + "@babel/eslint-plugin": "^7.19.1", + "@babel/preset-env": "^7.22.9", + "@storybook/react": "^7.5.0", + "@storybook/react-webpack5": "^7.5.0", + "babel-eslint": "^10.0.3", + "babel-plugin-istanbul": "^6.1.1", + "cross-env": "^7.0.3", + "eslint": "^8.51.0", + "eslint-config-standard": "^17.0.0", + "eslint-plugin-import": "^2.28.1", + "eslint-plugin-n": "^15.4.0", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^6.1.1", + "jasmine": "^4.5.0", + "jasmine-spec-reporter": "^7.0.0", + "mock-require": "^3.0.3", + "nock": "^13.2.9", + "nyc": "^15.1.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "storybook": "^7.5.0" + }, + "resolutions": { + "jackspeak": "2.1.1" + } +} diff --git a/prepare-storybook-tests.sh b/prepare-storybook-tests.sh index ac5c3894..321ec733 100755 --- a/prepare-storybook-tests.sh +++ b/prepare-storybook-tests.sh @@ -21,4 +21,4 @@ if [[ " ${versions[*]} " =~ " $storybook_version " ]]; then else echo "The value $storybook_version is not a supported version." exit 1 -fi \ No newline at end of file +fi diff --git a/test/.storybook/mainV7.js b/test/.storybook/mainV7.js index ce81d86a..51af3ea0 100644 --- a/test/.storybook/mainV7.js +++ b/test/.storybook/mainV7.js @@ -7,4 +7,4 @@ module.exports = { name: '@storybook/react-webpack5', options: {} } -}; \ No newline at end of file +};