Skip to content

Commit 42a9df6

Browse files
authored
Merge pull request #83 from browserstack/support-npmrc
Allowing .npmrc files on browserstack cli
2 parents ac5c1f8 + c558aa4 commit 42a9df6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/helpers/archiver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const archiveSpecs = (runSettings, filePath, excludeFiles) => {
4242
let ignoreFiles = getFilesToIgnore(runSettings, excludeFiles);
4343

4444
Constants.allowedFileTypes.forEach(fileType => {
45-
archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ignoreFiles });
45+
archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ignoreFiles, dot:true });
4646
});
4747

4848
let packageJSON = {};

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'];
90+
const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc'];
9191

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

0 commit comments

Comments
 (0)