Skip to content

Conversation

asollberger
Copy link

  • the skip list was ignored for secondary entry points, and thus libraries were brought back in (libs/native-federation-core/src/lib/config/share-utils.ts)
  • fixed a few typos

- the skip list was ignored for secondary entry points, and thus libraries were brought back in (libs/native-federation-core/src/lib/config/share-utils.ts)
- fixed a few typos
Copy link

@Aukevanoost Aukevanoost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate the cleanup but what are you trying to solve? I do agree that it is a bit cleaner but I do have some questions.

Could you take a look at that?

# Angular
.angular

.nx

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason why you removed this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created the PR when npm had flagged a css framework package as a security issue and could not get the build to run. I will probably retry fresh and see. No other reason to remove the .nx, will remove the change again, been a bit too busy lately to take care of my two PR's.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! thanks, that would be nice.

shareObject: SharedConfig,
acc: Record<string, SharedConfig>
acc: Record<string, SharedConfig>,
preparedSkipList: PreparedSkipList

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like you're only adding the preparedSkipList but not using it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about line 139?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In line 139, you are giving the parameter to the same function, so yes it's included in the recursive loop, but not used in the function at all. Maybe it would make more sense to use the parameter in line 132? Or remove the parameter entirely since it's a bit useless now.

"version": "3.3.1",
"license": "MIT"
"license": "MIT",
"dependencies": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any particular reason for adding these dependencies?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it would be helpful to declare them since they are used in it ...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair play

"@angular/core": "^20.1.0",
"@angular/platform-browser-dynamic": "^20.1.0"
"@angular/platform-browser-dynamic": "^20.1.0",
"@angular-devkit/build-angular": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the only way to upgrade jest to that version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to revert this file as much as possible given the scope of the PR? Thanks

shareObject: SharedConfig,
acc: Record<string, SharedConfig>
acc: Record<string, SharedConfig>,
preparedSkipList: PreparedSkipList

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In line 139, you are giving the parameter to the same function, so yes it's included in the recursive loop, but not used in the function at all. Maybe it would make more sense to use the parameter in line 132? Or remove the parameter entirely since it's a bit useless now.

key,
shareObject
shareObject,
preparedSkipList

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am starting to see what you're trying to achieve, great stuff!

I am wondering, would it make sense to remove PREPARED_DEFAULT_SKIP_LIST completely after this?

"@angular/core": "^20.1.0",
"@angular/platform-browser-dynamic": "^20.1.0"
"@angular/platform-browser-dynamic": "^20.1.0",
"@angular-devkit/build-angular": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to revert this file as much as possible given the scope of the PR? Thanks

"version": "3.3.1",
"license": "MIT"
"license": "MIT",
"dependencies": {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair play

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants