fix: jssdk导出页面时自定义组件模块缺失 (#8182)

* fix: jssdk自定义组件缺失依赖

* fix: 修复 ci 脚本报错 (#8169)

---------

Co-authored-by: hezhihang <hezhihang@baidu.com>
Co-authored-by: liaoxuezhi <2betop.cn@gmail.com>
This commit is contained in:
hzh11012 2023-09-20 16:38:42 +08:00 committed by GitHub
parent b3981f6846
commit 4b80a078ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 9 deletions

View File

@ -16,6 +16,7 @@
'fflate': __moduleId('fflate'),
'moment': __moduleId('moment'),
'mobx': __moduleId('mobx'),
'mobx-react': __moduleId('mobx-react'),
'mobx-state-tree': __moduleId('mobx-state-tree'),
'react-transition-group': __moduleId('react-transition-group'),
'papaparse': __moduleId('papaparse'),
@ -29,7 +30,12 @@
'prop-types': __moduleId('prop-types'),
'qs': __moduleId('qs'),
'path-to-regexp': __moduleId('path-to-regexp'),
'history': __moduleId('history')
'history': __moduleId('history'),
'tslib': __moduleId('tslib'),
'@fex/amis': __moduleId('amis'),
'@fex/amis-ui': __moduleId('amis-ui'),
'@fex/amis-core': __moduleId('amis-core'),
'@fex/amis-formula': __moduleId('amis-formula')
};
Object.keys(mapping).forEach(key => {

View File

@ -40,7 +40,8 @@
},
"dependencies": {
"postcss": "^8.4.14",
"qs": "6.9.7"
"qs": "6.9.7",
"path-to-regexp": "^6.2.0"
},
"devDependencies": {
"@babel/generator": "^7.22.9",

View File

@ -13,7 +13,7 @@
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-typescript": "^8.3.4",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/jest-dom": "^5.17.0",
"@types/file-saver": "^2.0.1",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^28.1.0",

View File

@ -79,7 +79,7 @@
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-typescript": "^8.3.4",
"@svgr/rollup": "^6.2.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/jest-dom": "^5.17.0",
"@types/babel__core": "^7.1.19",
"@types/jest": "^28.1.0",
"@types/react": "^18.0.24",

View File

@ -82,7 +82,7 @@
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-typescript": "^8.3.4",
"@svgr/rollup": "^6.2.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@types/async": "^2.0.45",
"@types/codemirror": "^5.60.3",
@ -104,7 +104,7 @@
"@types/react-dom": "^18.0.8",
"@types/react-onclickoutside": "^6.0.2",
"@types/react-router-dom": "^5.3.3",
"@types/react-test-renderer": "^17.0.1",
"@types/react-test-renderer": "^18.0.0",
"@types/react-transition-group": "4.4.3",
"@types/sortablejs": "^1.3.32",
"@types/tinymce": "^4.5.24",
@ -125,7 +125,6 @@
"marked": ">=4.0.12",
"mkdirp": "^1.0.4",
"moment-timezone": "^0.5.34",
"path-to-regexp": "^6.2.0",
"postcss": "^8.4.6",
"postcss-cli": "^9.1.0",
"postcss-custom-properties": "^12.1.5",

View File

@ -50,7 +50,7 @@
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-typescript": "^8.3.4",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/jest-dom": "^5.17.0",
"@types/jest": "^28.1.0",
"@types/prettier": "^2.7.3",
"amis-formula": "^2.7.2",