Skip to content

Commit d45408f

Browse files
authored
chore: bump various dependencies (#360)
1 parent 1adb270 commit d45408f

File tree

13 files changed

+1241
-3240
lines changed

13 files changed

+1241
-3240
lines changed

biome.json

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,47 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3-
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
4-
"files": { "ignoreUnknown": false, "ignore": ["**/dist/**"] },
5-
"formatter": {
6-
"enabled": true,
7-
"useEditorconfig": true,
8-
"formatWithErrors": false,
9-
"indentStyle": "tab",
10-
"indentWidth": 2,
11-
"lineEnding": "lf",
12-
"lineWidth": 100,
13-
"attributePosition": "auto",
14-
"bracketSpacing": true,
15-
"ignore": [
16-
".github/workflows/**/*.yml",
17-
".changeset/**/*.md",
18-
"**/pnpm-lock.yaml",
19-
"**/package.json"
20-
]
21-
},
22-
"organizeImports": { "enabled": true },
23-
"linter": {
24-
"enabled": true,
25-
"rules": { "recommended": true, "suspicious": { "noExplicitAny": "off" } }
26-
},
27-
"javascript": {
28-
"formatter": {
29-
"jsxQuoteStyle": "double",
30-
"quoteProperties": "asNeeded",
31-
"trailingCommas": "es5",
32-
"semicolons": "always",
33-
"arrowParentheses": "always",
34-
"bracketSameLine": false,
35-
"quoteStyle": "single",
36-
"attributePosition": "auto",
37-
"bracketSpacing": true
38-
}
39-
},
40-
"overrides": [
41-
{
42-
"include": ["*.json", "*.toml", "*.yml"],
43-
"formatter": { "indentStyle": "space" }
44-
}
45-
]
2+
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
3+
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
4+
"files": { "ignoreUnknown": false, "includes": ["**", "!**/dist/**"] },
5+
"formatter": {
6+
"enabled": true,
7+
"useEditorconfig": true,
8+
"formatWithErrors": false,
9+
"indentStyle": "tab",
10+
"indentWidth": 2,
11+
"lineEnding": "lf",
12+
"lineWidth": 100,
13+
"attributePosition": "auto",
14+
"bracketSpacing": true,
15+
"includes": [
16+
"**",
17+
"!**/.github/workflows/**/*.yml",
18+
"!**/.changeset/**/*.md",
19+
"!**/pnpm-lock.yaml",
20+
"!**/package.json"
21+
]
22+
},
23+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
24+
"linter": {
25+
"enabled": true,
26+
"rules": { "recommended": true, "suspicious": { "noExplicitAny": "off" } }
27+
},
28+
"javascript": {
29+
"formatter": {
30+
"jsxQuoteStyle": "double",
31+
"quoteProperties": "asNeeded",
32+
"trailingCommas": "es5",
33+
"semicolons": "always",
34+
"arrowParentheses": "always",
35+
"bracketSameLine": false,
36+
"quoteStyle": "single",
37+
"attributePosition": "auto",
38+
"bracketSpacing": true
39+
}
40+
},
41+
"overrides": [
42+
{
43+
"includes": ["**/*.json", "**/*.toml", "**/*.yml"],
44+
"formatter": { "indentStyle": "space" }
45+
}
46+
]
4647
}

examples/basic/path.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as p from '@clack/prompts';
33
async function demo() {
44
p.intro('path start...');
55

6-
const path = await p.path({
6+
const _path = await p.path({
77
message: 'Read file',
88
});
99

examples/basic/progress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { ProgressResult } from '@clack/prompts';
44

55
async function fakeProgress(progressbar: ProgressResult): Promise<void> {
66
await setTimeout(1000);
7-
for (const i in Array(10).fill(1)) {
7+
for (const _i in Array(10).fill(1)) {
88
progressbar.advance();
99
await setTimeout(100 + Math.random() * 500);
1010
}

examples/changesets/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async function main() {
1414

1515
p.intro(`${color.bgCyan(color.black(' changesets '))}`);
1616

17-
const changeset = await p.group(
17+
const _changeset = await p.group(
1818
{
1919
packages: () =>
2020
p.groupMultiselect({

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"pretest": "pnpm run build"
1616
},
1717
"devDependencies": {
18-
"@biomejs/biome": "1.9.4",
19-
"@changesets/cli": "^2.26.2",
20-
"@types/node": "^18.16.0",
21-
"knip": "^5.50.4",
18+
"@biomejs/biome": "^2.1.2",
19+
"@changesets/cli": "^2.29.5",
20+
"@types/node": "^24.1.0",
21+
"jsr": "^0.13.4",
22+
"knip": "^5.62.0",
2223
"typescript": "^5.8.3",
23-
"unbuild": "^2.0.0",
24-
"jsr": "^0.13.4"
24+
"unbuild": "^3.6.0"
2525
},
2626
"packageManager": "[email protected]",
2727
"volta": {

packages/core/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
"url": "https://github.com/bombshell-dev/clack/issues"
2222
},
2323
"homepage": "https://github.com/bombshell-dev/clack/tree/main/packages/core#readme",
24-
"files": ["dist", "CHANGELOG.md"],
24+
"files": [
25+
"dist",
26+
"CHANGELOG.md"
27+
],
2528
"keywords": [
2629
"ask",
2730
"clack",
@@ -54,7 +57,7 @@
5457
"sisteransi": "^1.0.5"
5558
},
5659
"devDependencies": {
57-
"vitest": "^3.1.1",
60+
"vitest": "^3.2.4",
5861
"wrap-ansi": "^8.1.0"
5962
}
6063
}

packages/core/test/mock-writable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class MockWritable extends Writable {
55

66
_write(
77
chunk: any,
8-
encoding: BufferEncoding,
8+
_encoding: BufferEncoding,
99
callback: (error?: Error | null | undefined) => void
1010
): void {
1111
this.buffer.push(chunk.toString());

packages/core/test/prompts/confirm.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import color from 'picocolors';
1+
22
import { cursor } from 'sisteransi';
33
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
44
import { default as ConfirmPrompt } from '../../src/prompts/confirm.js';

packages/core/test/prompts/select.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import color from 'picocolors';
1+
22
import { cursor } from 'sisteransi';
33
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
44
import { default as SelectPrompt } from '../../src/prompts/select.js';

packages/prompts/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
"url": "https://github.com/bombshell-dev/clack/issues"
2222
},
2323
"homepage": "https://github.com/bombshell-dev/clack/tree/main/packages/prompts#readme",
24-
"files": ["dist", "CHANGELOG.md"],
24+
"files": [
25+
"dist",
26+
"CHANGELOG.md"
27+
],
2528
"author": {
2629
"name": "Nate Moore",
2730
"email": "[email protected]",
@@ -56,8 +59,8 @@
5659
},
5760
"devDependencies": {
5861
"is-unicode-supported": "^1.3.0",
59-
"memfs": "^4.17.1",
60-
"vitest": "^3.1.1",
62+
"memfs": "^4.17.2",
63+
"vitest": "^3.2.4",
6164
"vitest-ansi-serializer": "^0.1.2"
6265
}
6366
}

0 commit comments

Comments
 (0)