File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
packages/build/src/npm-packages Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { spawnSync } from '../helpers' ;
2
- import { MONGOSH_RELEASE_PACKAGES , PROJECT_ROOT } from './constants' ;
2
+ import {
3
+ IGNORE_BUMP_PACKAGES ,
4
+ MONGOSH_RELEASE_PACKAGES ,
5
+ PROJECT_ROOT ,
6
+ } from './constants' ;
3
7
4
8
import { promises as fs } from 'fs' ;
5
9
import path from 'path' ;
@@ -55,7 +59,10 @@ export function bumpNpmPackages() {
55
59
encoding : 'utf8' ,
56
60
env : {
57
61
...process . env ,
58
- SKIP_BUMP_PACKAGES : MONGOSH_RELEASE_PACKAGES . join ( ',' ) ,
62
+ SKIP_BUMP_PACKAGES : [
63
+ ...IGNORE_BUMP_PACKAGES ,
64
+ ...MONGOSH_RELEASE_PACKAGES ,
65
+ ] . join ( ',' ) ,
59
66
} ,
60
67
} ) ;
61
68
}
Original file line number Diff line number Diff line change @@ -10,3 +10,9 @@ export const LERNA_BIN = path.resolve(
10
10
11
11
/** Packages which get bumped only as part of the mongosh release. */
12
12
export const MONGOSH_RELEASE_PACKAGES = [ 'mongosh' , '@mongosh/cli-repl' ] ;
13
+
14
+ /** Packages which always get ignored when doing a release or bump */
15
+ export const IGNORE_BUMP_PACKAGES = [
16
+ '@mongodb-js/eslint-config-mongosh' ,
17
+ '@mongodb-js/tsconfig-mongosh' ,
18
+ ] ;
You can’t perform that action at this time.
0 commit comments