提交 59782b3c 编写于 作者: P Peter Pan

fix: dependency version mismatching

上级 6bc40f6e
......@@ -31,28 +31,9 @@
"test": "echo \"Error: no test specified\" && exit 0"
},
"dependencies": {
"@babel/core": "7.9.6",
"@types/d3": "5.7.2",
"@types/dagre-d3": "0.4.39",
"@types/echarts": "4.6.0",
"@types/file-saver": "2.0.1",
"@types/lodash": "4.14.150",
"@types/mime-types": "2.1.0",
"@types/node": "13.13.5",
"@types/nprogress": "0.2.0",
"@types/react": "16.9.34",
"@types/react-dom": "16.9.7",
"@types/styled-components": "5.1.0",
"@visualdl/i18n": "2.0.0-beta.38",
"@visualdl/mock": "2.0.0-beta.38",
"@visualdl/wasm": "2.0.0-beta.38",
"babel-plugin-emotion": "10.0.33",
"babel-plugin-styled-components": "1.10.7",
"babel-plugin-typescript-to-proptypes": "1.3.2",
"bignumber.js": "9.0.0",
"core-js": "3.6.5",
"cross-env": "7.0.2",
"css-loader": "3.5.3",
"dagre-d3": "0.6.4",
"echarts": "4.7.0",
"echarts-gl": "1.1.1",
......@@ -65,7 +46,6 @@
"nanoid": "3.1.5",
"next": "9.3.6",
"nprogress": "0.2.0",
"ora": "4.0.4",
"polished": "3.6.2",
"prop-types": "15.7.2",
"query-string": "6.12.1",
......@@ -78,7 +58,29 @@
"react-tooltip": "4.2.6",
"save-svg-as-png": "1.4.17",
"styled-components": "5.1.0",
"swr": "0.2.0",
"swr": "0.2.0"
},
"devDependencies": {
"@babel/core": "7.9.6",
"@types/d3": "5.7.2",
"@types/dagre-d3": "0.4.39",
"@types/echarts": "4.6.0",
"@types/file-saver": "2.0.1",
"@types/lodash": "4.14.150",
"@types/mime-types": "2.1.0",
"@types/node": "13.13.5",
"@types/nprogress": "0.2.0",
"@types/react": "16.9.34",
"@types/react-dom": "16.9.7",
"@types/styled-components": "5.1.0",
"@visualdl/mock": "2.0.0-beta.38",
"babel-plugin-emotion": "10.0.33",
"babel-plugin-styled-components": "1.10.7",
"babel-plugin-typescript-to-proptypes": "1.3.2",
"core-js": "3.6.5",
"cross-env": "7.0.2",
"css-loader": "3.5.3",
"ora": "4.0.4",
"typescript": "3.8.3",
"worker-plugin": "4.0.3"
},
......
// eslint-disable-next-line @typescript-eslint/camelcase
declare let __webpack_public_path__: string;
// eslint-disable-next-line prefer-const, @typescript-eslint/camelcase
__webpack_public_path__ = '/test/';
export {};
此差异已折叠。
......@@ -15,7 +15,7 @@ build_frontend() {
mkdir -p "$BUILD_DIR/package/dist"
cd "$FRONTEND_DIR"
SCOPE="serverless" ./scripts/install.sh
./scripts/install.sh
SCOPE="serverless" PUBLIC_PATH="/{{PUBLIC_PATH}}" API_URL="/{{PUBLIC_PATH}}/api" ./scripts/build.sh
# extract
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册