Skip to content

Commit e96f0fd

Browse files
authored
fix(build): ignore .npmrc MONGOSH-521 (#602)
1 parent efd9140 commit e96f0fd

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.idea/
44
.vscode/
55
*.iml
6+
.npmrc
67
.nvmrc
78
.nyc_output
89
*.swp

packages/build/src/npm-packages.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ describe('npm-packages', () => {
172172
let spawnSync: SinonStub;
173173

174174
beforeEach(() => {
175-
expectedFiles = ['.npmrc', 'lerna.json'];
175+
expectedFiles = ['lerna.json'];
176176
packages = listNpmPackages();
177177
packages.forEach(({ name }) => {
178178
expectedFiles.push(`packages/${name}/package.json`);

packages/build/src/npm-packages.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export function markBumpedFilesAsAssumeUnchanged(
108108
spawnSyncFn: typeof spawnSync = spawnSync
109109
): void {
110110
const filesToAssume = [
111-
'.npmrc',
112111
'lerna.json'
113112
];
114113
packages.forEach(({ name }) => {

0 commit comments

Comments
 (0)