Skip to content

Commit

Permalink
chore: @fortawesome/fontawesome-free 6.x 版本svg 丢失, 先改回5.x 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
lurunze1226 committed Dec 1, 2023
1 parent b40e610 commit d798f32
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"qs": "6.9.7"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@fortawesome/fontawesome-free": "5.15.4",
"@babel/generator": "^7.22.9",
"@babel/parser": "^7.22.7",
"@babel/traverse": "^7.22.8",
Expand Down Expand Up @@ -143,4 +143,4 @@
"printBasicPrototype": false
}
}
}
}
1 change: 0 additions & 1 deletion packages/amis-core/src/renderers/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import {
FormBaseControl
} from './Item';
import {IFormItemStore} from '../store/formItem';
import {isObject} from 'amis-core';

export type OptionsControlComponent = React.ComponentType<FormControlProps>;

Expand Down
4 changes: 2 additions & 2 deletions packages/amis-editor-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"sortablejs": "^1.14.0"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@fortawesome/fontawesome-free": "5.15.4",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
Expand Down Expand Up @@ -121,4 +121,4 @@
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
}
}
}
4 changes: 2 additions & 2 deletions packages/amis-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"mobx-state-tree": "^3.17.3"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@fortawesome/fontawesome-free": "5.15.4",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
Expand Down Expand Up @@ -108,4 +108,4 @@
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
}
}
}
2 changes: 1 addition & 1 deletion packages/amis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"xlsx": "^0.18.5"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@fortawesome/fontawesome-free": "5.15.4",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
Expand Down

0 comments on commit d798f32

Please sign in to comment.