File: fix_compilation.patch

package info (click to toggle)
node-free-style 4.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: javascript: 33; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: fix compilation on Debian systems
Author: Julien Puydt
Forwarded: Debian-specific

--- node-free-style.orig/tsconfig.json
+++ node-free-style/tsconfig.json
@@ -10,7 +10,11 @@
     "sourceMap": true,
     "inlineSources": true,
     "esModuleInterop": true,
-    "types": ["node", "jest"]
+    "types": ["node", "jest"],
+    "paths": {
+	    "jest-diff": ["/usr/share/nodejs/jest-diff"],
+	    "pretty-format": ["/usr/share/nodejs/pretty-format"]
+    }
   },
   "include": ["src/**/*"]
 }