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 11import { 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' ;
37
48import { promises as fs } from 'fs' ;
59import path from 'path' ;
@@ -55,7 +59,10 @@ export function bumpNpmPackages() {
5559 encoding : 'utf8' ,
5660 env : {
5761 ...process . env ,
58- SKIP_BUMP_PACKAGES : MONGOSH_RELEASE_PACKAGES . join ( ',' ) ,
62+ SKIP_BUMP_PACKAGES : [
63+ ...IGNORE_BUMP_PACKAGES ,
64+ ...MONGOSH_RELEASE_PACKAGES ,
65+ ] . join ( ',' ) ,
5966 } ,
6067 } ) ;
6168}
Original file line number Diff line number Diff line change @@ -10,3 +10,9 @@ export const LERNA_BIN = path.resolve(
1010
1111/** Packages which get bumped only as part of the mongosh release. */
1212export 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