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

fix(demo): fix demo build #71

Merged
merged 1 commit into from
Aug 13, 2024
Merged
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: 2 additions & 0 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Override react-formule with latest npm release
run: yarn add react-formule
- name: Install
run: yarn
- name: Build
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
2 changes: 1 addition & 1 deletion formule-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-formule": "latest"
"react-formule": "file:.."
},
"devDependencies": {
"@types/react": "^18.2.15",
Expand Down
2 changes: 1 addition & 1 deletion formule-demo/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function App() {
padding: "0px 25px",
}}
>
<FormPreview liveValidate={true} />
<FormPreview liveValidate={true} hideAnchors={false} />
</Col>
</Row>
</FormuleContext>
Expand Down
1 change: 1 addition & 0 deletions formule-demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"useDefineForClassFields": true,
"lib": ["ES2023", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
Expand Down
842 changes: 430 additions & 412 deletions formule-demo/yarn.lock

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
"@codemirror/lint": "^6.5.0",
"@codemirror/merge": "^6.1.1",
"@reduxjs/toolkit": "^1.9.5",
"@rjsf/antd": "^5.19.0",
"@rjsf/core": "^5.19.0",
"@rjsf/utils": "^5.19.0",
"@rjsf/validator-ajv8": "^5.19.0",
"@rjsf/antd": "5.19.4",
"@rjsf/core": "5.19.4",
"@rjsf/utils": "5.19.4",
"@rjsf/validator-ajv8": "5.19.4",
"antd": "^5.7.3",
"axios": "^1.4.0",
"codemirror": "^6.0.1",
"codemirror-json-schema": "^0.7.1",
"codemirror-json-schema": "0.7.1",
"immutability-helper": "^3.1.1",
"katex": "^0.16.8",
"markdown-it": "^13.0.1",
Expand Down
1,096 changes: 557 additions & 539 deletions yarn.lock

Large diffs are not rendered by default.

Loading