mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-02 12:47:41 +02:00
Tools: Remove .d.ts and .map files from ignored files (not needed anymore)
This commit is contained in:
parent
29e4a335fb
commit
91c3986f88
1554
.eslintignore
1554
.eslintignore
File diff suppressed because it is too large
Load Diff
1554
.gitignore
vendored
1554
.gitignore
vendored
File diff suppressed because it is too large
Load Diff
@ -51,19 +51,20 @@ module.exports = {
|
|||||||
return `${s.join('.')}.js`;
|
return `${s.join('.')}.js`;
|
||||||
});
|
});
|
||||||
|
|
||||||
const ignoredMapFiles = tsFiles.map(f => {
|
// const ignoredMapFiles = tsFiles.map(f => {
|
||||||
const s = f.split('.');
|
// const s = f.split('.');
|
||||||
s.pop();
|
// s.pop();
|
||||||
return `${s.join('.')}.js.map`;
|
// return `${s.join('.')}.js.map`;
|
||||||
});
|
// });
|
||||||
|
|
||||||
const ignoredDefFiles = tsFiles.map(f => {
|
// const ignoredDefFiles = tsFiles.map(f => {
|
||||||
const s = f.split('.');
|
// const s = f.split('.');
|
||||||
s.pop();
|
// s.pop();
|
||||||
return `${s.join('.')}.d.ts`;
|
// return `${s.join('.')}.d.ts`;
|
||||||
});
|
// });
|
||||||
|
|
||||||
const ignoredFiles = ignoredJsFiles.concat(ignoredMapFiles).concat(ignoredDefFiles);
|
// const ignoredFiles = ignoredJsFiles.concat(ignoredMapFiles).concat(ignoredDefFiles);
|
||||||
|
const ignoredFiles = ignoredJsFiles;
|
||||||
ignoredFiles.sort();
|
ignoredFiles.sort();
|
||||||
|
|
||||||
const regex = /(# AUTO-GENERATED - EXCLUDED TYPESCRIPT BUILD)[\s\S]*(# AUTO-GENERATED - EXCLUDED TYPESCRIPT BUILD)/;
|
const regex = /(# AUTO-GENERATED - EXCLUDED TYPESCRIPT BUILD)[\s\S]*(# AUTO-GENERATED - EXCLUDED TYPESCRIPT BUILD)/;
|
||||||
|
Loading…
Reference in New Issue
Block a user