Skip to content

Commit dbb1db9

Browse files
committed
Fixup package.jsons
1 parent 2b2eba8 commit dbb1db9

File tree

3 files changed

+152
-120
lines changed

3 files changed

+152
-120
lines changed

.changeset/tired-webs-hunt.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@gud/cli-menu": patch
3+
"@gud/cli": patch
4+
---
5+
6+
Patched package.json types and corrected license field.

packages/cli-menu/package.json

Lines changed: 58 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,60 @@
11
{
2-
"name": "@gud/cli-menu",
3-
"version": "1.0.0-beta.4",
4-
"description": "Adds command menus to Gud CLI apps.",
5-
"license": "MIT",
6-
"type": "module",
7-
"author": "ryan goree (https://github.com/ryangoree)",
8-
"repository": {
9-
"type": "git",
10-
"url": "https://github.com/ryangoree/gud-cli"
11-
},
12-
"scripts": {
13-
"build": "tsup",
14-
"dev": "NODE_ENV=development tsx example/cli.ts",
15-
"test": "vitest run --reporter=verbose",
16-
"test:watch": "vitest --reporter=verbose",
17-
"test:ci": "vitest run",
18-
"typecheck": "tsc --noEmit"
19-
},
20-
"peerDependencies": {
21-
"@gud/cli": "^1.0.0-beta.6"
22-
},
23-
"dependencies": {
24-
"cfonts": "^3.3.0",
25-
"colors": "^1.4.0"
26-
},
27-
"devDependencies": {
28-
"@gud/cli": "^1.0.0-beta.6",
29-
"@types/node": "^24.1.0",
30-
"tsup": "^8.5.0",
31-
"tsx": "^4.20.3",
32-
"typescript": "^5.9.2",
33-
"vitest": "^3.2.4"
34-
},
35-
"exports": {
36-
".": {
37-
"types": {
38-
"import": "./dist/index.d.ts",
39-
"require": "./dist/index.d.cts"
40-
},
41-
"import": "./dist/index.js",
42-
"require": "./dist/index.cjs"
43-
}
44-
},
45-
"main": "dist/index.js",
46-
"types": "dist/index.d.ts",
47-
"files": [
48-
"dist"
49-
],
50-
"keywords": [
51-
"gud",
52-
"cli",
53-
"menu",
54-
"command",
55-
"prompt"
56-
]
2+
"name": "@gud/cli-menu",
3+
"version": "1.0.0-beta.4",
4+
"description": "Adds command menus to Gud CLI apps.",
5+
"license": "Apache-2.0",
6+
"author": "ryan goree (https://github.com/ryangoree)",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/ryangoree/gud-cli.git"
10+
},
11+
"type": "module",
12+
"sideEffects": false,
13+
"exports": {
14+
".": {
15+
"require": {
16+
"types": "./dist/index.d.cts",
17+
"default": "./dist/index.cjs"
18+
},
19+
"import": {
20+
"types": "./dist/index.d.ts",
21+
"default": "./dist/index.js"
22+
}
23+
}
24+
},
25+
"scripts": {
26+
"build": "tsup",
27+
"dev": "NODE_ENV=development tsx example/cli.ts",
28+
"test": "vitest run --reporter=verbose",
29+
"test:watch": "vitest --reporter=verbose",
30+
"test:ci": "vitest run",
31+
"typecheck": "tsc --noEmit"
32+
},
33+
"peerDependencies": {
34+
"@gud/cli": "^1.0.0-beta.6"
35+
},
36+
"dependencies": {
37+
"cfonts": "^3.3.0",
38+
"colors": "^1.4.0"
39+
},
40+
"devDependencies": {
41+
"@gud/cli": "^1.0.0-beta.6",
42+
"@types/node": "^24.1.0",
43+
"tsup": "^8.5.0",
44+
"tsx": "^4.20.3",
45+
"typescript": "^5.9.2",
46+
"vitest": "^3.2.4"
47+
},
48+
"main": "dist/index.js",
49+
"types": "dist/index.d.ts",
50+
"files": [
51+
"dist"
52+
],
53+
"keywords": [
54+
"gud",
55+
"cli",
56+
"menu",
57+
"command",
58+
"prompt"
59+
]
5760
}

packages/cli/package.json

Lines changed: 88 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,90 @@
11
{
2-
"name": "@gud/cli",
3-
"version": "1.0.0-beta.6",
4-
"description": "A framework for building flexible and extensible CLIs",
5-
"license": "MIT",
6-
"type": "module",
7-
"author": "ryan goree (https://github.com/ryangoree)",
8-
"repository": {
9-
"type": "git",
10-
"url": "https://github.com/ryangoree/gud-cli"
11-
},
12-
"scripts": {
13-
"build": "tsup",
14-
"watch": "tsup --watch",
15-
"build:docs": "typedoc",
16-
"dev": "NODE_ENV=development tsx src/sandbox/index.ts",
17-
"dev:watch": "NODE_ENV=development tsx --watch src/sandbox/index.ts",
18-
"prod": "tsx src/sandbox/index.ts",
19-
"prod:watch": "tsx --watch src/sandbox/index.ts",
20-
"test": "vitest run --reporter=verbose",
21-
"test:watch": "vitest --reporter=verbose",
22-
"test:ci": "vitest run",
23-
"coverage": "vitest run --coverage",
24-
"typecheck": "tsc --noEmit"
25-
},
26-
"dependencies": {
27-
"@types/prompts": "^2.4.9",
28-
"cliui": "^8.0.1",
29-
"prompts": "^2.4.2",
30-
"yargs-parser": "^22.0.0"
31-
},
32-
"devDependencies": {
33-
"@types/node": "^24.1.0",
34-
"@types/signale": "^1.4.7",
35-
"@types/yargs-parser": "^21.0.3",
36-
"@vitest/coverage-v8": "^3.2.4",
37-
"tsconfig-paths": "^4.2.0",
38-
"tsup": "^8.5.0",
39-
"tsx": "^4.20.3",
40-
"typedoc": "^0.28.8",
41-
"typescript": "^5.9.2",
42-
"vitest": "^3.2.4"
43-
},
44-
"exports": {
45-
".": {
46-
"types": {
47-
"import": "./dist/index.d.ts",
48-
"require": "./dist/index.d.cts"
49-
},
50-
"import": "./dist/index.js",
51-
"require": "./dist/index.cjs"
52-
},
53-
"./testing": {
54-
"types": {
55-
"import": "./dist/testing.d.ts",
56-
"require": "./dist/testing.d.cts"
57-
},
58-
"import": "./dist/testing.js",
59-
"require": "./dist/testing.cjs"
60-
}
61-
},
62-
"main": "dist/index.js",
63-
"types": "dist/index.d.ts",
64-
"files": [
65-
"dist"
66-
]
2+
"name": "@gud/cli",
3+
"version": "1.0.0-beta.6",
4+
"description": "A framework for building flexible and extensible CLIs",
5+
"license": "Apache-2.0",
6+
"author": "ryan goree (https://github.com/ryangoree)",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/ryangoree/gud-cli.git"
10+
},
11+
"type": "module",
12+
"sideEffects": false,
13+
"exports": {
14+
".": {
15+
"require": {
16+
"types": "./dist/index.d.cts",
17+
"default": "./dist/index.cjs"
18+
},
19+
"import": {
20+
"types": "./dist/index.d.ts",
21+
"default": "./dist/index.js"
22+
}
23+
},
24+
"./testing": {
25+
"require": {
26+
"types": "./dist/testing.d.cts",
27+
"default": "./dist/testing.cjs"
28+
},
29+
"import": {
30+
"types": "./dist/testing.d.ts",
31+
"default": "./dist/testing.js"
32+
}
33+
}
34+
},
35+
"scripts": {
36+
"build": "tsup",
37+
"watch": "tsup --watch",
38+
"build:docs": "typedoc",
39+
"dev": "NODE_ENV=development tsx src/sandbox/index.ts",
40+
"dev:watch": "NODE_ENV=development tsx --watch src/sandbox/index.ts",
41+
"prod": "tsx src/sandbox/index.ts",
42+
"prod:watch": "tsx --watch src/sandbox/index.ts",
43+
"test": "vitest run --reporter=verbose",
44+
"test:watch": "vitest --reporter=verbose",
45+
"test:ci": "vitest run",
46+
"coverage": "vitest run --coverage",
47+
"typecheck": "tsc --noEmit"
48+
},
49+
"dependencies": {
50+
"@types/prompts": "^2.4.9",
51+
"cliui": "^8.0.1",
52+
"prompts": "^2.4.2",
53+
"yargs-parser": "^22.0.0"
54+
},
55+
"devDependencies": {
56+
"@types/node": "^24.1.0",
57+
"@types/signale": "^1.4.7",
58+
"@types/yargs-parser": "^21.0.3",
59+
"@vitest/coverage-v8": "^3.2.4",
60+
"tsconfig-paths": "^4.2.0",
61+
"tsup": "^8.5.0",
62+
"tsx": "^4.20.3",
63+
"typedoc": "^0.28.8",
64+
"typescript": "^5.9.2",
65+
"vitest": "^3.2.4"
66+
},
67+
"main": "dist/index.js",
68+
"types": "dist/index.d.ts",
69+
"typesVersions": {
70+
"*": {
71+
".": [
72+
"./dist/index.d.ts"
73+
],
74+
"testing": [
75+
"./dist/testing.d.ts"
76+
]
77+
}
78+
},
79+
"files": [
80+
"dist"
81+
],
82+
"keywords": [
83+
"gud",
84+
"cli",
85+
"command",
86+
"option",
87+
"arguments",
88+
"argv"
89+
]
6790
}

0 commit comments

Comments
 (0)