File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
packages/build/src/npm-packages Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,6 @@ export async function bumpMongoshReleasePackages(): Promise<void> {
2323 const packages = await getPackagesInTopologicalOrder ( PROJECT_ROOT ) ;
2424 const packageConfigurations = await getPackageConfigurations ( packages ) ;
2525
26- const mongoshReleasePackages = packages . filter ( ( packageInfo ) =>
27- MONGOSH_RELEASE_PACKAGES . includes ( packageInfo . name )
28- ) ;
29- const workspaceNames = mongoshReleasePackages . map (
30- ( packageInfo ) => packageInfo . name
31- ) ;
32-
3326 for ( const [ packageJsonPath , packageJson ] of packageConfigurations ) {
3427 packageJson . version = version ;
3528
@@ -44,7 +37,7 @@ export async function bumpMongoshReleasePackages(): Promise<void> {
4437 }
4538
4639 for ( const name of Object . keys ( packageJson [ grouping ] ) ) {
47- if ( ! workspaceNames . includes ( name ) ) {
40+ if ( ! MONGOSH_RELEASE_PACKAGES . includes ( name ) ) {
4841 continue ;
4942 }
5043 packageJson [ grouping ] [ name ] = version ;
You can’t perform that action at this time.
0 commit comments