diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1bf9cf44e..4970db784a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,13 +41,13 @@ jobs: # Docusaurus doesn't support Node 14. These tasks can be removed once Node 14 is EOL (May 2023) - name: Build with Netlify badge (no docs) if: github.ref != 'refs/heads/main' && matrix.node-version == '14.x' - run: npx nx run-many --target=build --exclude=@rjsf/docs + run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false env: VITE_SHOW_NETLIFY_BADGE: true NODE_OPTIONS: --max_old_space_size=4096 - name: Build (no docs) if: github.ref == 'refs/heads/main' && matrix.node-version == '14.x' - run: npx nx run-many --target=build --exclude=@rjsf/docs + run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false env: NODE_OPTIONS: --max_old_space_size=4096 diff --git a/CHANGELOG.md b/CHANGELOG.md index c66b50762b..44294670f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,13 @@ it according to semantic versioning. For example, if your PR adds a breaking cha should change the heading of the (upcoming) version to include a major version bump. --> +# 5.24.7 + +## Dev / docs / playground + +- Fixed build issues with small change to `core/src/tsconfig.json` and improvements to the `exports` for ESM support +- Run NX serially in the pipelines to avoid odd out-of-sequence build issues + # 5.24.6 ## @rjsf/core diff --git a/lerna.json b/lerna.json index 1f74531ca0..987c57fa3d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "packages": ["packages/*"], - "version": "5.24.6", + "version": "5.24.7", "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useNx": true, "useWorkspaces": true diff --git a/package-lock.json b/package-lock.json index 9d02d9671b..25ed09f962 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33975,7 +33975,7 @@ }, "packages/antd": { "name": "@rjsf/antd", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "classnames": "^2.5.1", @@ -33993,10 +33993,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@rollup/plugin-replace": "^5.0.5", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", @@ -34671,7 +34671,7 @@ }, "packages/bootstrap-4": { "name": "@rjsf/bootstrap-4", - "version": "5.24.6", + "version": "5.24.7", "license": "MIT", "dependencies": { "@react-icons/all-files": "^4.1.0" @@ -34683,10 +34683,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", @@ -34715,7 +34715,7 @@ }, "packages/chakra-ui": { "name": "@rjsf/chakra-ui", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "react-select": "^5.8.0" @@ -34734,10 +34734,10 @@ "@emotion/jest": "^11.11.0", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", @@ -34813,7 +34813,7 @@ }, "packages/core": { "name": "@rjsf/core", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "lodash": "^4.17.21", @@ -34829,10 +34829,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv6": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv6": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/react": "^18.2.58", @@ -34889,7 +34889,7 @@ }, "packages/docs": { "name": "@rjsf/docs", - "version": "5.24.6", + "version": "5.24.7", "dependencies": { "@docusaurus/core": "^2.4.0", "@docusaurus/preset-classic": "^2.4.3", @@ -34931,7 +34931,7 @@ }, "packages/fluent-ui": { "name": "@rjsf/fluent-ui", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "lodash": "^4.17.21", @@ -34945,10 +34945,10 @@ "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@fluentui/react": "^8.115.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/react": "^18.2.58", @@ -34977,7 +34977,7 @@ }, "packages/fluentui-rc": { "name": "@rjsf/fluentui-rc", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "@fluentui/react-components": "^9.46.3", @@ -34991,10 +34991,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", @@ -35020,7 +35020,7 @@ }, "packages/material-ui": { "name": "@rjsf/material-ui", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "devDependencies": { "@babel/core": "^7.23.9", @@ -35031,10 +35031,10 @@ "@babel/preset-typescript": "^7.23.3", "@material-ui/core": "^4.12.4", "@material-ui/icons": "^4.11.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", @@ -35063,7 +35063,7 @@ }, "packages/mui": { "name": "@rjsf/mui", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "devDependencies": { "@babel/core": "^7.23.9", @@ -35078,10 +35078,10 @@ "@mui/base": "5.0.0-beta.28", "@mui/icons-material": "6.0.2", "@mui/material": "6.0.2", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", @@ -35113,7 +35113,7 @@ }, "packages/playground": { "name": "@rjsf/playground", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "@ant-design/icons": "^4.8.1", @@ -35124,18 +35124,18 @@ "@material-ui/core": "^4.12.4", "@mui/base": "5.0.0-beta.28", "@mui/material": "6.0.2", - "@rjsf/antd": "^5.24.6", - "@rjsf/bootstrap-4": "^5.24.6", - "@rjsf/chakra-ui": "^5.24.6", - "@rjsf/core": "^5.24.6", - "@rjsf/fluent-ui": "^5.24.6", - "@rjsf/fluentui-rc": "^5.24.6", - "@rjsf/material-ui": "^5.24.6", - "@rjsf/mui": "^5.24.6", - "@rjsf/semantic-ui": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv6": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/antd": "^5.24.7", + "@rjsf/bootstrap-4": "^5.24.7", + "@rjsf/chakra-ui": "^5.24.7", + "@rjsf/core": "^5.24.7", + "@rjsf/fluent-ui": "^5.24.7", + "@rjsf/fluentui-rc": "^5.24.7", + "@rjsf/material-ui": "^5.24.7", + "@rjsf/mui": "^5.24.7", + "@rjsf/semantic-ui": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv6": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", "ajv-i18n": "^4.2.0", @@ -35226,7 +35226,7 @@ }, "packages/semantic-ui": { "name": "@rjsf/semantic-ui", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "semantic-ui-css": "^2.5.0" @@ -35238,10 +35238,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/react": "^18.2.58", @@ -35273,12 +35273,12 @@ }, "packages/snapshot-tests": { "name": "@rjsf/snapshot-tests", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { - "@rjsf/core": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6" + "@rjsf/core": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7" }, "devDependencies": { "@types/jest": "^29.5.12", @@ -35299,7 +35299,7 @@ }, "packages/utils": { "name": "@rjsf/utils", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "json-schema-merge-allof": "^0.8.1", @@ -35342,7 +35342,7 @@ }, "packages/validator-ajv6": { "name": "@rjsf/validator-ajv6", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "ajv": "^6.12.6", @@ -35356,7 +35356,7 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/utils": "^5.24.6", + "@rjsf/utils": "^5.24.7", "@types/jest": "^29.5.12", "@types/json-schema": "^7.0.15", "@types/lodash": "^4.14.202", @@ -35377,7 +35377,7 @@ }, "packages/validator-ajv8": { "name": "@rjsf/validator-ajv8", - "version": "5.24.6", + "version": "5.24.7", "license": "Apache-2.0", "dependencies": { "ajv": "^8.12.0", @@ -35392,7 +35392,7 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/utils": "^5.24.6", + "@rjsf/utils": "^5.24.7", "@types/jest": "^29.5.12", "@types/json-schema": "^7.0.15", "@types/lodash": "^4.14.202", diff --git a/packages/antd/package.json b/packages/antd/package.json index 6bb2964b18..9821ab9ecd 100644 --- a/packages/antd/package.json +++ b/packages/antd/package.json @@ -1,14 +1,36 @@ { "name": "@rjsf/antd", - "version": "5.24.6", + "version": "5.24.7", "description": "Ant Design theme, fields and widgets for react-jsonschema-form", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "scripts": { "compileReplacer": "tsc -p tsconfig.replacer.json", @@ -62,10 +84,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@rollup/plugin-replace": "^5.0.5", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", diff --git a/packages/bootstrap-4/package.json b/packages/bootstrap-4/package.json index f2e2ac9def..49a551a6bb 100644 --- a/packages/bootstrap-4/package.json +++ b/packages/bootstrap-4/package.json @@ -1,13 +1,35 @@ { "name": "@rjsf/bootstrap-4", - "version": "5.24.6", + "version": "5.24.7", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "description": "Bootstrap 4 theme, fields and widgets for react-jsonschema-form", "files": [ @@ -54,10 +76,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", diff --git a/packages/chakra-ui/package.json b/packages/chakra-ui/package.json index f8b786c39d..438712192c 100644 --- a/packages/chakra-ui/package.json +++ b/packages/chakra-ui/package.json @@ -1,14 +1,36 @@ { "name": "@rjsf/chakra-ui", - "version": "5.24.6", + "version": "5.24.7", "description": "Chakra UI theme, fields, and widgets for react-jsonschema-form", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "files": [ "dist", @@ -73,10 +95,10 @@ "@emotion/jest": "^11.11.0", "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", diff --git a/packages/core/package.json b/packages/core/package.json index c50941e5e7..3487f3fcf9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/core", - "version": "5.24.6", + "version": "5.24.7", "description": "A simple React component capable of building HTML forms out of a JSON schema.", "scripts": { "compileReplacer": "tsc -p tsconfig.replacer.json", @@ -29,9 +29,31 @@ "module": "lib/index.js", "typings": "lib/index.d.ts", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "files": [ "dist", @@ -60,10 +82,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv6": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv6": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/react": "^18.2.58", diff --git a/packages/core/src/tsconfig.json b/packages/core/src/tsconfig.json index 6dd54f7d4b..2799faab48 100644 --- a/packages/core/src/tsconfig.json +++ b/packages/core/src/tsconfig.json @@ -7,7 +7,8 @@ "rootDir": "./", "outDir": "../lib", "baseUrl": "../", - "jsx": "react-jsx" + "jsx": "react-jsx", + "composite": true }, "references": [ { diff --git a/packages/docs/package.json b/packages/docs/package.json index 1e8ec6318c..a775ff6ee9 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/docs", - "version": "5.24.6", + "version": "5.24.7", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/packages/fluent-ui/package.json b/packages/fluent-ui/package.json index d57411e3ba..3f90ef3aae 100644 --- a/packages/fluent-ui/package.json +++ b/packages/fluent-ui/package.json @@ -1,13 +1,35 @@ { "name": "@rjsf/fluent-ui", - "version": "5.24.6", + "version": "5.24.7", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "description": "Fluent UI theme, fields and widgets for react-jsonschema-form", "files": [ @@ -51,10 +73,10 @@ "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@fluentui/react": "^8.115.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/react": "^18.2.58", diff --git a/packages/fluentui-rc/package.json b/packages/fluentui-rc/package.json index 8b8c4df030..eab698386f 100644 --- a/packages/fluentui-rc/package.json +++ b/packages/fluentui-rc/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/fluentui-rc", - "version": "5.24.6", + "version": "5.24.7", "description": "FluentUI React Components theme, fields and widgets for react-jsonschema-form", "scripts": { "build:ts": "tsc -b tsconfig.build.json && tsc-alias -p tsconfig.build.json", @@ -28,9 +28,31 @@ "module": "lib/index.js", "typings": "lib/index.d.ts", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "files": [ "dist", @@ -57,10 +79,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", diff --git a/packages/material-ui/package.json b/packages/material-ui/package.json index 2db78a9205..7bf40e3896 100644 --- a/packages/material-ui/package.json +++ b/packages/material-ui/package.json @@ -1,14 +1,36 @@ { "name": "@rjsf/material-ui", - "version": "5.24.6", + "version": "5.24.7", "main": "./dist/index.js", "module": "./lib/index.js", "types": "./lib/index.d.ts", "description": "Material UI 4 theme, fields and widgets for react-jsonschema-form", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "files": [ "dist", @@ -52,10 +74,10 @@ "@babel/preset-typescript": "^7.23.3", "@material-ui/core": "^4.12.4", "@material-ui/icons": "^4.11.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", diff --git a/packages/mui/package.json b/packages/mui/package.json index d0e69a2340..1f51fc2f86 100644 --- a/packages/mui/package.json +++ b/packages/mui/package.json @@ -1,14 +1,36 @@ { "name": "@rjsf/mui", - "version": "5.24.6", + "version": "5.24.7", "main": "./dist/index.js", "module": "./lib/index.js", "types": "./lib/index.d.ts", "description": "Material UI 5 theme, fields and widgets for react-jsonschema-form", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "files": [ "dist", @@ -59,10 +81,10 @@ "@mui/base": "5.0.0-beta.28", "@mui/icons-material": "6.0.2", "@mui/material": "6.0.2", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/react": "^18.2.58", "@types/react-dom": "^18.2.19", diff --git a/packages/playground/package.json b/packages/playground/package.json index 86b74f4034..ba7e7b2365 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/playground", - "version": "5.24.6", + "version": "5.24.7", "description": "rjsf playground", "private": true, "type": "commonjs", @@ -42,18 +42,18 @@ "@material-ui/core": "^4.12.4", "@mui/base": "5.0.0-beta.28", "@mui/material": "6.0.2", - "@rjsf/antd": "^5.24.6", - "@rjsf/bootstrap-4": "^5.24.6", - "@rjsf/chakra-ui": "^5.24.6", - "@rjsf/core": "^5.24.6", - "@rjsf/fluent-ui": "^5.24.6", - "@rjsf/fluentui-rc": "^5.24.6", - "@rjsf/material-ui": "^5.24.6", - "@rjsf/mui": "^5.24.6", - "@rjsf/semantic-ui": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv6": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/antd": "^5.24.7", + "@rjsf/bootstrap-4": "^5.24.7", + "@rjsf/chakra-ui": "^5.24.7", + "@rjsf/core": "^5.24.7", + "@rjsf/fluent-ui": "^5.24.7", + "@rjsf/fluentui-rc": "^5.24.7", + "@rjsf/material-ui": "^5.24.7", + "@rjsf/mui": "^5.24.7", + "@rjsf/semantic-ui": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv6": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "ajv": "^8.12.0", "ajv-formats": "^2.1.1", "ajv-i18n": "^4.2.0", diff --git a/packages/semantic-ui/package.json b/packages/semantic-ui/package.json index 6a8df38847..994749bffd 100644 --- a/packages/semantic-ui/package.json +++ b/packages/semantic-ui/package.json @@ -1,14 +1,36 @@ { "name": "@rjsf/semantic-ui", - "version": "5.24.6", + "version": "5.24.7", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "description": "Semantic UI theme, fields and widgets for react-jsonschema-form", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "files": [ "dist", @@ -50,10 +72,10 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/core": "^5.24.6", - "@rjsf/snapshot-tests": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6", + "@rjsf/core": "^5.24.7", + "@rjsf/snapshot-tests": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7", "@types/jest": "^29.5.12", "@types/lodash": "^4.14.202", "@types/react": "^18.2.58", diff --git a/packages/snapshot-tests/package.json b/packages/snapshot-tests/package.json index 46c51230cd..be0501691d 100644 --- a/packages/snapshot-tests/package.json +++ b/packages/snapshot-tests/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/snapshot-tests", - "version": "5.24.6", + "version": "5.24.7", "description": "A set of snapshot tests to be used for testing RJSF theme.", "scripts": { "build": "tsc -b .", @@ -32,9 +32,9 @@ "react-test-renderer": "^17.0.2" }, "dependencies": { - "@rjsf/core": "^5.24.6", - "@rjsf/utils": "^5.24.6", - "@rjsf/validator-ajv8": "^5.24.6" + "@rjsf/core": "^5.24.7", + "@rjsf/utils": "^5.24.7", + "@rjsf/validator-ajv8": "^5.24.7" }, "devDependencies": { "@types/jest": "^29.5.12", diff --git a/packages/utils/package.json b/packages/utils/package.json index a3387cc3ff..9dfb755b8a 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,15 +1,36 @@ { "name": "@rjsf/utils", - "version": "5.24.6", + "version": "5.24.7", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "description": "Utility functions for @rjsf/core", "exports": { - "require": "./dist/index.js", - "import": "./lib/index.js", - "types": "./lib/index.d.ts" - }, + ".": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + } }, "files": [ "dist", "lib", diff --git a/packages/validator-ajv6/package.json b/packages/validator-ajv6/package.json index 693e0a40ca..922bba3722 100644 --- a/packages/validator-ajv6/package.json +++ b/packages/validator-ajv6/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/validator-ajv6", - "version": "5.24.6", + "version": "5.24.7", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", @@ -47,7 +47,7 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/utils": "^5.24.6", + "@rjsf/utils": "^5.24.7", "@types/jest": "^29.5.12", "@types/json-schema": "^7.0.15", "@types/lodash": "^4.14.202", diff --git a/packages/validator-ajv8/package.json b/packages/validator-ajv8/package.json index 3689f59fe7..b8103107cf 100644 --- a/packages/validator-ajv8/package.json +++ b/packages/validator-ajv8/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/validator-ajv8", - "version": "5.24.6", + "version": "5.24.7", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", @@ -16,10 +16,35 @@ "import": "./lib/compileSchemaValidators.js", "types": "./lib/compileSchemaValidators.d.ts" }, + "./lib/compileSchemaValidators": { + "require": "./dist/compileSchemaValidators.js", + "import": "./lib/compileSchemaValidators.js", + "types": "./lib/compileSchemaValidators.d.ts" + }, "./dist/compileSchemaValidators": { "require": "./dist/compileSchemaValidators.js", "import": "./lib/compileSchemaValidators.js", "types": "./lib/compileSchemaValidators.d.ts" + }, + "./lib": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./lib/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" + }, + "./dist": { + "require": "./dist/index.js", + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./dist/*.js": { + "require": "./dist/*.js", + "import": "./lib/*.js", + "types": "./lib/*.d.ts" } }, "files": [ @@ -66,7 +91,7 @@ "@babel/preset-env": "^7.23.9", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", - "@rjsf/utils": "^5.24.6", + "@rjsf/utils": "^5.24.7", "@types/jest": "^29.5.12", "@types/json-schema": "^7.0.15", "@types/lodash": "^4.14.202",