-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bundle-source): Special case for development condition (#2375)
## Description From `bundle-source`, a bundle cannot currently take on a dependency on any of the packages entrained by `devDependencies` in the `package.json` of the entry package. This change (indirectly) enables a bundle to capture dev dependencies by providing the flag `--condition development` from the [`-C` flag introduced in #2373](#2373) ### Security Considerations None. ### Scaling Considerations None. ### Documentation Considerations - NEWS - README - USAGE ### Testing Considerations Existing tests adjusted to exercise the new condition instead of the explicit `dev` flag. ### Compatibility Considerations Backward-compatibility verified by running tests before and after switching from the explicit `dev` flag to a `development` condition in the compartment mapper. No integration test provided, but can be manually verified by bundling a package that relies on a devDependency and providing `-C development`. ### Upgrade Considerations None.
- Loading branch information
Showing
10 changed files
with
41 additions
and
33 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
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
Binary file not shown.
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