Skip to content

Commit

Permalink
ci: update storybook (#2327)
Browse files Browse the repository at this point in the history
Updates to multiple dependencies, including all Storybook dependencies, all testing dependencies, and multiple ci/automation dependencies. Babel and Rollup will require research and minor process refactoring.
  • Loading branch information
cutterbl authored Jan 4, 2023
1 parent ebd9547 commit 48a92fa
Show file tree
Hide file tree
Showing 5 changed files with 1,613 additions and 1,391 deletions.
46 changes: 46 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
module.exports = {
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
extends: ['jason/react', 'prettier', 'plugin:storybook/recommended'],
plugins: ['react-hooks'],
env: {
node: true,
browser: true,
es6: true,
},
overrides: [
{
// or whatever matches stories specified in .storybook/main.js
files: ['*.stories.@(ts|tsx|js|jsx|mjs|cjs)'],
rules: {
// example of overriding a rule
//'storybook/hierarchy-separator': 'error',
// example of disabling a rule
'storybook/default-exports': 'off',
},
},
],
rules: {
'global-require': 'off',
'no-console': [
'error',
{
allow: ['warn', 'error', 'info'],
},
],
'no-unused-vars': [
'error',
{
vars: 'all',
args: 'after-used',
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
},
],
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
},
}
34 changes: 0 additions & 34 deletions .eslintrc.json

This file was deleted.

24 changes: 12 additions & 12 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
}
},
"react-big-calendar.js": {
"bundled": 1626986,
"minified": 458062,
"gzipped": 141015
"bundled": 1648569,
"minified": 469078,
"gzipped": 143421
},
"react-big-calendar.min.js": {
"bundled": 296359,
"minified": 294893,
"gzipped": 92856
"bundled": 307353,
"minified": 305884,
"gzipped": 95241
},
"react-big-calendar.esm.js": {
"bundled": 204084,
"minified": 95141,
"gzipped": 24761,
"bundled": 218441,
"minified": 100983,
"gzipped": 25594,
"treeshaked": {
"rollup": {
"code": 68272,
"import_statements": 1772
"code": 68665,
"import_statements": 1996
},
"webpack": {
"code": 71884
"code": 72518
}
}
}
Expand Down
65 changes: 33 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,45 +51,46 @@
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@commitlint/cli": "^17.4.0",
"@commitlint/config-conventional": "^17.4.0",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-commonjs": "22.0.1",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-replace": "4.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-jest": "6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/addon-actions": "^6.5.15",
"@storybook/addon-essentials": "^6.5.15",
"@storybook/addon-jest": "6.5.15",
"@storybook/addon-links": "^6.5.15",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/builder-webpack5": "^6.5.15",
"@storybook/manager-webpack5": "^6.5.15",
"@storybook/preset-scss": "1.0.3",
"@storybook/react": "^6.5.9",
"@storybook/theming": "6.5.9",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"autoprefixer": "^10.4.7",
"babel-jest": "^28.1.2",
"@storybook/react": "^6.5.15",
"@storybook/theming": "6.5.15",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"autoprefixer": "^10.4.13",
"babel-jest": "^29.3.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-transform-rename-import": "^2.3.0",
"babel-preset-react-app": "^10.0.1",
"eslint": "^8.19.0",
"eslint": "^8.31.0",
"eslint-config-jason": "^8.2.2",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"eslint-plugin-storybook": "^0.6.8",
"husky": "^8.0.3",
"is-ci": "^3.0.1",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"lint-staged": "^13.0.3",
"postcss": "^8.4.14",
"postcss-cli": "^10.0.0",
"prettier": "^2.7.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^13.1.0",
"postcss": "^8.4.20",
"postcss-cli": "^10.1.0",
"prettier": "^2.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-tackle-box": "^2.1.0",
Expand All @@ -98,27 +99,27 @@
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-size-snapshot": "^0.12.0",
"rollup-plugin-terser": "^7.0.2",
"sass": "1.53.0",
"sass-loader": "^13.0.2",
"semantic-release": "^19.0.3",
"zx": "^7.0.7"
"sass": "1.57.1",
"sass-loader": "^13.2.0",
"semantic-release": "^19.0.5",
"zx": "^7.1.1"
},
"dependencies": {
"@babel/runtime": "^7.18.6",
"clsx": "^1.2.1",
"date-arithmetic": "^4.1.0",
"dayjs": "^1.11.5",
"dayjs": "^1.11.7",
"dom-helpers": "^5.2.1",
"globalize": "^0.1.1",
"invariant": "^2.2.4",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"luxon": "^2.4.0",
"luxon": "^3.2.0",
"memoize-one": "^6.0.0",
"moment": "^2.29.4",
"moment-timezone": "^0.5.34",
"moment-timezone": "^0.5.40",
"prop-types": "^15.8.1",
"react-overlays": "^5.2.0",
"react-overlays": "^5.2.1",
"uncontrollable": "^7.2.1"
},
"bugs": {
Expand Down
Loading

0 comments on commit 48a92fa

Please sign in to comment.