Skip to content

Commit 461abfb

Browse files
committed
chore: update deps
1 parent 9e51873 commit 461abfb

File tree

23 files changed

+1006
-1155
lines changed

23 files changed

+1006
-1155
lines changed

.changeset/config.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@
33
"changelog": "./changelog.cjs",
44
"commit": false,
55
"fixed": [],
6-
"linked": [["rehype-pretty-code", "@rehype-pretty/transformers"]],
6+
"linked": [
7+
[
8+
"rehype-pretty-code",
9+
"@rehype-pretty/transformers"
10+
]
11+
],
712
"access": "public",
813
"baseBranch": "master",
9-
"ignore": ["docs", "example-*"],
14+
"ignore": [
15+
"docs",
16+
"example-*"
17+
],
1018
"updateInternalDependencies": "patch",
1119
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
1220
"onlyUpdatePeerDependentsWhenOutOfRange": true

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
**/test/results/** linguist-generated
44
**/test/fixtures/** linguist-generated text eol=lf
55

6-
biome.json linguist-language=JSON-with-Comments
76
.vscode/*.json linguist-language=JSON-with-Comments

.vscode/settings.json

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,30 @@
1919
"quickfix.biome": "always"
2020
},
2121
"editor.defaultFormatter": "biomejs.biome",
22-
"[typescript]": { "editor.defaultFormatter": "biomejs.biome" },
23-
"[javascript]": { "editor.defaultFormatter": "biomejs.biome" },
24-
"[typescriptreact]": { "editor.defaultFormatter": "biomejs.biome" },
25-
"[javascriptreact]": { "editor.defaultFormatter": "biomejs.biome" },
26-
"[json]": { "editor.defaultFormatter": "biomejs.biome" },
27-
"[jsonc]": { "editor.defaultFormatter": "biomejs.biome" },
28-
"[astro]": { "editor.defaultFormatter": "astro-build.astro-vscode" },
29-
"[svelte]": { "editor.defaultFormatter": "svelte.svelte-vscode" },
30-
"[vue]": { "editor.defaultFormatter": "vue.volar" },
22+
"[typescript]": {
23+
"editor.defaultFormatter": "biomejs.biome"
24+
},
25+
"[javascript]": {
26+
"editor.defaultFormatter": "biomejs.biome"
27+
},
28+
"[typescriptreact]": {
29+
"editor.defaultFormatter": "biomejs.biome"
30+
},
31+
"[javascriptreact]": {
32+
"editor.defaultFormatter": "biomejs.biome"
33+
},
34+
"[json]": {
35+
"editor.defaultFormatter": "biomejs.biome"
36+
},
37+
"[jsonc]": {
38+
"editor.defaultFormatter": "biomejs.biome"
39+
},
40+
"[astro]": {
41+
"editor.defaultFormatter": "astro-build.astro-vscode"
42+
},
43+
"[svelte]": {
44+
"editor.defaultFormatter": "svelte.svelte-vscode"
45+
},
3146
"files.associations": {
3247
"biome.json": "jsonc",
3348
"*.css": "tailwindcss",

biome.json renamed to biome.jsonc

Lines changed: 41 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
33
"vcs": {
44
"root": ".",
55
"enabled": true,
@@ -28,8 +28,7 @@
2828
"node_modules",
2929
"examples/astro/src/globals.css",
3030
"examples/sveltekit/src/app.css",
31-
"examples/next/src/app/globals.css",
32-
"docs/.vitepress/theme/styles/index.css"
31+
"examples/next/src/app/globals.css"
3332
],
3433
"ignoreUnknown": true
3534
},
@@ -75,14 +74,18 @@
7574
"noUnusedTemplateLiteral": "off",
7675
"useConsistentArrayType": {
7776
"level": "warn",
78-
"options": { "syntax": "generic" }
77+
"options": {
78+
"syntax": "generic"
79+
}
7980
}
8081
},
8182
"performance": {
8283
"noBarrelFile": "off",
8384
"noAccumulatingSpread": "off"
8485
},
85-
"a11y": { "noSvgWithoutTitle": "off" },
86+
"a11y": {
87+
"noSvgWithoutTitle": "off"
88+
},
8689
"correctness": {
8790
"noNodejsModules": "off",
8891
"noUndeclaredVariables": "off"
@@ -107,8 +110,12 @@
107110
}
108111
},
109112
"json": {
113+
"linter": {
114+
"enabled": true
115+
},
110116
"parser": {
111-
"allowComments": true
117+
"allowComments": true,
118+
"allowTrailingCommas": true
112119
},
113120
"formatter": {
114121
"enabled": true
@@ -142,8 +149,29 @@
142149
}
143150
},
144151
"overrides": [
152+
/**
153+
* override to have one item per line in json/jsonc files
154+
*/
155+
{
156+
"include": [
157+
"*.json",
158+
"*.jsonc"
159+
],
160+
"ignore": [
161+
"theme/**",
162+
"moonlight-ii.json"
163+
],
164+
"json": {
165+
"formatter": {
166+
"lineWidth": 1
167+
}
168+
}
169+
},
145170
{
146-
"include": ["test", "scripts"],
171+
"include": [
172+
"test",
173+
"scripts"
174+
],
147175
"linter": {
148176
"rules": {
149177
"suspicious": {
@@ -153,7 +181,9 @@
153181
}
154182
},
155183
{
156-
"include": ["*.astro"],
184+
"include": [
185+
"*.astro"
186+
],
157187
"linter": {
158188
"rules": {
159189
"correctness": {
@@ -167,7 +197,9 @@
167197
}
168198
},
169199
{
170-
"include": ["*.svelte"],
200+
"include": [
201+
"*.svelte"
202+
],
171203
"linter": {
172204
"rules": {
173205
"correctness": {

docs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"dependencies": {
1414
"@astrojs/mdx": "^3.1.2",
15-
"@astrojs/starlight": "^0.24.5",
15+
"@astrojs/starlight": "^0.25.1",
1616
"@astrojs/starlight-tailwind": "^2.0.3",
1717
"@astrojs/tailwind": "^5.1.0",
1818
"@rehype-pretty/transformers": "workspace:*",
@@ -23,15 +23,15 @@
2323
"rehype-stringify": "^10.0.0",
2424
"remark-toc": "^9.0.0",
2525
"sharp": "^0.33.4",
26-
"shiki": "^1.10.1",
27-
"tailwindcss": "^3.4.4"
26+
"shiki": "^1.10.3",
27+
"tailwindcss": "^3.4.5"
2828
},
2929
"devDependencies": {
30-
"@astrojs/check": "^0.7.0",
31-
"@shikijs/transformers": "^1.10.1",
32-
"@shikijs/twoslash": "^1.10.1",
30+
"@astrojs/check": "^0.8.1",
31+
"@shikijs/transformers": "^1.10.3",
32+
"@shikijs/twoslash": "^1.10.3",
3333
"@total-typescript/ts-reset": "^0.5.1",
34-
"@types/node": "^20.14.9",
34+
"@types/node": "^20.14.10",
3535
"typescript": "^5.5.3"
3636
}
3737
}

docs/tsconfig.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
2-
"extends": ["astro/tsconfigs/strictest"],
2+
"extends": [
3+
"astro/tsconfigs/strictest"
4+
],
35
"compilerOptions": {
46
"strict": true,
57
"allowJs": true,
@@ -13,9 +15,19 @@
1315
"allowArbitraryExtensions": true,
1416
"noUncheckedIndexedAccess": true,
1517
"allowImportingTsExtensions": true,
16-
"lib": ["ESNext", "DOM", "DOM.Iterable"],
18+
"lib": [
19+
"ESNext",
20+
"DOM",
21+
"DOM.Iterable"
22+
],
1723
"noPropertyAccessFromIndexSignature": true
1824
},
19-
"include": ["src"],
20-
"files": ["astro.config.ts", "tailwind.config.ts", "reset.d.ts"]
25+
"include": [
26+
"src"
27+
],
28+
"files": [
29+
"reset.d.ts",
30+
"astro.config.ts",
31+
"tailwind.config.ts"
32+
]
2133
}

examples/astro/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
"@rehype-pretty/transformers": "workspace:*",
1818
"astro": "^4.11.5",
1919
"rehype-pretty-code": "workspace:*",
20-
"shiki": "^1.10.1",
21-
"tailwindcss": "^3.4.4"
20+
"shiki": "^1.10.3",
21+
"tailwindcss": "^3.4.5"
2222
},
2323
"devDependencies": {
24-
"@astrojs/check": "^0.7.0",
25-
"@types/node": "^20.14.9",
24+
"@astrojs/check": "^0.8.1",
25+
"@types/node": "^20.14.10",
2626
"typescript": "^5.5.3"
2727
}
2828
}

examples/astro/tsconfig.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
11
{
2-
"extends": ["astro/tsconfigs/strictest"],
2+
"extends": [
3+
"astro/tsconfigs/strictest"
4+
],
35
"compilerOptions": {
46
"target": "ESNext",
5-
"lib": ["ESNext", "DOM", "DOM.Iterable"],
7+
"lib": [
8+
"ESNext",
9+
"DOM",
10+
"DOM.Iterable"
11+
],
612
"module": "ESNext",
713
"moduleResolution": "Bundler"
814
},
9-
"include": ["src"],
10-
"files": ["astro.config.ts", "tailwind.config.ts"]
15+
"include": [
16+
"src"
17+
],
18+
"files": [
19+
"astro.config.ts",
20+
"tailwind.config.ts"
21+
]
1122
}

examples/next/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@
1111
"dependencies": {
1212
"@mdx-js/loader": "^3.0.1",
1313
"@mdx-js/react": "^3.0.1",
14-
"@next/mdx": "^14.2.4",
14+
"@next/mdx": "^14.2.5",
1515
"@rehype-pretty/transformers": "workspace:*",
1616
"@tailwindcss/typography": "^0.5.13",
1717
"autoprefixer": "^10.4.19",
18-
"next": "^14.2.4",
18+
"next": "^14.2.5",
1919
"postcss": "^8.4.39",
2020
"react": "^18.3.1",
2121
"react-dom": "^18.3.1",
2222
"rehype-pretty-code": "workspace:*",
2323
"rehype-slug": "^6.0.0",
2424
"rehype-stringify": "^10.0.0",
25-
"shiki": "^1.10.1",
26-
"tailwindcss": "^3.4.4"
25+
"shiki": "^1.10.3",
26+
"tailwindcss": "^3.4.5"
2727
},
2828
"devDependencies": {
2929
"@types/mdx": "^2.0.13",
30-
"@types/node": "^20.14.9",
30+
"@types/node": "^20.14.10",
3131
"@types/react": "^18.3.3",
3232
"@types/react-dom": "^18.3.0",
3333
"typescript": "^5.5.3"

examples/next/tsconfig.json

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ESNext",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"DOM",
6+
"DOM.Iterable",
7+
"ESNext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -20,10 +24,22 @@
2024
}
2125
],
2226
"paths": {
23-
"@/*": ["./src/*"]
27+
"@/*": [
28+
"./src/*"
29+
]
2430
}
2531
},
26-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
27-
"files": ["next.config.mjs"],
28-
"exclude": ["node_modules", "_"]
32+
"include": [
33+
"next-env.d.ts",
34+
"**/*.ts",
35+
"**/*.tsx",
36+
".next/types/**/*.ts"
37+
],
38+
"files": [
39+
"next.config.mjs"
40+
],
41+
"exclude": [
42+
"_",
43+
"node_modules"
44+
]
2945
}

0 commit comments

Comments
 (0)