Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 3e89161

Browse files
Upgrading storybook to 6.5 (#212)
* Updating storybook from 6.4 to 6.5 * Fixing linting by ignoring storybook static folder
1 parent a1caf50 commit 3e89161

File tree

3 files changed

+3065
-3657
lines changed

3 files changed

+3065
-3657
lines changed

.eslintrc.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,10 @@ module.exports = {
1818
extends: ['@metamask/eslint-config-jest'],
1919
},
2020
],
21-
ignorePatterns: ['!.eslintrc.js', '!.prettierrc.js', 'dist/'],
21+
ignorePatterns: [
22+
'!.eslintrc.js',
23+
'!.prettierrc.js',
24+
'dist/',
25+
'storybook-static/',
26+
],
2227
};

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@
2222
"src/css/"
2323
],
2424
"scripts": {
25-
"setup": "yarn install && yarn allow-scripts",
26-
"test": "jest",
27-
"test:watch": "jest --watch",
28-
"prepublishOnly": "yarn build:clean && yarn lint && yarn test",
29-
"lint:eslint": "eslint . --cache --ext js,ts",
30-
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' --ignore-path .gitignore",
25+
"build": "tsc --project .",
26+
"build-storybook": "build-storybook",
27+
"build:clean": "rimraf dist && yarn build",
3128
"lint": "yarn lint:eslint && yarn lint:misc --check",
29+
"lint:eslint": "eslint . --cache --ext js,ts",
3230
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
33-
"build:clean": "rimraf dist && yarn build",
34-
"build": "tsc --project .",
31+
"lint:misc": "prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' --ignore-path .gitignore",
32+
"prepublishOnly": "yarn build:clean && yarn lint && yarn test",
33+
"setup": "yarn install && yarn allow-scripts",
3534
"storybook": "start-storybook -p 6006",
36-
"build-storybook": "build-storybook"
35+
"test": "jest",
36+
"test:watch": "jest --watch"
3737
},
3838
"dependencies": {},
3939
"devDependencies": {
@@ -44,10 +44,10 @@
4444
"@metamask/eslint-config-jest": "^9.0.0",
4545
"@metamask/eslint-config-nodejs": "^9.0.0",
4646
"@metamask/eslint-config-typescript": "^9.0.1",
47-
"@storybook/addon-actions": "^6.4.18",
48-
"@storybook/addon-essentials": "^6.4.18",
49-
"@storybook/addon-links": "^6.4.18",
50-
"@storybook/react": "^6.4.18",
47+
"@storybook/addon-actions": "^6.5.10",
48+
"@storybook/addon-essentials": "^6.5.10",
49+
"@storybook/addon-links": "^6.5.10",
50+
"@storybook/react": "^6.5.10",
5151
"@types/jest": "^26.0.13",
5252
"@typescript-eslint/eslint-plugin": "^4.21.0",
5353
"@typescript-eslint/parser": "^4.21.0",
@@ -60,7 +60,7 @@
6060
"eslint-plugin-jsdoc": "^36.1.0",
6161
"eslint-plugin-node": "^11.1.0",
6262
"eslint-plugin-prettier": "^3.3.1",
63-
"eslint-plugin-storybook": "^0.5.6",
63+
"eslint-plugin-storybook": "^0.6.3",
6464
"jest": "^26.4.2",
6565
"node-fetch": "^2.6.0",
6666
"prettier": "^2.2.1",

0 commit comments

Comments
 (0)