Skip to content

Commit

Permalink
upgrade packages, fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsinulhaq committed Nov 6, 2020
1 parent e961c54 commit 0ad520e
Show file tree
Hide file tree
Showing 4 changed files with 3,247 additions and 2,663 deletions.
15 changes: 8 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
'plugin:react/recommended'
'plugin:react/recommended',
],
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
ecmaFeatures: {
jsx: true
}
jsx: true,
},
},
plugins: ['@typescript-eslint', 'react'],
settings: {
react: {
version: 'detect'
}
version: 'detect',
},
},
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-non-null-assertion': 'off'
}
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
};
54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-popper-tooltip",
"version": "3.1.0",
"version": "3.1.1",
"description": "React tooltip library built around react-popper",
"homepage": "https://react-popper-tooltip.netlify.app",
"repository": {
Expand Down Expand Up @@ -53,39 +53,39 @@
"react-dom": "^16.6.0 || ^17.0.0"
},
"dependencies": {
"@babel/runtime": "^7.10.4",
"@popperjs/core": "^2.4.4",
"@babel/runtime": "^7.12.5",
"@popperjs/core": "^2.5.4",
"react-popper": "^2.2.4"
},
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@testing-library/react": "^10.4.5",
"@types/jest": "^26.0.4",
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@babel/preset-typescript": "^7.12.1",
"@testing-library/react": "^11.1.1",
"@types/jest": "^26.0.15",
"@types/react": "^16.9.55",
"@types/react-dom": "^16.9.9",
"@typescript-eslint/eslint-plugin": "^4.6.1",
"@typescript-eslint/parser": "^4.6.1",
"docz": "^2.3.1",
"eslint": "^7.4.0",
"eslint-config-prettier": "^6.11.0",
"eslint": "^7.12.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.3",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rollup": "^2.21.0",
"eslint-plugin-react": "^7.21.5",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rollup": "^2.33.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"typescript": "^3.9.6"
"typescript": "^4.0.5"
}
}
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default [
input,
output: {
file: pkg.main,
exports: 'auto',
format: 'cjs',
interop: false,
sourcemap: true,
Expand Down
Loading

0 comments on commit 0ad520e

Please sign in to comment.