Skip to content

Commit 4e67d00

Browse files
committed
chore: Prepared release 21.2.2
1 parent e9cce39 commit 4e67d00

10 files changed

Lines changed: 20 additions & 10 deletions

File tree

libs/mf-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@angular-architects/module-federation-runtime",
33
"license": "MIT",
4-
"version": "21.2.1",
4+
"version": "21.2.2",
55
"peerDependencies": {
66
"@angular/common": "^21.2.0",
77
"@angular/core": "^21.2.0",

libs/mf-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-architects/module-federation-tools",
3-
"version": "21.2.1",
3+
"version": "21.2.2",
44
"license": "MIT",
55
"peerDependencies": {},
66
"dependencies": {

libs/mf/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-architects/module-federation",
3-
"version": "21.2.1",
3+
"version": "21.2.2",
44
"license": "MIT",
55
"repository": {
66
"type": "GitHub",
@@ -17,7 +17,7 @@
1717
"schematics": "./collection.json",
1818
"builders": "./builders.json",
1919
"dependencies": {
20-
"@angular-architects/module-federation-runtime": "~21.2.1",
20+
"@angular-architects/module-federation-runtime": "~21.2.2",
2121
"word-wrap": "^1.2.5",
2222
"callsite": "^1.0.0",
2323
"node-fetch": "^3.3.2",

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.4",
3+
"version": "3.5.5",
44
"type": "commonjs",
55
"license": "MIT",
66
"dependencies": {

libs/native-federation-core/src/lib/config/with-native-federation.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,17 @@ function normalizeSharedMappings(
119119

120120
const result = paths.filter((p) => !isInSkipList(p.key, skipList));
121121

122+
const importsWithDot = paths.filter((p) => p.key.includes('.'));
123+
if (importsWithDot.length > 0) {
124+
importsWithDot.forEach((e) => {
125+
logger.warn(`Shared mapping import '${e}' contains a dot.`);
126+
});
127+
logger.warn('details: https://github.com/vitejs/vite/issues/21036');
128+
throw new Error(
129+
'Native-federation does not support dots (.) in imports paths. ',
130+
);
131+
}
132+
122133
return result;
123134
}
124135

libs/native-federation-core/src/lib/core/bundle-exposed-and-mappings.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ export async function bundleExposedAndMappings(
7575
throw error;
7676
}
7777

78-
console.log(result);
7978
const resultMap = createBuildResultMap(result, hash);
8079

8180
const sharedResult: Array<SharedInfo> = [];

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.4",
3+
"version": "3.5.5",
44
"type": "commonjs",
55
"dependencies": {
66
"@rollup/plugin-commonjs": "^28.0.3",

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.4",
3+
"version": "3.5.5",
44
"license": "MIT",
55
"dependencies": {
66
"@softarc/native-federation-runtime": "~3.5.4",

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.4",
3+
"version": "3.5.5",
44
"license": "MIT",
55
"dependencies": {
66
"tslib": "^2.3.0"

libs/native-federation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-architects/native-federation",
3-
"version": "21.2.1",
3+
"version": "21.2.2",
44
"main": "src/index.js",
55
"generators": "./collection.json",
66
"builders": "./builders.json",

0 commit comments

Comments
 (0)