File: no-yarn.patch

package info (click to toggle)
node-jest 29.3.1~ds1%2B~cs70.48.25-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 30,488 kB
  • sloc: javascript: 21,625; makefile: 47; sh: 17
file content (24 lines) | stat: -rw-r--r-- 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: no yarn
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-10-18

--- a/scripts/buildTs.mjs
+++ b/scripts/buildTs.mjs
@@ -85,7 +85,6 @@
 });
 
 const args = [
-  'tsc',
   '-b',
   ...packagesWithTs.map(({packageDir}) => packageDir),
   ...process.argv.slice(2),
@@ -94,7 +93,7 @@
 console.log(chalk.inverse(' Building TypeScript definition files '));
 
 try {
-  await execa('yarn', args, {stdio: 'inherit'});
+  await execa('tsc', args, {stdio: 'inherit'});
   console.log(
     chalk.inverse.green(' Successfully built TypeScript definition files '),
   );