Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit 208b1a0

Browse files
committed
Update peerDeps & bump deps.
1 parent 09005de commit 208b1a0

File tree

3 files changed

+610
-594
lines changed

3 files changed

+610
-594
lines changed

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nosferatu500/react-sortable-tree",
3-
"version": "4.2.2",
3+
"version": "4.3.0",
44
"description": "Drag-and-drop sortable component for nested data and hierarchies",
55
"main": "./index.js",
66
"module": "./esm/index.js",
@@ -70,33 +70,33 @@
7070
"lodash.isequal": "^4.5.0",
7171
"react-dnd": "14.0.4",
7272
"react-dnd-html5-backend": "^14.1.0",
73-
"react-virtuoso": "^2.19.1"
73+
"react-virtuoso": "^4.1.0"
7474
},
7575
"devDependencies": {
76-
"@babel/core": "^7.20.12",
76+
"@babel/core": "^7.21.0",
7777
"@babel/eslint-parser": "^7.19.1",
7878
"@babel/helper-module-imports": "^7.18.6",
79-
"@babel/plugin-transform-react-jsx": "^7.20.13",
79+
"@babel/plugin-transform-react-jsx": "^7.21.0",
8080
"@babel/preset-env": "^7.20.2",
81-
"@babel/types": "^7.20.7",
82-
"@rollup/plugin-babel": "^5.3.1",
83-
"@rollup/plugin-node-resolve": "^14.1.0",
84-
"@rollup/plugin-typescript": "^8.5.0",
81+
"@babel/types": "^7.21.2",
82+
"@rollup/plugin-babel": "^6.0.3",
83+
"@rollup/plugin-node-resolve": "^15.0.1",
84+
"@rollup/plugin-typescript": "^11.0.0",
8585
"@storybook/addon-postcss": "^2.0.0",
8686
"@storybook/addons": "^6.5.16",
8787
"@storybook/react": "^6.5.16",
8888
"@storybook/theming": "^6.5.16",
89-
"@types/babel-plugin-macros": "^2.8.5",
89+
"@types/babel-plugin-macros": "^3.1.0",
9090
"@types/lodash.isequal": "^4.5.6",
9191
"@types/react": "^16.14.35",
92-
"@types/react-dom": "^17.0.18",
93-
"@typescript-eslint/eslint-plugin": "^5.50.0",
94-
"@typescript-eslint/parser": "^5.50.0",
92+
"@types/react-dom": "^17.0.19",
93+
"@typescript-eslint/eslint-plugin": "^5.54.0",
94+
"@typescript-eslint/parser": "^5.54.0",
9595
"acorn-jsx": "^5.3.2",
9696
"autoprefixer": "^10.4.13",
9797
"babel-plugin-macros": "^3.1.0",
98-
"esbuild": "^0.17.5",
99-
"eslint": "^8.33.0",
98+
"esbuild": "^0.17.10",
99+
"eslint": "^8.35.0",
100100
"eslint-config-airbnb": "^19.0.4",
101101
"eslint-config-airbnb-typescript": "^17.0.0",
102102
"eslint-config-prettier": "^8.6.0",
@@ -108,27 +108,27 @@
108108
"eslint-plugin-react": "^7.32.2",
109109
"eslint-plugin-react-hooks": "^4.6.0",
110110
"eslint-plugin-sonarjs": "^0.18.0",
111-
"eslint-plugin-storybook": "^0.6.10",
111+
"eslint-plugin-storybook": "^0.6.11",
112112
"eslint-plugin-unicorn": "^45.0.2",
113113
"json": "^11.0.0",
114114
"postcss": "^8.4.21",
115-
"prettier": "^2.8.3",
115+
"prettier": "^2.8.4",
116116
"prop-types": "^15.8.1",
117117
"react": "^17.0.2",
118118
"react-dnd-touch-backend": "^14.1.1",
119119
"react-dom": "^17.0.2",
120-
"rimraf": "^4.1.2",
121-
"rollup": "^2.79.1",
122-
"rollup-plugin-esbuild": "^4.10.3",
120+
"rimraf": "^4.2.0",
121+
"rollup": "^3.18.0",
122+
"rollup-plugin-esbuild": "^5.0.0",
123123
"rollup-plugin-postcss": "^4.0.2",
124124
"shx": "^0.3.4",
125125
"tslib": "^2.5.0",
126126
"typescript": "^4.9.5"
127127
},
128128
"peerDependencies": {
129-
"react": ">=17.0.2",
129+
"react": "^17.0.0 || ^18.0.0",
130130
"react-dnd": "14.0.4",
131-
"react-dom": ">=17.0.2"
131+
"react-dom": "^17.0.0 || ^18.0.0"
132132
},
133133
"browserslist": {
134134
"production": [

rollup.config.js renamed to rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import typescript from '@rollup/plugin-typescript'
55
import jsx from 'acorn-jsx'
66
import esbuild from 'rollup-plugin-esbuild'
77
import postcss from 'rollup-plugin-postcss'
8-
const createBabelConfig = require('./babel.config')
8+
import createBabelConfig from './babel.config.js'
99

1010
const extensions = ['.js', '.ts', '.tsx']
1111
const { root } = path.parse(process.cwd())

0 commit comments

Comments
 (0)