Skip to content

Commit

Permalink
[chore] Update deps, linter, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
amivanoff committed Jan 1, 2022
1 parent 6cb2d10 commit de99267
Show file tree
Hide file tree
Showing 5 changed files with 2,809 additions and 1,625 deletions.
39 changes: 21 additions & 18 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
//project: './tsconfig.json',
ecmaFeatures: {
jsx: true, // Allows for the parsing of JSX
},
env: {
browser: true,
es2021: true,
},
settings: {
react: {
version: 'detect',
},
},
plugins: ['import', 'flowtype', 'jsx-a11y', 'react', 'react-hooks', 'prettier'],
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended',
//'airbnb-typescript',
'react-app',
'prettier',
'plugin:prettier/recommended',
'plugin:storybook/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 13,
sourceType: 'module',
},
plugins: ['import', 'flowtype', 'jsx-a11y', 'react', 'react-hooks', '@typescript-eslint', 'prettier'],
rules: {
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-explicit-any': 'off',
Expand All @@ -37,6 +40,13 @@ module.exports = {
},
},
],
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'variableLike',
format: ['camelCase', 'PascalCase'],
},
],
'react/jsx-props-no-spreading': 'off',
'react/prop-types': 'off',
'import/no-anonymous-default-export': 'off',
Expand All @@ -48,12 +58,5 @@ module.exports = {
// devDependencies: ['stories/**/*', 'test/**/*'],
//},
],
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'variableLike',
format: ['camelCase', 'PascalCase'],
},
],
},
};
2 changes: 1 addition & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
lessOptions: {
//see https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less
modifyVars: {
'primary-color': '#1864FB', //'#1DA57A', // primary color for all components 24 100 251
'primary-color': '#1DA57A', // primary color for all components 24 100 251
'font-size-base': '12px', // major text font size
'link-color': '#1DA57A',
},
Expand Down
86 changes: 43 additions & 43 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agentlab/ldkg-ui-charts",
"version": "0.1.5",
"version": "0.1.6",
"license": "GPL-3.0",
"main": "es/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -28,92 +28,92 @@
"lint-staged": "lint-staged"
},
"peerDependencies": {
"@agentlab/ldkg-ui-react": ">=0.1.16",
"@agentlab/sparql-jsld-client": ">=5.0.3",
"@ant-design/charts": "1.2.14",
"@agentlab/ldkg-ui-react": ">=0.1.19",
"@agentlab/react-collapse-pane": ">=2.0.3",
"@agentlab/sparql-jsld-client": ">=5.0.7",
"@ant-design/charts": "1.3.3",
"@ant-design/icons": ">=4.7.0",
"@antv/data-set": ">=0.11.8",
"@antv/g2plot": "2.3.40",
"@antv/g2plot": "2.4.5",
"@rdfjs/data-model": ">=1.3.4",
"antd": ">=4.16.13",
"antd": ">=4.18.2",
"json-pointer": ">=0.6.1",
"jsonpath-plus": "^6.0.1",
"lodash-es": ">=4.17.21",
"mobx": ">=6.3.7",
"mobx-react-lite": ">=3.2.2",
"mobx-state-tree": ">=5.0.5",
"mobx": ">=6.3.10",
"mobx-react-lite": ">=3.2.3",
"mobx-state-tree": ">=5.1.0",
"moment": ">=2.29.1",
"react": ">=17.0.2",
"react-dom": ">=17.0.2",
"react-collapse-pane": ">=2.0.1",
"react-error-boundary": ">=3.1.4",
"uuid62": "^1.0.1"
"uuid62": "^1.0.2"
},
"dependencies": {
"@agentlab/ldkg-ui-react": "^0.1.16",
"@agentlab/sparql-jsld-client": "^5.0.3",
"@ant-design/charts": "^1.2.14",
"@agentlab/ldkg-ui-react": "^0.1.19",
"@agentlab/react-collapse-pane": "^2.0.3",
"@agentlab/sparql-jsld-client": "^5.0.7",
"@ant-design/charts": "^1.3.3",
"@ant-design/icons": "^4.7.0",
"@antv/data-set": "^0.11.8",
"@antv/g2plot": "2.3.40",
"@antv/g2plot": "2.4.5",
"@types/json-pointer": "^1.0.31",
"json-pointer": "^0.6.1",
"jsonpath-plus": "^6.0.1",
"react-collapse-pane": "^2.0.1"
"jsonpath-plus": "^6.0.1"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/core": "^7.16.7",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-node-resolve": "^13.1.2",
"@rollup/plugin-typescript": "^8.3.0",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/addons": "^6.3.12",
"@storybook/node-logger": "^6.3.12",
"@storybook/addon-actions": "^6.4.9",
"@storybook/addon-essentials": "^6.4.9",
"@storybook/addon-links": "^6.4.9",
"@storybook/addons": "^6.4.9",
"@storybook/node-logger": "^6.4.9",
"@storybook/preset-ant-design": "^0.0.2",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.3.12",
"@testing-library/jest-dom": "^5.15.0",
"@storybook/react": "^6.4.9",
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"autoprefixer": "^10.4.0",
"@types/jest": "^27.4.0",
"@typescript-eslint/eslint-plugin": "^5.8.1",
"@typescript-eslint/parser": "^5.8.1",
"autoprefixer": "^10.4.1",
"babel-loader": "^8.2.3",
"cross-env": "^7.0.3",
"css-loader": "^5.2.7",
"cssnano": "^5.0.11",
"eslint": "^8.2.0",
"cssnano": "^5.0.14",
"eslint": "^8.6.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-jest": "^25.3.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.5.5",
"husky": "^7.0.4",
"jest": "^27.3.1",
"jest": "^27.4.5",
"jest-watch-typeahead": "^1.0.0",
"lint-staged": "^12.0.2",
"postcss": "^8.3.11",
"prettier": "^2.4.1",
"lint-staged": "^12.1.4",
"postcss": "^8.4.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"rollup": "^2.60.0",
"rollup": "^2.62.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.32.12",
"sass-loader": "10.1.1",
"storybook-css-modules-preset": "^1.1.1",
"style-loader": "^2.0.0",
"ts-jest": "^27.0.7",
"ts-jest": "^27.1.2",
"tslib": "^2.3.1",
"typescript": "4.4.4",
"typescript": "4.5.4",
"typescript-plugin-css-modules": "^3.4.0"
},
"lint-staged": {
Expand Down
1 change: 1 addition & 0 deletions src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*
* SPDX-License-Identifier: GPL-3.0-only
********************************************************************************/
declare module 'uuid62';
declare module '*.less' {
const content: any;
export default content;
Expand Down
Loading

0 comments on commit de99267

Please sign in to comment.