fix: Added support for npm link - #93
Merged
Merged
Conversation
22 tasks
Aukevanoost
force-pushed
the
issues/55
branch
3 times, most recently
from
July 17, 2026 14:07
64b5c5c to
0e01cd2
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked to #55
This pull request improves the handling of npm-linked shared packages in both the main and remote builders, ensuring that edits to linked shared libraries trigger proper federation-only rebuilds during development. It also updates several dependencies to their latest patch versions for improved compatibility and bug fixes.
Linked shared package handling:
linkedSharedDirsutility to bothsrc/builders/build/builder.tsandsrc/builders/remote/builder.ts, allowing the federation file watcher to monitor real source directories of npm-linked shared packages. This ensures that changes in linked libraries trigger federation rebuilds, even when Angular does not emit new outputs. [1] [2] [3] [4] [5] [6] [7] [8] [9]runBuilderto handle two rebuild triggers: Angular output and linked shared-package edits. Federation rebuilds are now properly serialized and triggered as needed, without missing changes from linked packages. [1] [2]Dependency updates:
@softarc/native-federationto^4.3.2and@softarc/native-federation-orchestratorto^4.5.2inpackage.jsonandpnpm-lock.yamlfor latest fixes and improvements. [1] [2] [3] [4]pnpm-lock.yaml, including@emnapi/core,@emnapi/runtime,picomatch, andbalanced-matchfor better stability and bug fixes. [1] [2] [3]Other lockfile maintenance:
optional: trueflags from some dependencies inpnpm-lock.yamlto keep the lockfile clean. [1] [2] [3]These changes improve the developer experience when working with npm-linked shared packages and keep dependencies up to date.