Skip to content

Commit

Permalink
Dependency upgrade June (#1358)
Browse files Browse the repository at this point in the history
* dep upgrade

* fix lin errors

* migrate jest to 27

* update typescript

* fix RichTextEditor types

Co-authored-by: pusztaie <pusztaie@sensenet.com>
Co-authored-by: Aniko Litvanyi <herflis33@gmail.com>
Co-authored-by: Zoltán Takács <zoltandavid.takacs@sensenet.com>
  • Loading branch information
4 people committed Jun 29, 2021
1 parent f042f93 commit f9d5476
Show file tree
Hide file tree
Showing 49 changed files with 3,334 additions and 2,754 deletions.
40 changes: 20 additions & 20 deletions apps/sensenet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,48 +38,48 @@
]
},
"devDependencies": {
"@cypress/code-coverage": "^3.9.4",
"@relative-ci/agent": "^1.5.0",
"@cypress/code-coverage": "^3.9.6",
"@relative-ci/agent": "^2.0.0",
"@types/autosuggest-highlight": "^3.1.1",
"@types/react": "^17.0.3",
"@types/react": "^17.0.11",
"@types/react-autosuggest": "^10.1.4",
"@types/react-dom": "^17.0.3",
"@types/react-dom": "^17.0.7",
"@types/react-responsive": "^8.0.2",
"@types/react-router": "^5.1.12",
"@types/react-router": "^5.1.15",
"@types/react-router-dom": "^5.1.7",
"@types/react-virtualized": "^9.21.11",
"@types/uuid": "^8.0.1",
"clean-webpack-plugin": "^4.0.0-alpha.0",
"compression-webpack-plugin": "7.1.2",
"copy-webpack-plugin": "^8.1.1",
"css-loader": "^5.2.4",
"css-minimizer-webpack-plugin": "^2.0.0",
"cypress": "^7.1.0",
"compression-webpack-plugin": "8.0.0",
"copy-webpack-plugin": "^9.0.0",
"css-loader": "^5.2.6",
"css-minimizer-webpack-plugin": "^3.0.1",
"cypress": "^7.5.0",
"cypress-file-upload": "^5.0.6",
"cypress-xpath": "^1.6.2",
"file-loader": "^6.1.1",
"fork-ts-checker-webpack-plugin": "^6.2.1",
"fork-ts-checker-webpack-plugin": "^6.2.10",
"html-webpack-plugin": "^5.3.1",
"mini-css-extract-plugin": "^1.5.0",
"monaco-editor-webpack-plugin": "^3.0.1",
"monaco-editor-webpack-plugin": "^4.0.0",
"nyc": "^15.1.0",
"nyc-config-tsx": "^0.1.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"source-map-support": "^0.5.19",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.1.1",
"ts-loader": "^9.0.0",
"ts-node": "^9.1.1",
"terser-webpack-plugin": "^5.1.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.34.0",
"webpack": "^5.38.1",
"webpack-bundle-analyzer": "^4.4.1",
"webpack-cli": "^4.6.0",
"webpack-cli": "^4.7.2",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.7.3"
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@iconify-icons/logos": "^1.1.9",
"@iconify-icons/logos": "^1.1.10",
"@iconify/react": "^1.1.4",
"@material-ui/core": "^4.11.4",
"@material-ui/icons": "^4.11.2",
Expand All @@ -97,7 +97,7 @@
"@sensenet/repository-events": "^2.1.1",
"autosuggest-highlight": "^3.1.1",
"clsx": "^1.1.1",
"date-fns": "^2.21.3",
"date-fns": "^2.22.1",
"filesize": "^6.3.0",
"react": "^16.13.0",
"react-autosuggest": "^10.1.0",
Expand Down
5 changes: 3 additions & 2 deletions apps/sensenet/src/components/dialogs/dialog-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ export type DialogWithProps = (
type Action = { type: 'PUSH_DIALOG'; dialog: DialogWithProps } | { type: 'POP_DIALOG' } | { type: 'CLOSE_ALL_DIALOGS' }

const initialState: DialogWithProps[] = []
const DialogContext =
createContext<{ dialogs: typeof initialState; dispatch: React.Dispatch<Action> } | undefined>(undefined)
const DialogContext = createContext<{ dialogs: typeof initialState; dispatch: React.Dispatch<Action> } | undefined>(
undefined,
)

function dialogReducer(state: typeof initialState, action: Action) {
switch (action.type) {
Expand Down
3 changes: 2 additions & 1 deletion apps/sensenet/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ module.exports = {
'!iPadShowKeyboard',
'!inPlaceReplace',
'!indentation',
'!inlineHints',
'!inlayHints',
'!inlineCompletions',
'!inspectTokens',
'!linesOperations',
'!linkedEditing',
Expand Down
42 changes: 21 additions & 21 deletions examples/sn-blog-gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,36 @@
"@sensenet/authentication-oidc-react": "^2.3.1",
"@sensenet/universal-header-react": "^0.2.0",
"cross-spawn": "^7.0.3",
"date-fns": "^2.21.3",
"gatsby": "^3.5.0",
"gatsby-plugin-image": "^1.5.0",
"gatsby-plugin-layout": "^2.6.0",
"date-fns": "^2.22.1",
"gatsby": "^3.7.1",
"gatsby-plugin-image": "^1.7.1",
"gatsby-plugin-layout": "^2.7.1",
"gatsby-plugin-material-ui": "^3.0.1",
"gatsby-plugin-mdx": "^2.5.0",
"gatsby-plugin-react-helmet": "^4.5.0",
"gatsby-plugin-sharp": "^3.5.0",
"gatsby-plugin-typescript": "^3.5.0",
"gatsby-remark-copy-linked-files": "^4.2.0",
"gatsby-remark-prismjs": "^5.2.0",
"gatsby-remark-responsive-iframe": "^4.2.0",
"gatsby-remark-smartypants": "^4.2.0",
"gatsby-source-filesystem": "^3.5.0",
"gatsby-plugin-mdx": "^2.7.1",
"gatsby-plugin-react-helmet": "^4.7.1",
"gatsby-plugin-sharp": "^3.7.1",
"gatsby-plugin-typescript": "^3.7.1",
"gatsby-remark-copy-linked-files": "^4.4.1",
"gatsby-remark-prismjs": "^5.4.1",
"gatsby-remark-responsive-iframe": "^4.4.1",
"gatsby-remark-smartypants": "^4.4.1",
"gatsby-source-filesystem": "^3.7.1",
"gatsby-source-sensenet": "^0.1.0",
"gatsby-transformer-json": "^3.5.0",
"gatsby-transformer-remark": "^4.2.0",
"gatsby-transformer-sharp": "^3.5.0",
"gatsby-transformer-json": "^3.7.1",
"gatsby-transformer-remark": "^4.4.1",
"gatsby-transformer-sharp": "^3.7.1",
"prism-themes": "^1.7.0",
"prismjs": "^1.23.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-helmet": "^6.1.0",
"typescript": "^4.2.4"
"typescript": "^4.3.3"
},
"devDependencies": {
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-helmet": "^6.1.1",
"eslint": "^7.24.0"
"eslint": "^7.28.0"
}
}
12 changes: 6 additions & 6 deletions examples/sn-dms-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@sensenet/redux": "^5.7.1",
"@sensenet/repository-events": "^2.1.1",
"@sensenet/search-react": "^2.1.2",
"date-fns": "^2.21.3",
"date-fns": "^2.22.1",
"history": "^5.0.0",
"lodash.groupby": "^4.6.0",
"object-assign": "4.1.1",
Expand All @@ -67,21 +67,21 @@
},
"devDependencies": {
"@cypress/webpack-preprocessor": "^5.7.0",
"@types/chance": "^1.1.1",
"@types/chance": "^1.1.2",
"@types/jest": "^26.0.21",
"@types/lodash.groupby": "^4.6.6",
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-custom-scrollbars": "^4.0.6",
"@types/react-dom": "^17.0.3",
"@types/react-dom": "^17.0.7",
"@types/react-loadable": "^5.5.2",
"@types/react-redux": "^7.1.16",
"@types/react-responsive": "^8.0.2",
"@types/react-router-dom": "^5.1.7",
"@types/uuid": "^8.0.1",
"chance": "^1.1.6",
"cross-env": "^7.0.3",
"cypress": "^7.1.0",
"cypress": "^7.5.0",
"path-to-regexp": "^6.2.0",
"prop-types": "^15.7.2",
"react-scripts": "4.0.3"
Expand Down
12 changes: 6 additions & 6 deletions examples/sn-react-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-router": "^5.1.12",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-router": "^5.1.15",
"@types/react-router-dom": "^5.1.7",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-scripts": "4.0.3",
"typescript": "^4.2.4"
"typescript": "^4.3.3"
},
"dependencies": {
"@material-ui/core": "^4.11.4",
Expand All @@ -43,7 +43,7 @@
"@sensenet/list-controls-react": "^2.1.1",
"@sensenet/universal-header-react": "^0.2.0",
"clsx": "^1.1.1",
"date-fns": "^2.21.3",
"date-fns": "^2.22.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0"
},
Expand Down
12 changes: 6 additions & 6 deletions examples/sn-react-calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/lodash.orderby": "^4.6.6",
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-router": "^5.1.12",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-router": "^5.1.15",
"@types/react-router-dom": "^5.1.7",
"@types/uuid": "^8.0.1",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"typescript": "^4.2.4"
"typescript": "^4.3.3"
},
"dependencies": {
"@material-ui/core": "^4.11.4",
Expand All @@ -48,7 +48,7 @@
"@sensenet/repository-events": "^2.1.1",
"@sensenet/universal-header-react": "^0.2.0",
"clsx": "^1.1.1",
"date-fns": "^2.21.3",
"date-fns": "^2.22.1",
"lodash.orderby": "^4.6.0",
"striptags": "^3.1.1",
"uuid": "^8.3.2"
Expand Down
7 changes: 4 additions & 3 deletions examples/sn-react-component-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"react-dom": "^16.13.0"
},
"devDependencies": {
"@babel/core": "^7.13.15",
"@babel/core": "^7.14.5",
"@storybook/addon-a11y": "^6.2.8",
"@storybook/addon-actions": "^6.2.8",
"@storybook/addon-events": "^6.2.8",
Expand All @@ -59,14 +59,15 @@
"@storybook/core": "^6.2.8",
"@storybook/react": "^6.2.8",
"@storybook/source-loader": "^6.2.8",
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/uuid": "^8.0.1",
"babel-loader": "^8.2.2",
"prop-types": "^15.7.2",
"react-docgen-typescript-loader": "^3.7.1",
"regenerator-runtime": "^0.13.7",
"ts-loader": "8.0.14",
"typescript": "4.2.3",
"uuid": "^8.3.2",
"webpack": "^4.44.2"
}
Expand Down
14 changes: 7 additions & 7 deletions examples/sn-react-imagegallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
},
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-image-gallery": "^1.0.2",
"@types/react-router": "^5.1.12",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-image-gallery": "^1.0.3",
"@types/react-router": "^5.1.15",
"@types/react-router-dom": "^5.1.7",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"typescript": "^4.2.4"
"typescript": "^4.3.3"
},
"dependencies": {
"@material-ui/core": "^4.11.4",
Expand All @@ -41,7 +41,7 @@
"@sensenet/default-content-types": "^5.0.0",
"@sensenet/hooks-react": "^1.6.1",
"@sensenet/universal-header-react": "^0.2.0",
"react-image-gallery": "^1.0.9"
"react-image-gallery": "^1.1.1"
},
"browserslist": {
"production": [
Expand Down
12 changes: 6 additions & 6 deletions examples/sn-react-memoapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
},
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-router": "^5.1.12",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-router": "^5.1.15",
"@types/react-router-dom": "^5.1.7",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"typescript": "^4.2.4"
"typescript": "^4.3.3"
},
"dependencies": {
"@material-ui/core": "^4.11.4",
Expand All @@ -42,7 +42,7 @@
"@sensenet/default-content-types": "^5.0.0",
"@sensenet/hooks-react": "^1.6.1",
"@sensenet/universal-header-react": "^0.2.0",
"date-fns": "^2.21.3",
"date-fns": "^2.22.1",
"react-markdown": "^6.0.2"
},
"browserslist": {
Expand Down
10 changes: 5 additions & 5 deletions examples/sn-react-tasklist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
},
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/node": "^14.14.41",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-router": "^5.1.12",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-router": "^5.1.15",
"@types/react-router-dom": "^5.1.7",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"typescript": "^4.2.4"
"typescript": "^4.3.3"
},
"dependencies": {
"@material-ui/core": "^4.11.4",
Expand Down
10 changes: 5 additions & 5 deletions examples/sn-react-typescript-boilerplate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
},
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/node": "^14.14.37",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-router": "^5.1.12",
"@types/node": "^15.12.2",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-router": "^5.1.15",
"@types/react-router-dom": "^5.1.7",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"typescript": "^4.2.3"
"typescript": "^4.3.3"
},
"dependencies": {
"@material-ui/core": "^4.11.4",
Expand Down

0 comments on commit f9d5476

Please sign in to comment.