Skip to content

Commit

Permalink
fix: 本地旧版 node_modules 可能导致 fontawesome-free 打包 sdk 时被使用 Closes #8837 (
Browse files Browse the repository at this point in the history
…#8838) (#9221)

Co-authored-by: 吴多益 <wuduoyi@baidu.com>
  • Loading branch information
lurunze1226 and 吴多益 authored Dec 22, 2023
1 parent 2847477 commit 6550641
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"path-to-regexp": "^6.2.0"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@babel/generator": "^7.22.9",
"@babel/parser": "^7.22.7",
"@babel/traverse": "^7.22.8",
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 @@ -59,7 +59,7 @@
"sortablejs": "^1.14.0"
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"@fortawesome/fontawesome-free": "^6.1.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
Expand Down Expand Up @@ -120,4 +120,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": "^5.15.3",
"@fortawesome/fontawesome-free": "^6.1.1",
"@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"
}
}
}

0 comments on commit 6550641

Please sign in to comment.