@topcli/prompts 3.0.0 → 4.0.0
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 +62 -4
- package/dist/index.d.mts +140 -0
- package/dist/index.mjs +1171 -0
- package/package.json +10 -10
- package/dist/index.cjs +0 -1312
- package/dist/index.d.cts +0 -121
- package/dist/index.d.ts +0 -121
- package/dist/index.js +0 -1271
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topcli/prompts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Node.js user input library for command-line interfaces.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "
|
|
7
|
+
"build": "tsdown src/index.ts --dts --clean",
|
|
8
8
|
"prepublishOnly": "npm run build",
|
|
9
9
|
"test-only": "node --test ./test/**/*.test.ts",
|
|
10
|
-
"test-types": "npm run build && tsd && attw --pack .",
|
|
10
|
+
"test-types": "npm run build && tsd && attw --pack . --profile esm-only",
|
|
11
11
|
"test": "c8 -r html npm run test-only && npm run test-types",
|
|
12
12
|
"lint": "eslint src test",
|
|
13
13
|
"lint:fix": "eslint . --fix"
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"access": "public",
|
|
18
18
|
"provenance": true
|
|
19
19
|
},
|
|
20
|
-
"main": "./dist/index.
|
|
21
|
-
"types": "./dist/index.d.
|
|
20
|
+
"main": "./dist/index.mjs",
|
|
21
|
+
"types": "./dist/index.d.mts",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"types": "./dist/index.d.mts",
|
|
25
|
+
"default": "./dist/index.mjs"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
40
40
|
"@openally/config.eslint": "^2.2.0",
|
|
41
41
|
"@openally/config.typescript": "^1.2.1",
|
|
42
|
-
"@types/node": "^
|
|
42
|
+
"@types/node": "^26.0.1",
|
|
43
43
|
"c8": "^11.0.0",
|
|
44
44
|
"tsd": "^0.33.0",
|
|
45
|
-
"
|
|
46
|
-
"typescript": "^
|
|
45
|
+
"tsdown": "0.22.3",
|
|
46
|
+
"typescript": "^6.0.2"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
|
49
49
|
"node": ">=22.0.0"
|