@topcli/prompts 2.4.0 → 3.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/package.json CHANGED
@@ -1,50 +1,62 @@
1
- {
2
- "name": "@topcli/prompts",
3
- "version": "2.4.0",
4
- "description": "Node.js user input library for command-line interfaces.",
5
- "scripts": {
6
- "build": "tsup index.ts --format cjs,esm --dts --clean",
7
- "prepublishOnly": "npm run build",
8
- "test": "glob -c \"tsx --test\" \"./test/**/*.test.ts\"",
9
- "coverage": "c8 -r html npm run test",
10
- "lint": "eslint src test",
11
- "lint:fix": "eslint . --fix"
12
- },
13
- "main": "./dist/index.js",
14
- "types": "./dist/index.d.ts",
15
- "exports": {
16
- ".": {
17
- "types": "./dist/index.d.ts",
18
- "require": "./dist/index.cjs",
19
- "import": "./dist/index.js"
20
- }
21
- },
22
- "keywords": [
23
- "node.js",
24
- "cli",
25
- "prompt"
26
- ],
27
- "files": [
28
- "dist"
29
- ],
30
- "author": "PierreDemailly <pierredemailly.pro@gmail.com>",
31
- "license": "ISC",
32
- "type": "module",
33
- "devDependencies": {
34
- "@openally/config.eslint": "^2.0.0",
35
- "@openally/config.typescript": "^1.0.3",
36
- "@types/node": "^24.0.3",
37
- "c8": "^10.1.3",
38
- "glob": "^11.0.0",
39
- "tsup": "^8.3.5",
40
- "tsx": "^4.19.2",
41
- "typescript": "^5.7.2"
42
- },
43
- "engines": {
44
- "node": "^20.12.0 || >=21.7.0"
45
- },
46
- "bugs": {
47
- "url": "https://github.com/TopCli/prompts/issues"
48
- },
49
- "homepage": "https://github.com/TopCli/prompts#readme"
50
- }
1
+ {
2
+ "name": "@topcli/prompts",
3
+ "version": "3.0.0",
4
+ "description": "Node.js user input library for command-line interfaces.",
5
+ "type": "module",
6
+ "scripts": {
7
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean",
8
+ "prepublishOnly": "npm run build",
9
+ "test-only": "node --test ./test/**/*.test.ts",
10
+ "test-types": "npm run build && tsd && attw --pack .",
11
+ "test": "c8 -r html npm run test-only && npm run test-types",
12
+ "lint": "eslint src test",
13
+ "lint:fix": "eslint . --fix"
14
+ },
15
+ "publishConfig": {
16
+ "registry": "https://registry.npmjs.org",
17
+ "access": "public",
18
+ "provenance": true
19
+ },
20
+ "main": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js",
25
+ "require": "./dist/index.cjs"
26
+ }
27
+ },
28
+ "keywords": [
29
+ "node.js",
30
+ "cli",
31
+ "prompt"
32
+ ],
33
+ "files": [
34
+ "dist"
35
+ ],
36
+ "author": "PierreDemailly <pierredemailly.pro@gmail.com>",
37
+ "license": "ISC",
38
+ "devDependencies": {
39
+ "@arethetypeswrong/cli": "^0.18.2",
40
+ "@openally/config.eslint": "^2.2.0",
41
+ "@openally/config.typescript": "^1.2.1",
42
+ "@types/node": "^25.0.3",
43
+ "c8": "^11.0.0",
44
+ "tsd": "^0.33.0",
45
+ "tsup": "^8.5.1",
46
+ "typescript": "^5.9.3"
47
+ },
48
+ "engines": {
49
+ "node": ">=22.0.0"
50
+ },
51
+ "repository": {
52
+ "type": "git",
53
+ "url": "git+https://github.com/TopCli/prompts.git"
54
+ },
55
+ "bugs": {
56
+ "url": "https://github.com/TopCli/prompts/issues"
57
+ },
58
+ "homepage": "https://github.com/TopCli/prompts#readme",
59
+ "tsd": {
60
+ "directory": "test/types"
61
+ }
62
+ }