File: 0004-Add-types-node.patch

package info (click to toggle)
node-ast-types 0.16.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,348 kB
  • sloc: javascript: 7,563; sh: 20; makefile: 7
file content (35 lines) | stat: -rw-r--r-- 858 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
25
26
27
28
29
30
31
32
33
34
35
From: =?utf-8?q?Bastien_Roucari=C3=A8s?= <rouca@debian.org>
Date: Wed, 3 Dec 2025 21:56:36 +0100
Subject: Add types node

forwarded: not-needed
---
 tsconfig.json | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Index: node-ast-types/tsconfig.json
===================================================================
--- node-ast-types.orig/tsconfig.json	2025-12-06 10:46:00.514284254 +0100
+++ node-ast-types/tsconfig.json	2025-12-06 10:46:06.608354337 +0100
@@ -1,6 +1,6 @@
 {
   "compilerOptions": {
-    "rootDir": "./src",
+    "rootDir": ".",
     "outDir": "./lib",
     "target": "ESNext",
     "module": "commonjs",
@@ -15,10 +15,11 @@
     "importHelpers": true,
     "stripInternal": true,
     "lib": [
-      "es2015"
+      "es2020"
     ],
     "types": [
-      "mocha"
+      "mocha",
+      "node"
     ]
   },
   "include": [