Skip to content

Commit

Permalink
Unify react (#100)
Browse files Browse the repository at this point in the history
* Use same react version

* Bump packages versions

* Update react to 16.14

* Remove unnecessary components
  • Loading branch information
rogaldh authored Apr 6, 2021
1 parent 99be8ac commit 4b376c2
Show file tree
Hide file tree
Showing 20 changed files with 55 additions and 287 deletions.
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulms/components",
"version": "1.3.2",
"version": "1.4.0",
"description": "UI components library",
"homepage": "https://github.com/netology-group/ulms-media-ui",
"bugs": {
Expand Down Expand Up @@ -56,9 +56,9 @@
"popper.js": "^1.15.0",
"query-string": "^6.2.0",
"rc-slider": "^8.6.9",
"react": "^16.6.3",
"react": "^16.14.0",
"react-color": "^2.17.3",
"react-dom": "^16.6.3",
"react-dom": "^16.14.0",
"react-sizeme": "~2.6.7",
"react-visibility-sensor": "~5.0.2",
"recompose": "^0.30.0",
Expand Down Expand Up @@ -139,9 +139,9 @@
"@foxford/ui": "^1.8.1",
"fabric": "netology-group/fabric.js#feature/ULMS-509",
"rc-slider": "~8.6.9",
"react": "^15.6 || ^16.x",
"react": "^15.6 || ^16.x || ^17.x",
"react-color": "~2.17.0",
"react-dom": "^15.6 || ^16.x",
"react-dom": "^15.6 || ^16.x || ^17.x",
"react-sizeme": "~2.6.7",
"react-visibility-sensor": "~5.0",
"scroll-into-view-if-needed": "~2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"classnames-es": "^2.2.6",
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/cache-buster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "rm -rf ./es/* && BABEL_ENV=es rollup --config ./rollup.config.js index.js"
},
"dependencies": {
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/drawing-toolbar/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/drawing-toolbar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulms/ui-drawing-toolbar",
"version": "1.0.3",
"version": "1.0.4",
"description": "",
"keywords": [
"lerna"
Expand Down Expand Up @@ -30,15 +30,15 @@
"classnames-es": "^2.2.6",
"ramda": "^0.26.1",
"rc-slider": "^8.6.13",
"react": "^16.12.0",
"react": "^16.14.0",
"react-color": "^2.17.3",
"react-floater": "^0.6.5"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x",
"react-dom": "^16.14 || ^17.x"
},
"devDependencies": {
"react-dom": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x",
"react-dom": "^15.6 || ^16.x || ^17.x"
}
}
6 changes: 3 additions & 3 deletions packages/drawing/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/drawing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"d3-queue": "~3.0.7",
"fabric": "netology-group/fabric.js#feature/ULMS-509",
"hammerjs": "~2.0.8",
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"fabric": "netology-group/fabric.js#feature/ULMS-509",
Expand Down
2 changes: 1 addition & 1 deletion packages/frame/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"build": "rm -rf ./es/* && BABEL_ENV=es rollup --config ./rollup.config.js index.js"
},
"dependencies": {
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@foxford/ui": "^1.8.1",
"classnames-es": "^2.2.6",
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"classnames-es": "^2.2.6",
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
16 changes: 8 additions & 8 deletions packages/location-viewport/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/location-viewport/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulms/ui-location-viewport",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"keywords": [
"lerna"
Expand Down Expand Up @@ -29,8 +29,8 @@
"@ungap/event-target": "0.1.0",
"classnames-es": "^2.2.6",
"popper.js": "^1.16.0",
"react": "^16.12.0",
"react-dom": "16.12.0"
"react": "^16.14.0",
"react-dom": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"classnames-es": "^2.2.6",
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
14 changes: 7 additions & 7 deletions packages/presentation/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/presentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"classnames-es": "^2.2.6",
"lodash": "^4.17.20",
"pdfjs-dist": "^2.0.943",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-sizeme": "^2.6.7",
"react-visibility-sensor": "^5.0.2",
"scroll-into-view-if-needed": "^2.2.20"
Expand Down
2 changes: 1 addition & 1 deletion packages/spinner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@ulms/ui-icons": "^1.0.0",
"classnames-es": "^2.2.6",
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
2 changes: 1 addition & 1 deletion packages/switcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"classnames-es": "^2.2.6",
"react": "^16.12.0"
"react": "^16.14.0"
},
"peerDependencies": {
"react": "^15.6 || ^16.x || ^17.x"
Expand Down
Loading

0 comments on commit 4b376c2

Please sign in to comment.