Skip to content

Commit 36a2ef5

Browse files
Merge branch 'main' into feat/custom-template-per-field
2 parents a30d506 + 2a03293 commit 36a2ef5

File tree

912 files changed

+1101938
-80445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

912 files changed

+1101938
-80445
lines changed

.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"comma-dangle": [
3434
0
3535
],
36+
"@typescript-eslint/no-require-imports": "off",
3637
"@typescript-eslint/no-unused-vars": [
3738
2,
3839
{
@@ -66,5 +67,8 @@
6667
"react": {
6768
"version": "detect"
6869
}
70+
},
71+
"globals": {
72+
"jest": true
6973
}
7074
}

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ body:
2222
attributes:
2323
label: What theme are you using?
2424
options:
25-
- core
2625
- antd
27-
- bootstrap-4
2826
- chakra-ui
29-
- fluent-ui
30-
- material-ui
27+
- core
28+
- daisyui
29+
- fluentui-rc
3130
- mui
31+
- react-bootstrap
3232
- semantic-ui
33+
- shadcn
3334
- utils
34-
- validator-ajv6
3535
- validator-ajv8
3636
- other
3737
validations:

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ body:
1616
attributes:
1717
label: What theme are you using?
1818
options:
19-
- core
2019
- antd
21-
- bootstrap-4
2220
- chakra-ui
23-
- fluent-ui
24-
- material-ui
21+
- core
22+
- daisyui
23+
- fluentui-rc
2524
- mui
25+
- react-bootstrap
2626
- semantic-ui
27+
- shadcn
2728
- utils
28-
- validator-ajv6
2929
- validator-ajv8
3030
- other
3131
validations:

.github/ISSUE_TEMPLATE/question_issue.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ body:
1616
attributes:
1717
label: What theme are you using?
1818
options:
19-
- core
2019
- antd
21-
- bootstrap-4
2220
- chakra-ui
23-
- fluent-ui
24-
- material-ui
21+
- core
22+
- daisyui
23+
- fluentui-rc
2524
- mui
25+
- react-bootstrap
2626
- semantic-ui
27+
- shadcn
2728
- utils
28-
- validator-ajv6
2929
- validator-ajv8
3030
- other
3131
validations:

.github/workflows/ci.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node-version: [14.x, 16.x, 18.x]
14+
node-version: [20.x, 22.x]
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -21,42 +21,37 @@ jobs:
2121
node-version: ${{ matrix.node-version }}
2222
cache: 'npm'
2323
cache-dependency-path: 'package-lock.json'
24-
- run: npm i -g npm@9
2524
- run: npm ci
2625
- run: npm run lint
2726

2827
- name: Build with Netlify badge
29-
if: github.ref != 'refs/heads/main' && matrix.node-version != '14.x'
3028
run: npm run build-serial
3129
env:
3230
VITE_SHOW_NETLIFY_BADGE: true
3331
NODE_OPTIONS: --max_old_space_size=4096
3432

3533
- name: Build
36-
if: github.ref == 'refs/heads/main' && matrix.node-version != '14.x'
3734
run: npm run build-serial
3835
env:
3936
NODE_OPTIONS: --max_old_space_size=4096
4037

4138
# Docusaurus doesn't support Node 14. These tasks can be removed once Node 14 is EOL (May 2023)
4239
- name: Build with Netlify badge (no docs)
43-
if: github.ref != 'refs/heads/main' && matrix.node-version == '14.x'
4440
run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false
4541
env:
4642
VITE_SHOW_NETLIFY_BADGE: true
4743
NODE_OPTIONS: --max_old_space_size=4096
4844
- name: Build (no docs)
49-
if: github.ref == 'refs/heads/main' && matrix.node-version == '14.x'
5045
run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false
5146
env:
5247
NODE_OPTIONS: --max_old_space_size=4096
5348

54-
- if: matrix.node-version == '18.x'
49+
- if: matrix.node-version == '22.x'
5550
uses: actions/upload-artifact@v4
5651
with:
5752
name: playground
5853
path: packages/playground/dist
59-
- if: matrix.node-version == '18.x'
54+
- if: matrix.node-version == '22.x'
6055
uses: actions/upload-artifact@v4
6156
with:
6257
name: docs
@@ -79,7 +74,7 @@ jobs:
7974
name: docs
8075
path: dist/docs
8176
- name: Deploy playground + docs to GitHub Pages
82-
uses: crazy-max/ghaction-github-pages@v4.1.0
77+
uses: crazy-max/ghaction-github-pages@v4.2.0
8378
with:
8479
keep_history: true
8580
target_branch: gh-pages

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- name: Use Node.js 18.x
12+
- name: Use Node.js 22.x
1313
uses: actions/setup-node@v4
1414
with:
15-
node-version: 18.x
15+
node-version: 22.x
1616
cache: 'npm'
1717
cache-dependency-path: 'package-lock.json'
1818
- run: npm i -g npm@9
@@ -26,6 +26,6 @@ jobs:
2626
env:
2727
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2828
- run: git update-index --assume-unchanged .npmrc
29-
- run: npx lerna publish from-package --yes
29+
- run: npx nx release publish
3030
- if: always()
3131
run: rm .npmrc

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ out/
141141
# typescript tsbuildinfo
142142
*.tsbuildinfo
143143
lodashReplacer.js
144+
lodashReplacer.cjs
144145
muiReplacer.js
146+
muiReplacer.cjs
145147
ajvReplacer.js
148+
ajvReplacer.cjs
146149

150+
# Need this due to shadcn default utils folder is lib
151+
!packages/shadcn/src/lib
152+
153+
.nx/cache
154+
.nx/workspace-data

.husky/pre-commit

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
31
# Hopefully this disables husky on github CI
42
[ -n "$CI" ] && exit 0
53
npm run pre-commit:husky

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.16.0
1+
22.13.1

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
22

0 commit comments

Comments
 (0)