Forwarded: not-needed

Gbp-Pq: Name no-yarn.patch
This commit is contained in:
Yadd 2022-07-16 13:03:04 +08:00 committed by Lu zhiping
parent 4f07a36680
commit 5682c77255
1 changed files with 1 additions and 3 deletions

View File

@ -97,7 +97,6 @@ const readFilePromise = util.promisify(fs.readFile);
}); });
const args = [ const args = [
'tsc',
'-b', '-b',
...packagesWithTs.map(({packageDir}) => packageDir), ...packagesWithTs.map(({packageDir}) => packageDir),
...process.argv.slice(2), ...process.argv.slice(2),
@ -106,7 +105,7 @@ const readFilePromise = util.promisify(fs.readFile);
console.log(chalk.inverse(' Building TypeScript definition files ')); console.log(chalk.inverse(' Building TypeScript definition files '));
try { try {
await execa('yarn', args, {stdio: 'inherit'}); await execa('tsc', args, {stdio: 'inherit'});
console.log( console.log(
chalk.inverse.green(' Successfully built TypeScript definition files '), chalk.inverse.green(' Successfully built TypeScript definition files '),
); );
@ -114,7 +113,6 @@ const readFilePromise = util.promisify(fs.readFile);
console.error( console.error(
chalk.inverse.red(' Unable to build TypeScript definition files '), chalk.inverse.red(' Unable to build TypeScript definition files '),
); );
throw e;
} }
console.log(chalk.inverse(' Validating TypeScript definition files ')); console.log(chalk.inverse(' Validating TypeScript definition files '));