Skip to content

Commit dd96324

Browse files
Include .npmrc bug fixes
1 parent e7d1669 commit dd96324

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bin/helpers/archiver.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ const archiveSpecs = (runSettings, filePath, excludeFiles) => {
4545
archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ignoreFiles });
4646
});
4747

48+
archive.file(".npmrc");
49+
4850
let packageJSON = {};
4951

5052
if (typeof runSettings.package_config_options === 'object') {

bin/helpers/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const messageTypes = {
8787
NULL: null
8888
}
8989

90-
const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc'];
90+
const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip'];
9191

9292
const filesToIgnoreWhileUploading = ['node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip', 'cypress.json']
9393

0 commit comments

Comments
 (0)