inferred-types 1.2.4 → 1.2.6
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/modules/inferred-types/dist/index.d.cts +1 -1
- package/modules/inferred-types/dist/index.d.cts.map +1 -1
- package/modules/inferred-types/dist/index.d.ts +1 -1
- package/modules/inferred-types/dist/index.d.ts.map +1 -1
- package/modules/runtime/dist/index.d.cts +1 -1
- package/modules/runtime/dist/index.d.ts +1 -1
- package/modules/types/dist/index.d.cts.map +1 -1
- package/modules/types/dist/index.d.ts.map +1 -1
- package/package.json +120 -139
package/package.json
CHANGED
|
@@ -1,145 +1,126 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
"name": "inferred-types",
|
|
3
|
+
"version": "1.2.6",
|
|
4
|
+
"description": "Functions which provide useful type inference on Typescript projects",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "https://github.com/inocan-group/inferred-types"
|
|
7
|
+
},
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"author": "Ken Snyder<ken@ken.net>",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"type": "module",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./modules/inferred-types/dist/index.d.ts",
|
|
15
|
+
"import": "./modules/inferred-types/dist/index.js",
|
|
16
|
+
"require": "./modules/inferred-types/dist/index.cjs"
|
|
7
17
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"types": "./modules/inferred-types/dist/index.d.ts",
|
|
15
|
-
"import": "./modules/inferred-types/dist/index.js",
|
|
16
|
-
"require": "./modules/inferred-types/dist/index.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./types": {
|
|
19
|
-
"types": "./modules/types/dist/index.d.ts",
|
|
20
|
-
"import": "./modules/types/dist/index.js",
|
|
21
|
-
"require": "./modules/types/dist/index.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./runtime": {
|
|
24
|
-
"types": "./modules/runtime/dist/index.d.ts",
|
|
25
|
-
"import": "./modules/runtime/dist/index.js",
|
|
26
|
-
"require": "./modules/runtime/dist/index.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./constants": {
|
|
29
|
-
"types": "./modules/constants/dist/index.d.ts",
|
|
30
|
-
"import": "./modules/constants/dist/index.js",
|
|
31
|
-
"require": "./modules/constants/dist/index.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./globals": {
|
|
34
|
-
"types": "./modules/types/dist/globals.d.ts"
|
|
35
|
-
}
|
|
18
|
+
"./types": {
|
|
19
|
+
"types": "./modules/types/dist/index.d.ts",
|
|
20
|
+
"import": "./modules/types/dist/index.js",
|
|
21
|
+
"require": "./modules/types/dist/index.cjs"
|
|
36
22
|
},
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"modules/constants/dist",
|
|
42
|
-
"modules/inferred-types/dist",
|
|
43
|
-
"modules/runtime/dist",
|
|
44
|
-
"modules/types/dist"
|
|
45
|
-
],
|
|
46
|
-
"scripts": {
|
|
47
|
-
"nuke": "pnpm -r nuke",
|
|
48
|
-
"circular": "pnpm -r --stream --color=always --workspace-concurrency=1 circular || true",
|
|
49
|
-
"circular:summary": "pnpm -r --stream --color=always --workspace-concurrency=1 circular:summary || true",
|
|
50
|
-
"test": "node scripts/test-with-args.mjs",
|
|
51
|
-
"test:runtime": "vitest run",
|
|
52
|
-
"test:types": "node_modules/.bin/typed test",
|
|
53
|
-
"test:imports": "bun run scripts/invalid-imports.ts",
|
|
54
|
-
"test:bundle": "node scripts/test-bundle.mjs",
|
|
55
|
-
"test:circular-deps": "node scripts/test-circular-deps.mjs",
|
|
56
|
-
"test:ci": "vitest run",
|
|
57
|
-
"test:watch": "vitest",
|
|
58
|
-
"test:ui": "vitest --ui",
|
|
59
|
-
"test:globals": "run-s test:globals:runtime test:globals:types",
|
|
60
|
-
"test:globals:runtime": "vitest run globals-and-transpiled",
|
|
61
|
-
"test:globals:types": "npx typed test globals-and-transpiled",
|
|
62
|
-
"typed": "node_modules/.bin/typed test",
|
|
63
|
-
"typed:input-tokens": "npx typed test IT_Take GetInputToken FromInputToken",
|
|
64
|
-
"typed:datetime": "npx typed test datetime",
|
|
65
|
-
"typed:boolean-logic": "npx typed test boolean-logic",
|
|
66
|
-
"deps": "pnpm -r deps",
|
|
67
|
-
"source": "pnpm -r source",
|
|
68
|
-
"source:types": "pnpm --filter types source",
|
|
69
|
-
"audit:types": "typed source -c modules/types/tsconfig.json -w 6133 -w 6307",
|
|
70
|
-
"audit:runtime": "typed source -c modules/runtime/tsconfig.json -w 2304 -w 6133 -w 6307",
|
|
71
|
-
"audit:constants": "typed source -c modules/constants/tsconfig.json --warn 6133",
|
|
72
|
-
"release": "bumpp",
|
|
73
|
-
"prepublishOnly": "npm run build",
|
|
74
|
-
"jsr:dry-run": "npx jsr --dry-run --allow-slow-types",
|
|
75
|
-
"prepare": "husky",
|
|
76
|
-
"build": "pnpm -r build",
|
|
77
|
-
"build:constants": "pnpm --filter constants build",
|
|
78
|
-
"build:types": "pnpm --filter types build",
|
|
79
|
-
"build:runtime": "pnpm --filter runtime build",
|
|
80
|
-
"watch": "pnpm -r watch",
|
|
81
|
-
"lint": "pnpm -r lint"
|
|
23
|
+
"./runtime": {
|
|
24
|
+
"types": "./modules/runtime/dist/index.d.ts",
|
|
25
|
+
"import": "./modules/runtime/dist/index.js",
|
|
26
|
+
"require": "./modules/runtime/dist/index.cjs"
|
|
82
27
|
},
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"@js-temporal/polyfill": "catalog:",
|
|
88
|
-
"@type-challenges/utils": "catalog:",
|
|
89
|
-
"@types/luxon": "catalog:",
|
|
90
|
-
"@types/node": "catalog:",
|
|
91
|
-
"@typescript-eslint/eslint-plugin": "catalog:",
|
|
92
|
-
"@typescript-eslint/parser": "catalog:",
|
|
93
|
-
"@typescript/analyze-trace": "catalog:",
|
|
94
|
-
"@vitest/ui": "catalog:",
|
|
95
|
-
"@yankeeinlondon/ask": "catalog:",
|
|
96
|
-
"@yankeeinlondon/claudine": "catalog:",
|
|
97
|
-
"bumpp": "catalog:",
|
|
98
|
-
"chalk": "catalog:",
|
|
99
|
-
"cross-env": "catalog:",
|
|
100
|
-
"date-fns": "catalog:",
|
|
101
|
-
"dayjs": "catalog:",
|
|
102
|
-
"eslint": "catalog:",
|
|
103
|
-
"eslint-plugin-format": "catalog:",
|
|
104
|
-
"eslint-plugin-promise": "catalog:",
|
|
105
|
-
"fast-glob": "catalog:",
|
|
106
|
-
"husky": "catalog:",
|
|
107
|
-
"jiti": "catalog:",
|
|
108
|
-
"luxon": "catalog:",
|
|
109
|
-
"madge": "catalog:",
|
|
110
|
-
"moment": "catalog:",
|
|
111
|
-
"moment-timezone": "catalog:",
|
|
112
|
-
"npm-run-all": "catalog:",
|
|
113
|
-
"pathe": "catalog:",
|
|
114
|
-
"tsdown": "catalog:",
|
|
115
|
-
"tsx": "catalog:",
|
|
116
|
-
"typecheck": "catalog:",
|
|
117
|
-
"typed-tester": "catalog:",
|
|
118
|
-
"typescript": "catalog:",
|
|
119
|
-
"typescript-eslint": "catalog:",
|
|
120
|
-
"vite": "catalog:",
|
|
121
|
-
"vite-node": "catalog:",
|
|
122
|
-
"vitest": "catalog:",
|
|
123
|
-
"vue": "catalog:"
|
|
28
|
+
"./constants": {
|
|
29
|
+
"types": "./modules/constants/dist/index.d.ts",
|
|
30
|
+
"import": "./modules/constants/dist/index.js",
|
|
31
|
+
"require": "./modules/constants/dist/index.cjs"
|
|
124
32
|
},
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
"overrides": {
|
|
128
|
-
"tar@<6.2.1": ">=6.2.1",
|
|
129
|
-
"braces@<3.0.3": ">=3.0.3",
|
|
130
|
-
"micromatch@<4.0.8": ">=4.0.8",
|
|
131
|
-
"vite@>=5.4.0 <=5.4.5": ">=5.4.6",
|
|
132
|
-
"@eslint/plugin-kit@<0.3.4": ">=0.3.4"
|
|
133
|
-
},
|
|
134
|
-
"onlyBuiltDependencies": [
|
|
135
|
-
"@pkgr/core",
|
|
136
|
-
"esbuild",
|
|
137
|
-
"synckit",
|
|
138
|
-
"unrs-resolver"
|
|
139
|
-
],
|
|
140
|
-
"auditConfig": {}
|
|
141
|
-
},
|
|
142
|
-
"dependencies": {
|
|
143
|
-
"madge": "catalog:"
|
|
33
|
+
"./globals": {
|
|
34
|
+
"types": "./modules/types/dist/globals.d.ts"
|
|
144
35
|
}
|
|
145
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"main": "./modules/inferred-types/dist/index.cjs",
|
|
38
|
+
"module": "./modules/inferred-types/dist/index.js",
|
|
39
|
+
"typings": "./modules/inferred-types/dist/index.d.ts",
|
|
40
|
+
"files": [
|
|
41
|
+
"modules/constants/dist",
|
|
42
|
+
"modules/inferred-types/dist",
|
|
43
|
+
"modules/runtime/dist",
|
|
44
|
+
"modules/types/dist"
|
|
45
|
+
],
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@antfu/eslint-config": "^6.2.0",
|
|
48
|
+
"@date-fns/tz": "^1.4.1",
|
|
49
|
+
"@eslint/js": "^9.39.0",
|
|
50
|
+
"@js-temporal/polyfill": "^0.5.1",
|
|
51
|
+
"@type-challenges/utils": "~0.1.1",
|
|
52
|
+
"@types/luxon": "^3.7.1",
|
|
53
|
+
"@types/node": "^22.18.13",
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "^8.46.2",
|
|
55
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
56
|
+
"@typescript/analyze-trace": "^0.10.1",
|
|
57
|
+
"@vitest/ui": "^3.2.4",
|
|
58
|
+
"@yankeeinlondon/ask": "^0.4.0",
|
|
59
|
+
"@yankeeinlondon/claudine": "^0.4.1",
|
|
60
|
+
"bumpp": "^10.3.1",
|
|
61
|
+
"chalk": "^5.6.2",
|
|
62
|
+
"cross-env": "^10.1.0",
|
|
63
|
+
"date-fns": "^4.1.0",
|
|
64
|
+
"dayjs": "^1.11.19",
|
|
65
|
+
"eslint": "^9.39.0",
|
|
66
|
+
"eslint-plugin-format": "^1.0.2",
|
|
67
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
68
|
+
"fast-glob": "^3.3.3",
|
|
69
|
+
"husky": "^9.1.7",
|
|
70
|
+
"jiti": "^2.6.1",
|
|
71
|
+
"luxon": "^3.7.2",
|
|
72
|
+
"madge": "^8.0.0",
|
|
73
|
+
"moment": "^2.30.1",
|
|
74
|
+
"moment-timezone": "^0.6.0",
|
|
75
|
+
"npm-run-all": "~4.1.5",
|
|
76
|
+
"pathe": "^2.0.3",
|
|
77
|
+
"tsdown": "^0.15.12",
|
|
78
|
+
"tsx": "^4.20.6",
|
|
79
|
+
"typecheck": "^0.1.2",
|
|
80
|
+
"typed-tester": "~0.13.2",
|
|
81
|
+
"typescript": "^5.9.3",
|
|
82
|
+
"typescript-eslint": "^8.46.2",
|
|
83
|
+
"vite": "^7.1.12",
|
|
84
|
+
"vite-node": "^3.2.4",
|
|
85
|
+
"vitest": "^3.2.4",
|
|
86
|
+
"vue": "^3.5.22"
|
|
87
|
+
},
|
|
88
|
+
"dependencies": {
|
|
89
|
+
"madge": "^8.0.0"
|
|
90
|
+
},
|
|
91
|
+
"scripts": {
|
|
92
|
+
"nuke": "pnpm -r nuke",
|
|
93
|
+
"circular": "pnpm -r --stream --color=always --workspace-concurrency=1 circular || true",
|
|
94
|
+
"circular:summary": "pnpm -r --stream --color=always --workspace-concurrency=1 circular:summary || true",
|
|
95
|
+
"test": "node scripts/test-with-args.mjs",
|
|
96
|
+
"test:runtime": "vitest run",
|
|
97
|
+
"test:types": "node_modules/.bin/typed test",
|
|
98
|
+
"test:imports": "bun run scripts/invalid-imports.ts",
|
|
99
|
+
"test:bundle": "node scripts/test-bundle.mjs",
|
|
100
|
+
"test:circular-deps": "node scripts/test-circular-deps.mjs",
|
|
101
|
+
"test:ci": "vitest run",
|
|
102
|
+
"test:watch": "vitest",
|
|
103
|
+
"test:ui": "vitest --ui",
|
|
104
|
+
"test:globals": "run-s test:globals:runtime test:globals:types",
|
|
105
|
+
"test:globals:runtime": "vitest run globals-and-transpiled",
|
|
106
|
+
"test:globals:types": "npx typed test globals-and-transpiled",
|
|
107
|
+
"typed": "node_modules/.bin/typed test",
|
|
108
|
+
"typed:input-tokens": "npx typed test IT_Take GetInputToken FromInputToken",
|
|
109
|
+
"typed:datetime": "npx typed test datetime",
|
|
110
|
+
"typed:boolean-logic": "npx typed test boolean-logic",
|
|
111
|
+
"deps": "pnpm -r deps",
|
|
112
|
+
"source": "pnpm -r source",
|
|
113
|
+
"source:types": "pnpm --filter types source",
|
|
114
|
+
"audit:types": "typed source -c modules/types/tsconfig.json -w 6133 -w 6307",
|
|
115
|
+
"audit:runtime": "typed source -c modules/runtime/tsconfig.json -w 2304 -w 6133 -w 6307",
|
|
116
|
+
"audit:constants": "typed source -c modules/constants/tsconfig.json --warn 6133",
|
|
117
|
+
"release": "bumpp",
|
|
118
|
+
"jsr:dry-run": "npx jsr --dry-run --allow-slow-types",
|
|
119
|
+
"build": "pnpm -r build",
|
|
120
|
+
"build:constants": "pnpm --filter constants build",
|
|
121
|
+
"build:types": "pnpm --filter types build",
|
|
122
|
+
"build:runtime": "pnpm --filter runtime build",
|
|
123
|
+
"watch": "pnpm -r watch",
|
|
124
|
+
"lint": "pnpm -r lint"
|
|
125
|
+
}
|
|
126
|
+
}
|