refactor(theme-search-algolia): migrate package to TS (#5935)

This commit is contained in:
Armano 2021-11-16 20:35:09 +01:00 committed by GitHub
parent 284cdabb0a
commit 425144afc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 301 additions and 91 deletions

View file

@ -15,6 +15,6 @@ const srcDir = path.resolve(__dirname, 'src');
const libDir = path.resolve(__dirname, 'lib');
fs.copySync(srcDir, libDir, {
filter(filepath) {
return !/__tests__/.test(filepath) && !/\.ts$/.test(filepath);
return !/__tests__/.test(filepath) && !/\.tsx?$/.test(filepath);
},
});