Skip to content

Commit

Permalink
Updated semantic-ui theme to use new @rjsf/utils and @rjsf/validator
Browse files Browse the repository at this point in the history
- Bumped the main `package.json` to use the latest version of `Typescript`
- Updated `package*.json` to add `@rjsf/utils` to dev and peer dependencies and `@rjsf/validator-ajv6` to dev dependencies
  - Also, Removed a bunch of packages that were never used since the conversion to `tsdx`
  - Finally, bumped most of the dev dependencies that made sense to the latest version, except for those that cause breaking tests
- Updated all uses of non-schema utilities methods to `@rjsf/utils` and switched to using `registry.schemaUtils.XXX()` for those schema-based utilities
- Updated the import of `getDefaultRegistry()` to be directly from `@rjsf/core`
- Modified `SelectWidget` to use the new `processSelectValue()` function from `@rjsf/utils`
- Updated the tests to import the `validator` from `@rjsf/validator` to pass to the `Form`
  - Also updated the snapshots via the `test:update` script to deal with the little differences from the conversion
  • Loading branch information
heath-freenome committed Jul 9, 2022
1 parent 61a2f0f commit 6ca49f7
Show file tree
Hide file tree
Showing 24 changed files with 13,608 additions and 40,397 deletions.
6 changes: 3 additions & 3 deletions 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"ts-loader": "^8.4.0",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "^4.6.4",
"typescript": "^4.7.4",
"webpack": "^4.46.0"
},
"husky": {
Expand Down
Loading

0 comments on commit 6ca49f7

Please sign in to comment.