Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$data passed into AJV instance #1668

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "2.0.0-alpha.2"
"version": "2.0.0"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"start": "lerna run start --stream --parallel"
},
"dependencies": {
"prettier": "^1.18.2",
"lerna": "^3.18.3"
"lerna": "^3.18.3",
"prettier": "^1.18.2"
},
"prettier": {
"jsxBracketSameLine": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/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/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rjsf/core",
"version": "2.0.0-alpha.2",
"version": "2.0.0",
"description": "A simple React component capable of building HTML forms out of a JSON schema.",
"scripts": {
"build": "npm run dist:build:umd && npm run build:cjs && npm run build:es && npm run dist:build:es:lib",
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function createAjvInstance() {
multipleOfPrecision: 8,
schemaId: "auto",
unknownFormats: "ignore",
$data: true,
});

// add custom formats
Expand Down
176 changes: 1 addition & 175 deletions packages/material-ui/package-lock.json

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

8 changes: 4 additions & 4 deletions packages/material-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rjsf/material-ui",
"version": "2.0.0-alpha.2",
"version": "2.0.0",
"main": "dist/index.js",
"module": "dist/rjsf-material-ui.esm.js",
"typings": "dist/index.d.ts",
Expand All @@ -19,8 +19,8 @@
"peerDependencies": {
"@material-ui/core": "^4.2.0",
"@material-ui/icons": "^4.2.1",
"react": ">=16",
"@rjsf/core": "^2.0.0-alpha.2"
"@rjsf/core": "^2.0.0-alpha.2",
"react": ">=16"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
Expand All @@ -31,7 +31,7 @@
"@babel/preset-react": "^7.0.0",
"@material-ui/core": "^4.2.0",
"@material-ui/icons": "^4.2.1",
"@rjsf/core": "^2.0.0-alpha.2",
"@rjsf/core": "^2.0.0",
"@types/jest": "^24.0.15",
"@types/json-schema": "^7.0.3",
"@types/react": "^16.9.23",
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/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/playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rjsf/playground",
"version": "2.0.0-alpha.2.2",
"version": "2.0.0",
"description": "rjsf playground",
"scripts": {
"build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/",
Expand Down Expand Up @@ -39,7 +39,8 @@
"dependencies": {
"@babel/runtime-corejs2": "^7.4.5",
"@material-ui/core": "^4.9.4",
"@rjsf/core": "^2.0.0-alpha.2",
"@rjsf/core": "^2.0.0",
"@rjsf/material-ui": "^2.0.0",
"ajv": "^6.7.0",
"core-js": "^2.5.7",
"json-schema-merge-allof": "^0.6.0",
Expand All @@ -50,7 +51,6 @@
"react-bootstrap": "^0.33.1",
"react-frame-component": "^4.1.1",
"react-is": "^16.9.0",
"@rjsf/material-ui": "^2.0.0-alpha.2",
"shortid": "^2.2.14"
},
"devDependencies": {
Expand Down