exclude unofficial stuff
This commit is contained in:
parent
893d270547
commit
1be69836aa
3
index.js
3
index.js
|
@ -260,6 +260,7 @@ async function recursiveReaddir(rpath, p) {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
for (const f of files) {
|
for (const f of files) {
|
||||||
//if (f !== 'Isaac.d.ts') continue;
|
//if (f !== 'Isaac.d.ts') continue;
|
||||||
|
if (f.includes('unofficial/')) continue;
|
||||||
i++;
|
i++;
|
||||||
const filePath = path.resolve(declarationsPath, f);
|
const filePath = path.resolve(declarationsPath, f);
|
||||||
|
|
||||||
|
@ -331,4 +332,4 @@ async function recursiveReaddir(rpath, p) {
|
||||||
console.log(`\nfinished transpiling ${chalk.magentaBright(filesAmt)} ${chalk.gray(`+ ${files.length - filesAmt}`)} files in ${chalk.magentaBright(timeTotal + 'ms')} avg ${chalk.magentaBright((Math.floor(timeTotal / filesAmt * 100) / 100) + 'ms')} ${chalk.gray(`(${Math.floor(timeParsing/timeTotal * 1000 + 0.5) / 10}% spent parsing)`)}`);
|
console.log(`\nfinished transpiling ${chalk.magentaBright(filesAmt)} ${chalk.gray(`+ ${files.length - filesAmt}`)} files in ${chalk.magentaBright(timeTotal + 'ms')} avg ${chalk.magentaBright((Math.floor(timeTotal / filesAmt * 100) / 100) + 'ms')} ${chalk.gray(`(${Math.floor(timeParsing/timeTotal * 1000 + 0.5) / 10}% spent parsing)`)}`);
|
||||||
console.log(`total class cache size: ${chalk.magentaBright(Object.keys(classes).length + ' classes')}`)
|
console.log(`total class cache size: ${chalk.magentaBright(Object.keys(classes).length + ' classes')}`)
|
||||||
console.log(`check ${chalk.cyanBright(outPath)}`);
|
console.log(`check ${chalk.cyanBright(outPath)}`);
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue