inferred-types 0.41.1 → 0.41.3
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/README.md +72 -70
- package/dist/inferred-types/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime/tsconfig.tsbuildinfo +1 -1
- package/dist/types/containers/WithKey.d.ts +9 -5
- package/dist/types/containers/WithKey.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -3
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inferred-types",
|
|
3
|
-
"version": "0.41.
|
|
3
|
+
"version": "0.41.3",
|
|
4
4
|
"description": "Functions which provide useful type inference on TS projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ken Snyder<ken@ken.net>",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"main": "./dist/inferred-types/index.cjs",
|
|
8
9
|
"module": "./dist/inferred-types/index.js",
|
|
9
10
|
"typings": "./dist/inferred-types/index.d.ts",
|
|
10
11
|
"exports": {
|
|
11
12
|
".": {
|
|
12
13
|
"import": "./dist/inferred-types/index.js",
|
|
14
|
+
"require": "./dist/inferred-types/index.cjs",
|
|
13
15
|
"types": "./dist/inferred-types/index.d.ts"
|
|
14
16
|
}
|
|
15
17
|
},
|
|
@@ -23,7 +25,9 @@
|
|
|
23
25
|
"scripts": {
|
|
24
26
|
"prepare": "ts-patch install -s",
|
|
25
27
|
"about": "tokei src",
|
|
26
|
-
"build": "
|
|
28
|
+
"build": "run-s build:esm build:cjs",
|
|
29
|
+
"build:esm": "tsc -b --verbose src/inferred-types",
|
|
30
|
+
"build:cjs": "tsup dist/inferred-types/index.js --format cjs -d dist/inferred-types",
|
|
27
31
|
"build:force": "rimraf dist && tsc -b -f --verbose src/inferred-types",
|
|
28
32
|
"diagnostics": "npx tsc -b -f -diagnostics src/inferred-types",
|
|
29
33
|
"clean": "rimraf dist/**/*",
|
|
@@ -31,8 +35,9 @@
|
|
|
31
35
|
"lint:test": "pnpm eslint -c .eslintrc.json ./tests/**/*.ts --ext ts --fix",
|
|
32
36
|
"lint:src": "npx eslint -c .eslintrc.json ./src/**/*.ts --ext ts --fix ",
|
|
33
37
|
"trace": "npx tsc --noEmit --diagnostics && npx analyze-trace trace",
|
|
34
|
-
"test": "vitest
|
|
38
|
+
"test": "vitest",
|
|
35
39
|
"test:ui": "vitest --ui",
|
|
40
|
+
"bench": "cd benches && tsx ./index.ts",
|
|
36
41
|
"test:ci": "vitest run",
|
|
37
42
|
"audit:fix": "pnpm audit --fix",
|
|
38
43
|
"release": "run-s lint release:latest test:ci audit:fix release:bump",
|
|
@@ -44,9 +49,11 @@
|
|
|
44
49
|
"watch:bundle": "tsup src/index.ts --format=esm --dts"
|
|
45
50
|
},
|
|
46
51
|
"dependencies": {
|
|
52
|
+
"tsx": "^4.7.0",
|
|
47
53
|
"vue": "^3.4.14"
|
|
48
54
|
},
|
|
49
55
|
"devDependencies": {
|
|
56
|
+
"@arktype/attest": "^0.5.0",
|
|
50
57
|
"@type-challenges/utils": "~0.1.1",
|
|
51
58
|
"@types/node": "^18.19.8",
|
|
52
59
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
@@ -54,6 +61,7 @@
|
|
|
54
61
|
"@typescript/analyze-trace": "^0.10.1",
|
|
55
62
|
"@vitest/ui": "^1.2.1",
|
|
56
63
|
"bumpp": "^9.3.0",
|
|
64
|
+
"chalk": "^5.3.0",
|
|
57
65
|
"cross-env": "^7.0.3",
|
|
58
66
|
"eslint": "^8.56.0",
|
|
59
67
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -62,6 +70,7 @@
|
|
|
62
70
|
"eslint-plugin-prettier": "^5.1.3",
|
|
63
71
|
"eslint-plugin-promise": "^6.1.1",
|
|
64
72
|
"eslint-watch": "^8.0.0",
|
|
73
|
+
"glob": "^10.3.10",
|
|
65
74
|
"npm-run-all": "~4.1.5",
|
|
66
75
|
"pathe": "^1.1.2",
|
|
67
76
|
"prettier": "^3.2.4",
|