bun: Properly represent workspace submodules as projects - #12367
bun: Properly represent workspace submodules as projects#12367fviernau wants to merge 5 commits into
Conversation
| .filterInstalled() | ||
|
|
||
| val scopes = Scope.entries.filterNotTo(mutableSetOf()) { scope -> scope.isExcluded(excludes, includes) } | ||
| requestAllPackageDetails(rootModuleInfo, scopes) |
There was a problem hiding this comment.
Nit: Should we keep the comment? Or align to the way it's now done for NPM, with // Warm-up the cache. in the same line?
There was a problem hiding this comment.
This is an alignment with a preceeding revision of NPM.
I'll have a next PR which then aligns with latest revision, which implements you 2nd proposal.
Are you ok to do it like this?
8ea6f25 to
978088d
Compare
Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
The version comes with a new lockfile format. So, re-create all lockfiles. In upcoming changes an additional use of the `NpmCommand` will be introduced, which fails with the lockfiles of the currently used Bun version, but succeeds with Bun 1.4.0. So, update also the version requirement. Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
Simplify comparing the results. Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
The analysis should return multiple projects, but it returns only one. Change the test to allow for returning multiple projects, to prepare for an upcoming change. Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
Previously, the IDs of workspace submodules only appeared as references in scopes, but not as a `Project` (or `Package`). See also 29a0393. Signed-off-by: Frank Viernau <frank.viernau@gmail.com>
978088d to
6f6cb53
Compare
Pull request was converted to draft
|
I ran into the issue that |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12367 +/- ##
============================================
+ Coverage 59.12% 59.17% +0.04%
- Complexity 1880 1885 +5
============================================
Files 365 365
Lines 13798 13811 +13
Branches 1440 1442 +2
============================================
+ Hits 8158 8172 +14
- Misses 5111 5113 +2
+ Partials 529 526 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
See individual commits.
Part of #12366.