diff --git a/bin/helpers/archiver.js b/bin/helpers/archiver.js index 4ffcccd1..e91e6d67 100644 --- a/bin/helpers/archiver.js +++ b/bin/helpers/archiver.js @@ -42,7 +42,7 @@ const archiveSpecs = (runSettings, filePath, excludeFiles) => { let ignoreFiles = getFilesToIgnore(runSettings, excludeFiles); Constants.allowedFileTypes.forEach(fileType => { - archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ignoreFiles }); + archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ignoreFiles, dot:true }); }); let packageJSON = {}; diff --git a/bin/helpers/constants.js b/bin/helpers/constants.js index 0f89948a..03de800d 100644 --- a/bin/helpers/constants.js +++ b/bin/helpers/constants.js @@ -87,7 +87,7 @@ const messageTypes = { NULL: null } -const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip']; +const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc']; const filesToIgnoreWhileUploading = ['node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip', 'cypress.json']