Skip to content

Commit

Permalink
chore: upgrade dependencies (#209)
Browse files Browse the repository at this point in the history
* fix: check object value

* chore: up

* chore: upgrade mobx

* chore: up
  • Loading branch information
wwsun authored Sep 10, 2024
1 parent eae4500 commit c48a499
Show file tree
Hide file tree
Showing 7 changed files with 5,779 additions and 5,354 deletions.
2 changes: 1 addition & 1 deletion apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@music163/tango-setting-form": "*",
"@music163/tango-ui": "*",
"mobx": "6.12.3",
"mobx": "6.13.2",
"mobx-react-lite": "4.0.7"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"prepare": "husky install"
},
"devDependencies": {
"@babel/preset-env": "^7.23.6",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@types/jest": "^29.5.7",
Expand Down Expand Up @@ -58,7 +58,7 @@
"react": "^17.0.0",
"react-dom": "^17.0.0",
"styled-components": "^5.3.6",
"typedoc": "^0.25.4",
"typedoc": "^0.26.7",
"typescript": "^5.3.3"
},
"engines": {
Expand Down
12 changes: 6 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
"prepublishOnly": "yarn build"
},
"dependencies": {
"@babel/generator": "^7.23.5",
"@babel/parser": "^7.23.5",
"@babel/traverse": "^7.23.5",
"@babel/types": "^7.23.5",
"@babel/generator": "^7.25.6",
"@babel/parser": "^7.25.6",
"@babel/traverse": "^7.25.6",
"@babel/types": "^7.25.6",
"@music163/tango-helpers": "^1.2.4",
"@types/babel__generator": "^7.6.7",
"@types/babel__traverse": "^7.20.4",
"mobx": "6.12.3",
"@types/babel__traverse": "^7.20.6",
"mobx": "6.13.2",
"path-browserify": "^1.0.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/setting-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@music163/tango-ui": "^1.4.5",
"antd": "^4.24.2",
"coral-system": "^1.0.5",
"mobx": "6.12.3",
"mobx": "6.13.2",
"mobx-react-lite": "4.0.7"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/setting-form/src/form-object.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const SettingFormObject = observer(
note={name}
tip={tip}
docs={docs}
checked={!!subModel.values ?? !!defaultValue}
checked={!!subModel.values || !!defaultValue}
onCheck={(checked) => {
const nextValue = checked ? {} : undefined;
parent.setValue(name, nextValue);
Expand Down
1 change: 0 additions & 1 deletion tsconfig.prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"skipLibCheck": true,
"strict": true,
"noFallthroughCasesInSwitch": true,
"suppressImplicitAnyIndexErrors": true,
"ignoreDeprecations": "5.0",
"allowSyntheticDefaultImports": true,
"strictNullChecks": false,
Expand Down
11,106 changes: 5,766 additions & 5,340 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit c48a499

Please sign in to comment.