Skip to content

Commit bdce0c1

Browse files
Merge pull request #140 from Archish27/fix_ignore_files
🔥 added files to ignore while uploading
2 parents 0b7dab9 + 54dbe11 commit bdce0c1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

bin/helpers/constants.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,19 @@ const messageTypes = {
131131

132132
const allowedFileTypes = ['js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip', 'npmrc', 'xml', 'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'jsx', 'coffee', 'cjsx', 'csv', 'tsv', 'yml', 'yaml'];
133133

134-
const filesToIgnoreWhileUploading = ['**/node_modules/**', 'node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip', 'cypress.json']
134+
const filesToIgnoreWhileUploading = [
135+
'**/node_modules/**',
136+
'node_modules/**',
137+
'package-lock.json',
138+
'package.json',
139+
'browserstack-package.json',
140+
'tests.zip',
141+
'cypress.json',
142+
'.idea/**',
143+
'.vscode/**',
144+
'.npm/**',
145+
'.yarn/**',
146+
];
135147

136148
const specFileTypes = ['js', 'ts', 'feature', 'jsx', 'coffee', 'cjsx'];
137149

0 commit comments

Comments
 (0)