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> {
23
23
const packages = await getPackagesInTopologicalOrder ( PROJECT_ROOT ) ;
24
24
const packageConfigurations = await getPackageConfigurations ( packages ) ;
25
25
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
-
33
26
for ( const [ packageJsonPath , packageJson ] of packageConfigurations ) {
34
27
packageJson . version = version ;
35
28
@@ -44,7 +37,7 @@ export async function bumpMongoshReleasePackages(): Promise<void> {
44
37
}
45
38
46
39
for ( const name of Object . keys ( packageJson [ grouping ] ) ) {
47
- if ( ! workspaceNames . includes ( name ) ) {
40
+ if ( ! MONGOSH_RELEASE_PACKAGES . includes ( name ) ) {
48
41
continue ;
49
42
}
50
43
packageJson [ grouping ] [ name ] = version ;
You can’t perform that action at this time.
0 commit comments