diff --git a/examples/loader.ts b/examples/loader.ts index 20e4929aa..ce739972e 100644 --- a/examples/loader.ts +++ b/examples/loader.ts @@ -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 => { diff --git a/package.json b/package.json index 032c87dcb..19021a643 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/amis-core/package.json b/packages/amis-core/package.json index fcd6e9345..9997eaf1e 100644 --- a/packages/amis-core/package.json +++ b/packages/amis-core/package.json @@ -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", diff --git a/packages/amis-ui/package.json b/packages/amis-ui/package.json index 6f0f5ea9e..8db330b9b 100644 --- a/packages/amis-ui/package.json +++ b/packages/amis-ui/package.json @@ -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", diff --git a/packages/amis/package.json b/packages/amis/package.json index 323c81a7a..1730570ec 100644 --- a/packages/amis/package.json +++ b/packages/amis/package.json @@ -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", diff --git a/packages/office-viewer/package.json b/packages/office-viewer/package.json index be473f3d6..2255f77ad 100644 --- a/packages/office-viewer/package.json +++ b/packages/office-viewer/package.json @@ -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", @@ -100,4 +100,4 @@ "printBasicPrototype": false } } -} \ No newline at end of file +}