File tree Expand file tree Collapse file tree
native-federation-esbuild
native-federation-runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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" : {
Original file line number Diff line number Diff line change 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" ,
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" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @softarc/native-federation" ,
3- "version" : " 3.5.4 " ,
3+ "version" : " 3.5.5 " ,
44 "type" : " commonjs" ,
55 "license" : " MIT" ,
66 "dependencies" : {
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 > = [ ] ;
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments