File: fix-files-to-install.patch

package info (click to toggle)
node-sinclair-typebox 0.34.41-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,948 kB
  • sloc: makefile: 4
file content (33 lines) | stat: -rw-r--r-- 662 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
Description: fix files to install
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2022-04-27

--- a/package.json
+++ b/package.json
@@ -14,6 +14,17 @@
     "type": "git",
     "url": "https://github.com/sinclairzx81/typebox"
   },
+  "files": [
+    "index.js",
+    "index.d.ts",
+    "compiler",
+    "errors",
+    "parser",
+    "syntax",
+    "system",
+    "type",
+    "value"
+  ],
   "scripts": {
     "test:typescript": "hammer task test_typescript",
     "test:static": "hammer task test_static",
@@ -39,5 +50,6 @@
     "mocha": "^11.1.0",
     "prettier": "^2.7.1",
     "typescript": "^5.9.2"
-  }
+  },
+  "main": "./index.js"
 }