Skip to content

Commit

Permalink
Add support back for semantic version 1 via peerdependencies (rjsf-te…
Browse files Browse the repository at this point in the history
…am#4169)

- In `@rjsf/semantic-ui` - added back `semantic-ui-react` version `^1.3.1` to the peer dependencies
  - Also made `semantic-ui-react` a devDependency for `^2.1.3`
- In the playground, added `semantic-ui-react@2.1.3` due to the transition of `semantic-ui-react` as a devDependency
- Updated `CHANGELOG.md` accordlingly
  • Loading branch information
heath-freenome authored Apr 19, 2024
1 parent 0b7290c commit a487c72
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ should change the heading of the (upcoming) version to include a major version b
-->

# 5.18.3

## @rjsf/semantic-ui

- Added support for version 2 in the `peerDependencies`

## Dev / docs / playground

- Bumped devDependencies on `react` to `18.x`

# 5.18.2

## @rjsf/core
Expand Down
9 changes: 5 additions & 4 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
"react-dom": "^18.2.0",
"react-frame-component": "^4.1.3",
"react-is": "^18.2.0",
"react-portal": "^4.2.2"
"react-portal": "^4.2.2",
"semantic-ui-react": "^2.1.3"
},
"devDependencies": {
"@babel/cli": "^7.23.9",
Expand Down
6 changes: 3 additions & 3 deletions packages/semantic-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@rjsf/core": "^5.18.x",
"@rjsf/utils": "^5.18.x",
"react": "^16.14.0 || >=17",
"semantic-ui-react": "^2.1.3"
"semantic-ui-react": "^1.3.1 || ^2.1.3"
},
"devDependencies": {
"@babel/core": "^7.23.9",
Expand Down Expand Up @@ -66,6 +66,7 @@
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"semantic-ui-react": "^2.1.3",
"typescript": "^4.9.5"
},
"publishConfig": {
Expand Down Expand Up @@ -93,7 +94,6 @@
},
"license": "Apache-2.0",
"dependencies": {
"semantic-ui-css": "^2.5.0",
"semantic-ui-react": "^2.1.3"
"semantic-ui-css": "^2.5.0"
}
}

0 comments on commit a487c72

Please sign in to comment.