Skip to content

Commit 514e953

Browse files
committed
Format
1 parent e747b63 commit 514e953

9 files changed

Lines changed: 449 additions & 443 deletions

File tree

.prettierrc.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
module.exports = {
55
tabWidth: 2,
66
useTabs: false,
7-
trailingComma: "all",
7+
trailingComma: 'all',
88
singleQuote: false,
99
semi: true,
1010
printWidth: 80,
11-
};
11+
};

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
"nargs",
3131
"signale",
3232
"unmock"
33-
],
33+
]
3434
}

biome.json

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
{
2-
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3-
"vcs": {
4-
"enabled": true,
5-
"clientKind": "git",
6-
"useIgnoreFile": true,
7-
"defaultBranch": "main"
8-
},
9-
"assist": {
10-
"enabled": true
11-
},
12-
"formatter": {
13-
"enabled": true,
14-
"formatWithErrors": false,
15-
"indentStyle": "space",
16-
"indentWidth": 2,
17-
"lineEnding": "lf",
18-
"lineWidth": 80,
19-
"attributePosition": "auto"
20-
},
21-
"linter": {
22-
"enabled": true,
23-
"rules": {
24-
"recommended": true,
25-
"complexity": {
26-
"noBannedTypes": "off"
27-
},
28-
"correctness": {
29-
"noUnusedImports": "error"
30-
},
31-
"style": {
32-
"useNodejsImportProtocol": "warn",
33-
"noNonNullAssertion": {
34-
"fix": "none",
35-
"level": "info"
36-
},
37-
"noParameterAssign": "off"
38-
},
39-
"suspicious": {
40-
"noExplicitAny": "info",
41-
"noDoubleEquals": "warn",
42-
"noAssignInExpressions": "off",
43-
"noEmptyInterface": "off"
44-
}
45-
}
46-
},
47-
"javascript": {
48-
"formatter": {
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true,
7+
"defaultBranch": "main"
8+
},
9+
"assist": {
10+
"enabled": true
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"formatWithErrors": false,
15+
"indentStyle": "space",
16+
"indentWidth": 2,
17+
"lineEnding": "lf",
18+
"lineWidth": 80,
19+
"attributePosition": "auto"
20+
},
21+
"linter": {
22+
"enabled": true,
23+
"rules": {
24+
"recommended": true,
25+
"complexity": {
26+
"noBannedTypes": "off"
27+
},
28+
"correctness": {
29+
"noUnusedImports": "error"
30+
},
31+
"style": {
32+
"useNodejsImportProtocol": "warn",
33+
"noNonNullAssertion": {
34+
"fix": "none",
35+
"level": "info"
36+
},
37+
"noParameterAssign": "off"
38+
},
39+
"suspicious": {
40+
"noExplicitAny": "info",
41+
"noDoubleEquals": "warn",
42+
"noAssignInExpressions": "off",
43+
"noEmptyInterface": "off"
44+
}
45+
}
46+
},
47+
"javascript": {
48+
"formatter": {
4949
"indentStyle": "space",
50-
"jsxQuoteStyle": "double",
51-
"quoteProperties": "asNeeded",
52-
"trailingCommas": "all",
53-
"semicolons": "always",
54-
"arrowParentheses": "always",
55-
"bracketSpacing": true,
56-
"bracketSameLine": false,
57-
"quoteStyle": "single",
58-
"attributePosition": "auto"
59-
}
60-
}
50+
"jsxQuoteStyle": "double",
51+
"quoteProperties": "asNeeded",
52+
"trailingCommas": "all",
53+
"semicolons": "always",
54+
"arrowParentheses": "always",
55+
"bracketSpacing": true,
56+
"bracketSameLine": false,
57+
"quoteStyle": "single",
58+
"attributePosition": "auto"
59+
}
60+
}
6161
}

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "gud-cli",
33
"version": "0.0.0",
44
"license": "Apache-2.0",
5-
"workspaces": ["packages/*", "examples/*", ".github/actions/*"],
5+
"workspaces": [
6+
"packages/*",
7+
"examples/*",
8+
".github/actions/*"
9+
],
610
"type": "module",
711
"private": true,
812
"scripts": {

packages/cli-menu/package.json

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
11
{
2-
"name": "@gud/cli-menu",
3-
"version": "1.0.0-beta.5",
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.7"
35-
},
36-
"dependencies": {
37-
"cfonts": "^3.3.0",
38-
"colors": "^1.4.0"
39-
},
40-
"devDependencies": {
41-
"@gud/cli": "^1.0.0-beta.7",
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-
]
2+
"name": "@gud/cli-menu",
3+
"version": "1.0.0-beta.5",
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.7"
35+
},
36+
"dependencies": {
37+
"cfonts": "^3.3.0",
38+
"colors": "^1.4.0"
39+
},
40+
"devDependencies": {
41+
"@gud/cli": "^1.0.0-beta.7",
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+
]
6060
}

0 commit comments

Comments
 (0)