Skip to content

Commit 66b552e

Browse files
authored
Merge pull request #125 from dvtng/upgrade-dependencies
Upgrade all dependencies, fix a lint error
2 parents e9d9a97 + 4f8a2ad commit 66b552e

File tree

7 files changed

+2830
-3214
lines changed

7 files changed

+2830
-3214
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ module.exports = {
5050
'import/prefer-default-export': 'off',
5151

5252
'react/require-default-props': 'off',
53+
'react/function-component-definition': 'off',
5354

5455
'testing-library/no-node-access': 'off',
5556
},

.yarn/releases/yarn-3.0.2.cjs

Lines changed: 0 additions & 631 deletions
This file was deleted.

.yarn/releases/yarn-3.1.0.cjs

Lines changed: 768 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
yarnPath: .yarn/releases/yarn-3.0.2.cjs
2-
31
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-3.1.0.cjs

package.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -48,46 +48,46 @@
4848
"not IE 11"
4949
],
5050
"devDependencies": {
51-
"@babel/core": "^7.15.8",
52-
"@rollup/plugin-typescript": "^8.2.5",
53-
"@storybook/addon-essentials": "^6.3.10",
54-
"@storybook/addon-links": "^6.3.10",
55-
"@storybook/react": "^6.3.10",
56-
"@swc/core": "^1.2.93",
57-
"@swc/jest": "^0.2.4",
58-
"@testing-library/jest-dom": "^5.14.1",
51+
"@babel/core": "^7.16.0",
52+
"@rollup/plugin-typescript": "^8.3.0",
53+
"@storybook/addon-essentials": "^6.3.12",
54+
"@storybook/addon-links": "^6.3.12",
55+
"@storybook/react": "^6.3.12",
56+
"@swc/core": "^1.2.111",
57+
"@swc/jest": "^0.2.5",
58+
"@testing-library/jest-dom": "^5.15.0",
5959
"@testing-library/react": "^12.1.2",
60-
"@types/react": "^17.0.27",
61-
"@types/react-dom": "^17.0.9",
62-
"@typescript-eslint/eslint-plugin": "^4.33.0",
63-
"@typescript-eslint/parser": "^4.33.0",
64-
"babel-loader": "^8.2.2",
65-
"eslint": "^7.32.0",
66-
"eslint-config-airbnb": "^18.2.1",
67-
"eslint-config-airbnb-typescript": "^14.0.1",
60+
"@types/react": "^17.0.35",
61+
"@types/react-dom": "^17.0.11",
62+
"@typescript-eslint/eslint-plugin": "^5.4.0",
63+
"@typescript-eslint/parser": "^5.4.0",
64+
"babel-loader": "^8.2.3",
65+
"eslint": "^8.2.0",
66+
"eslint-config-airbnb": "^19.0.0",
67+
"eslint-config-airbnb-typescript": "^16.0.0",
6868
"eslint-config-prettier": "^8.3.0",
69-
"eslint-plugin-import": "^2.24.2",
70-
"eslint-plugin-jest": "^24.5.2",
69+
"eslint-plugin-import": "^2.25.3",
70+
"eslint-plugin-jest": "^25.2.4",
7171
"eslint-plugin-jest-dom": "^3.9.2",
72-
"eslint-plugin-jsx-a11y": "^6.4.1",
73-
"eslint-plugin-react": "^7.26.1",
74-
"eslint-plugin-react-hooks": "^4.2.0",
75-
"eslint-plugin-testing-library": "^4.12.4",
76-
"husky": "^7.0.0",
77-
"jest": "^27.2.5",
78-
"lint-staged": "^11.2.0",
72+
"eslint-plugin-jsx-a11y": "^6.5.1",
73+
"eslint-plugin-react": "^7.27.1",
74+
"eslint-plugin-react-hooks": "^4.3.0",
75+
"eslint-plugin-testing-library": "^5.0.0",
76+
"husky": "^7.0.4",
77+
"jest": "^27.3.1",
78+
"lint-staged": "^12.0.3",
7979
"prettier": "^2.4.1",
8080
"react": "^17.0.2",
8181
"react-dom": "^17.0.2",
8282
"rimraf": "^3.0.2",
83-
"rollup": "^2.58.0",
83+
"rollup": "^2.60.0",
8484
"rollup-plugin-copy": "^3.4.0",
8585
"tslib": "^2.3.1",
86-
"typescript": "^4.4.3",
87-
"webpack": "^5.58.1"
86+
"typescript": "^4.5.2",
87+
"webpack": "^5.64.2"
8888
},
8989
"peerDependencies": {
9090
"react": ">=16.8.0"
9191
},
92-
"packageManager": "yarn@3.0.2"
92+
"packageManager": "yarn@3.1.0"
9393
}

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
import { Skeleton } from './Skeleton'
2+
3+
export default Skeleton
14
export * from './SkeletonStyleProps'
25
export * from './SkeletonTheme'
3-
export { Skeleton as default } from './Skeleton'
46
export type { SkeletonProps } from './Skeleton'

0 commit comments

Comments
 (0)