From cc35e5ba07265b572188f130e15a6df4c779182d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Tue, 23 Jul 2024 17:35:17 +0200 Subject: [PATCH] fix(module-federation): pin versions mf packages versions --- package.json | 4 ++-- packages/angular/src/utils/versions.ts | 2 +- packages/react/src/utils/versions.ts | 2 +- pnpm-lock.yaml | 20 ++++++++++---------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 2da74ed931eb8..629e14dd301a9 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,8 @@ "@jest/reporters": "^29.4.1", "@jest/test-result": "^29.4.1", "@jest/types": "^29.4.1", - "@module-federation/enhanced": "^0.2.3", - "@module-federation/sdk": "^0.2.3", + "@module-federation/enhanced": "~0.2.3", + "@module-federation/sdk": "~0.2.4", "@monodon/rust": "2.0.0-beta.1", "@napi-rs/cli": "3.0.0-alpha.56", "@napi-rs/wasm-runtime": "0.2.4", diff --git a/packages/angular/src/utils/versions.ts b/packages/angular/src/utils/versions.ts index 4e2a7333ef2c8..d2ffa7950ae96 100644 --- a/packages/angular/src/utils/versions.ts +++ b/packages/angular/src/utils/versions.ts @@ -14,7 +14,7 @@ export const typesCorsVersion = '~2.8.5'; export const expressVersion = '~4.18.2'; export const typesExpressVersion = '4.17.14'; export const browserSyncVersion = '^3.0.0'; -export const moduleFederationNodeVersion = '^2.3.0'; +export const moduleFederationNodeVersion = '~2.4.0'; export const moduleFederationEnhancedVersion = '~0.2.3'; export const angularEslintVersion = '^18.0.1'; diff --git a/packages/react/src/utils/versions.ts b/packages/react/src/utils/versions.ts index 3729d936279eb..7cbca40bb4a83 100755 --- a/packages/react/src/utils/versions.ts +++ b/packages/react/src/utils/versions.ts @@ -54,7 +54,7 @@ export const typesExpressVersion = '4.17.17'; export const isbotVersion = '^3.6.5'; export const corsVersion = '~2.8.5'; export const typesCorsVersion = '~2.8.12'; -export const moduleFederationNodeVersion = '^2.3.0'; +export const moduleFederationNodeVersion = '~2.4.0'; export const moduleFederationEnhancedVersion = '~0.2.3'; // style preprocessors diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 54c1de3e1c854..d4decbcbffda2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -243,11 +243,11 @@ devDependencies: specifier: ^29.4.1 version: 29.6.3 '@module-federation/enhanced': - specifier: ^0.2.3 + specifier: ~0.2.3 version: 0.2.3(typescript@5.5.3)(webpack@5.88.0) '@module-federation/sdk': - specifier: ^0.2.3 - version: 0.2.3 + specifier: ~0.2.4 + version: 0.2.8 '@monodon/rust': specifier: 2.0.0-beta.1 version: 2.0.0-beta.1(@napi-rs/cli@3.0.0-alpha.56)(@swc-node/register@1.9.1)(@swc/core@1.5.7) @@ -9508,6 +9508,10 @@ packages: resolution: {integrity: sha512-W9zrPchLocyCBc/B8CW21akcfJXLl++9xBe1L1EtgxZGfj/xwHt0GcBWE/y+QGvYTL2a1iZjwscbftbUhxgxXg==} dev: true + /@module-federation/sdk@0.2.8: + resolution: {integrity: sha512-eGMnJxdRDgt6dtMv8gkAlzEbTPWVHb3AHUNUG0w56wcbIF0RHC6kmvpHpSQyq4DVGWv3U4g/ZiH5BvBlqEelDQ==} + dev: true + /@module-federation/third-party-dts-extractor@0.2.3: resolution: {integrity: sha512-/J1KIOYT071MBHE78JaZR+rngpOFOv/16MLIc5Qg4ckl1HdojLa4nZ+o2N6atRGDE2nX6hJFFTCeGXkBC7TQhg==} dependencies: @@ -12121,7 +12125,7 @@ packages: resolution: {integrity: sha512-ADZWAP7Qsv6p6gkmjt9nuYoYd3STXgrlmEPGdwEUuTrvkblkbsgmNmlL7QvBFacVURr9V7PYKLN34kNqQWoI5g==} dependencies: '@babel/core': 7.24.7 - '@module-federation/sdk': 0.2.3 + '@module-federation/sdk': 0.2.8 '@nrwl/webpack': 19.5.0-beta.5(@swc-node/register@1.9.1)(@swc/core@1.5.7)(@types/node@18.19.8)(esbuild@0.19.5)(html-webpack-plugin@5.5.0)(nx@19.5.0-beta.5)(typescript@5.5.3)(verdaccio@5.31.0)(webpack-cli@5.1.4) '@nx/devkit': 19.5.0-beta.5(nx@19.5.0-beta.5) '@nx/js': 19.5.0-beta.5(@swc-node/register@1.9.1)(@swc/core@1.5.7)(@types/node@18.19.8)(nx@19.5.0-beta.5)(typescript@5.5.3)(verdaccio@5.31.0) @@ -27410,7 +27414,7 @@ packages: enquirer: 2.3.6 log-update: 4.0.0 p-map: 4.0.0 - rfdc: 1.3.0 + rfdc: 1.4.1 rxjs: 7.8.1 through: 2.3.8 wrap-ansi: 7.0.0 @@ -27648,7 +27652,7 @@ packages: date-format: 4.0.14 debug: 4.3.4(supports-color@8.1.1) flatted: 3.2.9 - rfdc: 1.3.0 + rfdc: 1.4.1 streamroller: 3.1.5 transitivePeerDependencies: - supports-color @@ -33343,10 +33347,6 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - /rfdc@1.3.0: - resolution: {integrity: sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==} - dev: true - /rfdc@1.4.1: resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} dev: true