Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/next-app-router/next-app-router-4000/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "node10",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
2 changes: 1 addition & 1 deletion apps/next-app-router/next-app-router-4001/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "node10",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
2 changes: 1 addition & 1 deletion apps/router-demo/router-host-vue3-2100/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"skipLibCheck": true,
"isolatedModules": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"moduleResolution": "node10",
"useDefineForClassFields": true,
"baseUrl": ".",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion apps/router-demo/router-remote3-2003/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"skipLibCheck": true,
"isolatedModules": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"moduleResolution": "node10",
"useDefineForClassFields": true,
"baseUrl": ".",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"tslib": "2.8.1",
"tsup": "7.3.0",
"turbo": "^2.5.8",
"typescript": "5.9.3",
"typescript": "6.0.3",
"url-loader": "4.1.1",
"vite": "7.3.1",
"vite-tsconfig-paths": "4.2.3",
Expand Down
5 changes: 3 additions & 2 deletions packages/assemble-release-plan/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"moduleResolution": "node",
"moduleResolution": "node10",
"esModuleInterop": true,
"resolveJsonModule": true,
"strict": true,
"noEmit": true
"noEmit": true,
"ignoreDeprecations": "6.0"
}
}
2 changes: 1 addition & 1 deletion packages/bridge/bridge-react-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/semver": "7.5.8"
},
"devDependencies": {
"typescript": "^5.2.2",
"typescript": "^6.0.3",
"vite": "^5.4.21",
"vite-plugin-dts": "^4.3.0"
}
Expand Down
6 changes: 4 additions & 2 deletions packages/bridge/bridge-react-webpack-plugin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,18 @@
"outDir": "dist",
"skipLibCheck": true,
"strict": true,
"moduleResolution": "node",
"moduleResolution": "node10",
"lib": ["esnext", "dom"],
"types": ["node"],
"jsx": "preserve",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"ignoreDeprecations": "6.0"
},
"include": [
"src/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/bridge-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"react-dom": "18.3.1",
"react-router-dom": "6.30.3",
"react-router": "7.15.1",
"typescript": "^5.2.2",
"typescript": "^6.0.3",
"vite": "^5.4.21",
"vite-plugin-dts": "^4.3.0",
"@module-federation/runtime": "workspace:*",
Expand Down
5 changes: 3 additions & 2 deletions packages/bridge/bridge-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"outDir": "dist",
"skipLibCheck": true,
"strict": true,
"moduleResolution": "node",
"moduleResolution": "node10",
"lib": ["esnext", "dom"],
"jsx": "preserve",
"esModuleInterop": true,
Expand All @@ -29,7 +29,8 @@
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"ignoreDeprecations": "6.0"
},
"include": [
"src/**/*.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/bridge/bridge-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "module",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"types": "./dist/src/index.d.ts",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand All @@ -29,7 +29,7 @@
"@types/react": "^18.3.11",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"typescript": "^5.2.2",
"typescript": "^6.0.3",
"vite": "^5.4.21",
"vite-plugin-dts": "^4.3.0",
"vue-tsc": "^2.0.6"
Expand Down
4 changes: 3 additions & 1 deletion packages/bridge/bridge-shared/src/type.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import type { CSSProperties } from 'react';

export interface ProviderParams {
moduleName?: string;
basename?: string;
memoryRoute?: { entryPath: string };
hashRoute?: boolean;
style?: React.CSSProperties;
style?: CSSProperties;
className?: string;
}

Expand Down
5 changes: 3 additions & 2 deletions packages/bridge/bridge-shared/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"outDir": "dist",
"skipLibCheck": true,
"strict": true,
"moduleResolution": "node",
"moduleResolution": "node10",
"target": "esnext",
"module": "esnext",
"lib": ["esnext", "dom"],
Expand All @@ -28,7 +28,8 @@
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"ignoreDeprecations": "6.0"
},
"include": [
"src/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/vue3-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@types/react": "^18.3.11",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^4.0.0",
"typescript": "^5.2.2",
"typescript": "^6.0.3",
"vite": "^5.4.21",
"vite-plugin-dts": "^4.5.4",
"vue": "^3.5.30",
Expand Down
1 change: 1 addition & 0 deletions packages/bridge/vue3-bridge/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export function createRemoteAppComponent(info: {
hashRoute?: boolean;
}) {
return defineAsyncComponent({
// @ts-ignore
__APP_VERSION__,
...info.asyncComponentOptions,
//@ts-ignore
Expand Down
5 changes: 3 additions & 2 deletions packages/bridge/vue3-bridge/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"outDir": "dist",
"skipLibCheck": true,
"strict": true,
"moduleResolution": "node",
"moduleResolution": "node10",
"target": "esnext",
"module": "esnext",
"lib": ["esnext", "dom"],
Expand All @@ -28,7 +28,8 @@
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"ignoreDeprecations": "6.0"
},
"include": [
"src/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@types/react-dom": "^19.2.2",
"lint-staged": "~13.1.0",
"prettier": "~3.3.3",
"typescript": "5.9.3",
"typescript": "6.0.3",
"rimraf": "~6.0.1",
"vitest": "1.2.2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function normalizeEntry({
version: sharedEntry.version || versionKey,
from: sharedEntry.from,
useIn,
shareConfig: sharedEntry.shareConfig ?? {},
shareConfig: (sharedEntry.shareConfig ?? {}) as SharedConfig,
treeShakingMode: (
sharedEntry as Shared & { treeShaking?: { mode?: string } }
).treeShaking?.mode,
Expand Down
1 change: 0 additions & 1 deletion packages/chrome-devtools/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import App from './App';

(async () => {
if (process.env.NODE_ENV === 'development') {
// @ts-expect-error
await import('../mock');
}
const container = document.getElementById('root') as HTMLElement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ const ensureFederationGlobal = () => {
}

if (!targetWindow.__FEDERATION__?.__GLOBAL_PLUGIN__) {
targetWindow.__FEDERATION__ = targetWindow.__FEDERATION__ || federation;
targetWindow.__FEDERATION__.__GLOBAL_PLUGIN__ = [];
targetWindow.__FEDERATION__ = (targetWindow.__FEDERATION__ ||
federation) as typeof targetWindow.__FEDERATION__;
targetWindow.__FEDERATION__!.__GLOBAL_PLUGIN__ = [];
}

return targetWindow.__FEDERATION__;
Expand Down
4 changes: 3 additions & 1 deletion packages/chrome-devtools/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"@/*": ["./src/*"],
"@shared/*": ["./shared/*"]
},
"allowJs": false
"allowJs": false,
"moduleResolution": "node10",
"ignoreDeprecations": "6.0"
},
"exclude": ["**/node_modules"]
}
4 changes: 4 additions & 0 deletions packages/chrome-devtools/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"extends": "./tsconfig.base.json",
"compilerOptions": {
"types": ["chrome"],
"strict": false
},
"include": ["src", "stories"]
}
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"jiti": "2.4.2"
},
"devDependencies": {
"@types/node": "^20.19.5"
"@types/node": "^20.19.5",
"typescript": "6.0.3"
},
"engines": {
"node": ">=16.0.0"
Expand Down
5 changes: 3 additions & 2 deletions packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "commonjs",
"target": "ES2015",
"skipLibCheck": true,
"moduleResolution": "node",
"moduleResolution": "node10",
"allowJs": false,
"strict": true,
"types": ["jest", "node"],
Expand All @@ -19,7 +19,8 @@
"paths": {
"@/*": ["./*"],
"@src/*": ["./src/*"]
}
},
"ignoreDeprecations": "6.0"
},
"include": ["src", "../../global.d.ts", "__tests__/**/*", "__tests__"],
"exclude": ["node_modules/**/*", "../node_modules"]
Expand Down
7 changes: 4 additions & 3 deletions packages/dts-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,16 @@
"@types/node-schedule": "2.1.7",
"@types/ws": "8.5.12",
"@vue/tsconfig": "^0.7.0",
"directory-tree": "3.5.2",
"rimraf": "~6.0.1",
"typescript": "6.0.3",
"vitest": "1.6.0",
"vue": "^3.5.13",
"vue-tsc": "^2.2.10",
"directory-tree": "3.5.2",
"vitest": "1.6.0",
"webpack": "^5.104.1"
},
"peerDependencies": {
"typescript": "^4.9.0 || ^5.0.0",
"typescript": "^4.9.0 || ^5.0.0 || ^6.0.0",
"vue-tsc": ">=1.0.24"
},
"peerDependenciesMeta": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('hostPlugin', () => {
target: 'es2017',
module: 'esnext',
lib: ['esnext'],
moduleResolution: 'node',
moduleResolution: 'node10',
esModuleInterop: true,
strict: true,
strictNullChecks: true,
Expand All @@ -107,6 +107,7 @@ describe('hostPlugin', () => {
remoteOptions.context,
'node_modules/.cache/mf-types/.tsbuildinfo',
),
ignoreDeprecations: '6.0',
},
files: ['./src/components/button', './src/components/anotherButton'],
include: [],
Expand Down Expand Up @@ -162,7 +163,7 @@ describe('hostPlugin', () => {
strictNullChecks: true,
target: 'es2017',
lib: ['esnext'],
moduleResolution: 'node',
moduleResolution: 'node10',
esModuleInterop: true,
emitDeclarationOnly: true,
noEmit: false,
Expand All @@ -181,6 +182,7 @@ describe('hostPlugin', () => {
remoteOptions.context,
'node_modules/.cache/mf-types/.tsbuildinfo',
),
ignoreDeprecations: '6.0',
},
exclude: [],
include: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"target": "es2017",
"module": "esnext",
"lib": ["esnext"],
"moduleResolution": "node",
"moduleResolution": "node10",
"esModuleInterop": true,
"strict": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"declarationDir": "dts-dist"
"declarationDir": "dts-dist",
"ignoreDeprecations": "6.0"
}
}
Loading