@mephisto5558/better-types 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mephisto5558/better-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A collection of useful TypeScript types and augmentations to improve developer experience.",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"typescript",
|
|
7
|
+
"typing"
|
|
8
8
|
],
|
|
9
9
|
"homepage": "https://github.com/Mephisto5558/Better-Types#readme",
|
|
10
10
|
"bugs": {
|
|
@@ -19,17 +19,20 @@
|
|
|
19
19
|
"type": "module",
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
|
-
"types": "./index.d.ts"
|
|
22
|
+
"types": "./src/index.d.ts"
|
|
23
23
|
},
|
|
24
|
-
"./eslint":
|
|
24
|
+
"./eslint": {
|
|
25
|
+
"types": "./src/eslint.d.ts",
|
|
26
|
+
"import": "./src/eslint.js",
|
|
27
|
+
"require": "./src/eslint.js"
|
|
28
|
+
}
|
|
25
29
|
},
|
|
26
|
-
"types": "index.d.ts",
|
|
30
|
+
"types": "src/index.d.ts",
|
|
27
31
|
"files": [
|
|
28
|
-
"
|
|
29
|
-
"eslint.js",
|
|
30
|
-
"eslint.d.ts"
|
|
32
|
+
"src"
|
|
31
33
|
],
|
|
32
34
|
"scripts": {
|
|
35
|
+
"lint": "eslint . --cache --cache-location ./node_modules/.cache/eslint/ >eslint.log",
|
|
33
36
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
34
37
|
},
|
|
35
38
|
"devDependencies": {
|
|
@@ -43,5 +46,12 @@
|
|
|
43
46
|
},
|
|
44
47
|
"engines": {
|
|
45
48
|
"node": ">=20"
|
|
49
|
+
},
|
|
50
|
+
"devEngines": {
|
|
51
|
+
"runtime": {
|
|
52
|
+
"name": "node",
|
|
53
|
+
"onFail": "error",
|
|
54
|
+
"version": ">=20"
|
|
55
|
+
}
|
|
46
56
|
}
|
|
47
57
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/* eslint-disable-next-line @typescript-eslint/triple-slash-reference -- required to load before this file when this lib is loaded locally */
|
|
2
|
+
/// <reference types="node" />
|
|
3
|
+
|
|
1
4
|
/* eslint-disable sonarjs/no-built-in-override */
|
|
2
5
|
|
|
3
6
|
/* eslint-disable-next-line unicorn/require-module-specifiers -- required */
|
|
File without changes
|
|
File without changes
|