-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(nf-core): provide flag for transient deps
- Loading branch information
1 parent
d5183c6
commit d13fe55
Showing
19 changed files
with
177 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"name": "@softarc/native-federation", | ||
"version": "2.0.13", | ||
"version": "2.0.15", | ||
"type": "commonjs", | ||
"license": "MIT", | ||
"dependencies": { | ||
"json5": "^2.2.0", | ||
"npmlog": "^6.0.2", | ||
"@softarc/native-federation-runtime": "2.0.13" | ||
"@softarc/native-federation-runtime": "2.0.15" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
libs/native-federation-core/src/lib/core/default-server-deps-list.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
export const DEFAULT_SERVER_DEPS_LIST: string[] = [ | ||
'@angular/platform-server', | ||
'@angular/platform-server/init', | ||
'@angular/ssr', | ||
]; | ||
|
||
export const DEFAULT_SERVER_DEPS_SET = new Set(DEFAULT_SERVER_DEPS_LIST); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { NormalizedFederationConfig } from '../config/federation-config'; | ||
// import { isInSkipList, PREPARED_DEFAULT_SKIP_LIST } from './default-skip-list'; | ||
|
||
export function getExternals(config: NormalizedFederationConfig) { | ||
const shared = Object.keys(config.shared); | ||
const sharedMappings = config.sharedMappings.map((m) => m.key); | ||
|
||
const externals = [...shared, ...sharedMappings]; | ||
// TODO: Also handle deps that match RegExps and functions | ||
const depsToSkip = config.skip.strings; | ||
const externals = [...shared, ...sharedMappings, ...depsToSkip]; | ||
|
||
return externals; | ||
// return externals.filter((p) => !isInSkipList(p, PREPARED_DEFAULT_SKIP_LIST)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"name": "@softarc/native-federation-node", | ||
"version": "2.0.13" | ||
"version": "2.0.15" | ||
} |
Oops, something went wrong.