Skip to content

Commit 41d006f

Browse files
committed
chore: update dependencies
1 parent 975b8d2 commit 41d006f

39 files changed

Lines changed: 1401 additions & 1928 deletions

astro.config.ts

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,28 @@ import { colorTheme } from './docs/utils/shiki-theme'
1515
let site = 'https://perfectionist.dev'
1616

1717
export default defineConfig({
18+
vite: {
19+
css: {
20+
lightningcss: {
21+
targets: browserslistToTargets(
22+
browserslist(
23+
browserslist.loadConfig({ path: '.' }) ?? browserslist.defaults,
24+
),
25+
),
26+
},
27+
transformer: 'lightningcss',
28+
},
29+
optimizeDeps: {
30+
exclude: ['shiki-magic-move'],
31+
},
32+
resolve: {
33+
noExternal: ['shiki-magic-move'],
34+
},
35+
plugins: [
36+
// @ts-ignore
37+
svelteSvg(),
38+
],
39+
},
1840
markdown: {
1941
rehypePlugins: [
2042
[
@@ -35,22 +57,6 @@ export default defineConfig({
3557
},
3658
remarkPlugins: [remarkSectionize, remarkHeadings],
3759
},
38-
vite: {
39-
css: {
40-
lightningcss: {
41-
targets: browserslistToTargets(
42-
browserslist(
43-
browserslist.loadConfig({ path: '.' }) ?? browserslist.defaults,
44-
),
45-
),
46-
},
47-
transformer: 'lightningcss',
48-
},
49-
plugins: [
50-
// @ts-ignore
51-
svelteSvg(),
52-
],
53-
},
5460
integrations: [
5561
svelte(),
5662
sitemap({
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { defineCollection, z } from 'astro:content'
1+
import { defineCollection } from 'astro:content'
22
import { glob } from 'astro/loaders'
3+
import { z } from 'astro/zod'
34
import path from 'node:path'
45

56
let guide = defineCollection({
@@ -9,7 +10,7 @@ let guide = defineCollection({
910
title: z.string(),
1011
}),
1112
loader: glob({
12-
base: path.join(import.meta.dirname, 'guide'),
13+
base: path.join(import.meta.dirname, 'content', 'guide'),
1314
pattern: '**/*.mdx',
1415
}),
1516
})
@@ -22,7 +23,7 @@ let configs = defineCollection({
2223
title: z.string(),
2324
}),
2425
loader: glob({
25-
base: path.join(import.meta.dirname, 'configs'),
26+
base: path.join(import.meta.dirname, 'content', 'configs'),
2627
pattern: '**/*.mdx',
2728
}),
2829
})
@@ -36,7 +37,7 @@ let rules = defineCollection({
3637
title: z.string(),
3738
}),
3839
loader: glob({
39-
base: path.join(import.meta.dirname, 'rules'),
40+
base: path.join(import.meta.dirname, 'content', 'rules'),
4041
pattern: '**/*.mdx',
4142
}),
4243
})

knip.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import type { KnipConfig } from 'knip'
22

33
export default {
4+
entry: ['index.ts', 'test/v8-coverage-provider.js'],
5+
ignoreDependencies: ['@vitest/coverage-custom'],
46
ignore: ['test/fixtures/**'],
57
} satisfies KnipConfig

package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -58,54 +58,54 @@
5858
"test:usage": "knip"
5959
},
6060
"dependencies": {
61-
"@typescript-eslint/utils": "^8.56.1",
61+
"@typescript-eslint/utils": "^8.57.1",
6262
"natural-orderby": "^5.0.0"
6363
},
6464
"devDependencies": {
65-
"@astrojs/check": "^0.9.6",
66-
"@astrojs/mdx": "^4.3.13",
67-
"@astrojs/sitemap": "^3.7.0",
68-
"@astrojs/svelte": "^7.2.5",
69-
"@azat-io/eslint-config": "^2.71.0",
65+
"@astrojs/check": "^0.9.8",
66+
"@astrojs/mdx": "^5.0.1",
67+
"@astrojs/sitemap": "^3.7.1",
68+
"@astrojs/svelte": "^8.0.1",
69+
"@azat-io/eslint-config": "^2.73.0",
7070
"@azat-io/prettier-config": "^1.1.1",
71-
"@azat-io/stylelint-config": "^1.7.0",
71+
"@azat-io/stylelint-config": "^1.8.0",
7272
"@azat-io/typescript-config": "^1.1.1",
73-
"@commitlint/cli": "^20.4.3",
74-
"@commitlint/config-conventional": "^20.4.3",
75-
"@commitlint/types": "^20.4.3",
73+
"@commitlint/cli": "^20.5.0",
74+
"@commitlint/config-conventional": "^20.5.0",
75+
"@commitlint/types": "^20.5.0",
7676
"@humanwhocodes/crosspost": "^1.0.3",
7777
"@humanwhocodes/social-changelog": "^0.4.0",
7878
"@nanostores/persistent": "^1.3.3",
7979
"@poppanator/sveltekit-svg": "6.0.1",
80-
"@shikijs/langs": "^4.0.1",
81-
"@shikijs/transformers": "^4.0.1",
80+
"@shikijs/langs": "^4.0.2",
81+
"@shikijs/transformers": "^4.0.2",
8282
"@types/mdast": "^4.0.4",
83-
"@types/node": "^25.3.5",
83+
"@types/node": "^25.5.0",
8484
"@types/unist": "^3.0.3",
85-
"@typescript-eslint/parser": "^8.56.1",
86-
"@typescript-eslint/types": "^8.56.1",
85+
"@typescript-eslint/parser": "^8.57.1",
86+
"@typescript-eslint/types": "^8.57.1",
8787
"@vercel/og": "^0.11.1",
88-
"@vitest/coverage-v8": "^4.0.18",
88+
"@vitest/coverage-v8": "^4.1.0",
8989
"ajv-draft-04": "^1.0.0",
90-
"astro": "^5.18.0",
90+
"astro": "^6.0.5",
9191
"browserslist": "^4.28.1",
9292
"changelogen": "^0.6.2",
9393
"changelogithub": "^14.0.0",
94-
"clean-publish": "^6.0.3",
94+
"clean-publish": "^6.0.4",
9595
"cross-env": "^10.1.0",
9696
"cspell": "^9.7.0",
9797
"dedent": "^1.7.2",
98-
"eslint": "^10.0.2",
98+
"eslint": "^10.0.3",
9999
"eslint-plugin-eslint-plugin": "^7.3.2",
100100
"eslint-vitest-rule-tester": "^3.1.0",
101101
"hast-util-to-text": "^4.0.2",
102102
"json-schema-to-typescript-lite": "^15.0.0",
103103
"keyux": "^0.11.3",
104-
"knip": "^5.85.0",
105-
"lightningcss": "^1.31.1",
104+
"knip": "^5.87.0",
105+
"lightningcss": "^1.32.0",
106106
"mdast-util-to-string": "^4.0.0",
107107
"minisearch": "^7.2.0",
108-
"nanostores": "^1.1.1",
108+
"nanostores": "^1.2.0",
109109
"postcss-html": "^1.8.1",
110110
"prettier": "^3.8.1",
111111
"rehype-external-links": "^3.0.0",
@@ -115,20 +115,20 @@
115115
"remark-parse": "^11.0.0",
116116
"remark-rehype": "^11.1.2",
117117
"remark-sectionize": "^2.1.0",
118-
"shiki": "^4.0.1",
118+
"shiki": "^4.0.2",
119119
"shiki-magic-move": "^1.3.0",
120120
"simple-git-hooks": "^2.13.1",
121121
"stylelint": "^17.4.0",
122-
"svelte": "5.53.7",
123-
"svelte-check": "^4.4.4",
124-
"tinyexec": "^1.0.2",
122+
"svelte": "5.53.13",
123+
"svelte-check": "^4.4.5",
124+
"tinyexec": "^1.0.4",
125125
"typescript": "^5.9.3",
126126
"unified": "^11.0.5",
127127
"unist-util-visit": "^5.1.0",
128128
"vite": "^7.3.1",
129129
"vite-plugin-dts": "4.5.4",
130130
"vite-plugin-prettier-format": "^1.0.0",
131-
"vitest": "^4.0.18"
131+
"vitest": "^4.1.0"
132132
},
133133
"peerDependencies": {
134134
"eslint": "^8.45.0 || ^9.0.0 || ^10.0.0"

0 commit comments

Comments
 (0)