File: tshy-updates.patch

package info (click to toggle)
node-chownr 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 496 kB
  • sloc: javascript: 541; makefile: 4
file content (62 lines) | stat: -rw-r--r-- 1,391 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
From: Yadd <yadd@debian.org>
Date: mars, 11 2026 19:54:33 +0100
Subject: [PATCH] tshy updates
Forwarded: not-needed

--- a/.tshy/commonjs.json
+++ b/.tshy/commonjs.json
@@ -3,10 +3,12 @@
   "include": [
     "../src/**/*.ts",
     "../src/**/*.cts",
-    "../src/**/*.tsx"
+    "../src/**/*.tsx",
+    "../src/**/*.json"
   ],
   "exclude": [
-    "../src/**/*.mts"
+    "../src/**/*.mts",
+    "../src/package.json"
   ],
   "compilerOptions": {
     "outDir": "../.tshy-build/commonjs"
--- a/.tshy/esm.json
+++ b/.tshy/esm.json
@@ -3,9 +3,12 @@
   "include": [
     "../src/**/*.ts",
     "../src/**/*.mts",
-    "../src/**/*.tsx"
+    "../src/**/*.tsx",
+    "../src/**/*.json"
+  ],
+  "exclude": [
+    "../src/package.json"
   ],
-  "exclude": [],
   "compilerOptions": {
     "outDir": "../.tshy-build/esm"
   }
--- a/package.json
+++ b/package.json
@@ -43,10 +43,12 @@
     "./package.json": "./package.json",
     ".": {
       "import": {
+        "source": "./src/index.ts",
         "types": "./dist/esm/index.d.ts",
         "default": "./dist/esm/index.js"
       },
       "require": {
+        "source": "./src/index.ts",
         "types": "./dist/commonjs/index.d.ts",
         "default": "./dist/commonjs/index.js"
       }
@@ -65,5 +67,6 @@
     "bracketSameLine": true,
     "arrowParens": "avoid",
     "endOfLine": "lf"
-  }
+  },
+  "module": "./dist/esm/index.js"
 }