Skip to content

Commit 489140c

Browse files
authored
Merge pull request #1060 from angular-architects/issues/dep-updates
chore: Updated dependencies
2 parents 1444294 + 77f9c16 commit 489140c

11 files changed

Lines changed: 19204 additions & 22718 deletions

File tree

libs/native-federation-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@softarc/native-federation",
3-
"version": "3.5.1",
3+
"version": "3.5.2",
44
"type": "commonjs",
55
"license": "MIT",
66
"dependencies": {

libs/native-federation-esbuild/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@softarc/native-federation-esbuild",
3-
"version": "3.5.1",
3+
"version": "3.5.2",
44
"type": "commonjs",
55
"dependencies": {
66
"@rollup/plugin-commonjs": "^22.0.2",

libs/native-federation-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@softarc/native-federation-node",
3-
"version": "3.5.1",
3+
"version": "3.5.2",
44
"license": "MIT",
55
"dependencies": {
66
"@softarc/native-federation-runtime": "~3.5.1",

libs/native-federation-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@softarc/native-federation-runtime",
3-
"version": "3.5.1",
3+
"version": "3.5.2",
44
"license": "MIT",
55
"dependencies": {
66
"tslib": "^2.3.0"

libs/native-federation-runtime/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
}
3737
},
3838
"test": {
39-
"executor": "@nx/vite:test",
39+
"executor": "@nx/vitest:test",
4040
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
4141
"options": {
4242
"passWithNoTests": true,

libs/native-federation-runtime/src/lib/watch-federation-build.spec.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ describe('watch-federation-build', () => {
1919
onmessage: null,
2020
onerror: null,
2121
};
22-
vi.stubGlobal(
23-
'EventSource',
24-
vi.fn(() => eventSourceInstance),
25-
);
22+
23+
// Create a proper constructor function for EventSource
24+
const EventSourceMock = vi.fn(function (this: any) {
25+
return eventSourceInstance;
26+
});
27+
28+
vi.stubGlobal('EventSource', EventSourceMock);
2629
});
2730

2831
describe('watchFederationBuildCompletion', () => {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';
2-
setupZoneTestEnv();
1+
// Vitest setup file
2+
// Add any global test setup here if needed

libs/native-federation-runtime/vitest.config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { defineConfig } from 'vitest/config';
2+
import { playwright } from '@vitest/browser-playwright';
23

34
const testPatterns = ['src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'];
45
const integrationTestPatterns = ['src/**/*.integration.spec.ts'];
@@ -35,7 +36,7 @@ export default defineConfig({
3536
include: integrationTestPatterns,
3637
browser: {
3738
enabled: true,
38-
provider: 'playwright',
39+
provider: playwright(),
3940
headless: process.env.CI === 'true',
4041
instances: [
4142
{

libs/native-federation/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-architects/native-federation",
3-
"version": "21.1.0",
3+
"version": "21.1.1",
44
"main": "src/index.js",
55
"generators": "./collection.json",
66
"builders": "./builders.json",
@@ -20,8 +20,8 @@
2020
},
2121
"dependencies": {
2222
"@babel/core": "^7.19.0",
23-
"@softarc/native-federation": "^3.5.1",
24-
"@softarc/native-federation-runtime": "^3.5.1",
23+
"@softarc/native-federation": "~3.5.1",
24+
"@softarc/native-federation-runtime": "~3.5.1",
2525
"@chialab/esbuild-plugin-commonjs": "^0.19.0",
2626
"esbuild": "^0.25.1",
2727
"mrmime": "^1.0.1",

0 commit comments

Comments
 (0)