Skip to content

Commit c54412f

Browse files
committed
chore: bump deps & lint
1 parent 29864f1 commit c54412f

File tree

8 files changed

+1959
-1670
lines changed

8 files changed

+1959
-1670
lines changed

client/nuxt.config.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ import { DEVTOOLS_UI_ROUTE } from '../src/constants'
44
const resolver = createResolver(import.meta.url)
55

66
export default defineNuxtConfig({
7-
ssr: false,
8-
devtools: { enabled: false },
97

108
modules: [
119
'@nuxt/devtools-ui-kit',
1210
],
13-
nitro: {
14-
output: {
15-
publicDir: resolver.resolve('../dist/client'),
16-
},
17-
},
11+
ssr: false,
12+
devtools: { enabled: false },
1813
app: {
1914
baseURL: DEVTOOLS_UI_ROUTE,
2015
},
2116

2217
compatibilityDate: '2024-07-04',
18+
nitro: {
19+
output: {
20+
publicDir: resolver.resolve('../dist/client'),
21+
},
22+
},
2323
})

client/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"generate": "nuxi generate"
1212
},
1313
"devDependencies": {
14-
"@iconify-json/carbon": "^1.2.1",
15-
"@nuxt/devtools-kit": "^1.5.1",
16-
"@nuxt/devtools-ui-kit": "latest",
14+
"@iconify-json/carbon": "^1.2.3",
15+
"@nuxt/devtools-kit": "^1.6.0",
16+
"@nuxt/devtools-ui-kit": "^1.6.0",
1717
"@nuxt/kit": "^3.13.2",
1818
"nuxt": "latest",
19-
"vue": "3.5.5",
19+
"vue": "^3.5.12",
2020
"vue-router": "latest"
2121
}
2222
}

docs/nuxt.config.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,6 @@ export default defineNuxtConfig({
2929
},
3030
],
3131

32-
future: {
33-
compatibilityVersion: 4,
34-
},
35-
36-
hooks: {
37-
// Define `@nuxt/ui` components as global to use them in `.md` (feel free to add those you need)
38-
'components:extend': (components) => {
39-
const globals = components.filter(c => ['UButton', 'UIcon', 'UAlert'].includes(c.pascalName))
40-
globals.forEach(c => c.global = true)
41-
},
42-
},
43-
4432
$production: {
4533
scripts: {
4634
registry: {
@@ -51,6 +39,10 @@ export default defineNuxtConfig({
5139
},
5240
},
5341

42+
devtools: {
43+
enabled: true,
44+
},
45+
5446
app: {
5547
head: {
5648
seoMeta: {
@@ -65,22 +57,28 @@ export default defineNuxtConfig({
6557
},
6658
},
6759

60+
site: {
61+
name: 'Nuxt Scripts',
62+
url: 'scripts.nuxt.com',
63+
},
64+
6865
ui: {
6966
icons: ['heroicons', 'ph', 'simple-icons'],
7067
},
7168

69+
build: {
70+
transpile: ['shiki'],
71+
},
72+
7273
routeRules: {
7374
'/api/search.json': { prerender: true },
7475
},
7576

76-
site: {
77-
name: 'Nuxt Scripts',
78-
url: 'scripts.nuxt.com',
77+
future: {
78+
compatibilityVersion: 4,
7979
},
8080

81-
sitemap: {
82-
strictNuxtContentPaths: true,
83-
},
81+
compatibilityDate: '2024-07-03',
8482

8583
nitro: {
8684
prerender: {
@@ -89,17 +87,19 @@ export default defineNuxtConfig({
8987
},
9088
},
9189

92-
build: {
93-
transpile: ['shiki'],
90+
typescript: {
91+
strict: false,
9492
},
9593

96-
devtools: {
97-
enabled: true,
94+
hooks: {
95+
// Define `@nuxt/ui` components as global to use them in `.md` (feel free to add those you need)
96+
'components:extend': (components) => {
97+
const globals = components.filter(c => ['UButton', 'UIcon', 'UAlert'].includes(c.pascalName))
98+
globals.forEach(c => c.global = true)
99+
},
98100
},
99101

100-
typescript: {
101-
strict: false,
102+
sitemap: {
103+
strictNuxtContentPaths: true,
102104
},
103-
104-
compatibilityDate: '2024-07-03',
105105
})

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
"pathe": "^1.1.2",
8686
"pkg-types": "^1.2.0",
8787
"semver": "^7.6.3",
88-
"shiki": "1.20.0",
89-
"sirv": "^2.0.4",
88+
"shiki": "1.22.0",
89+
"sirv": "^3.0.0",
9090
"std-env": "^3.7.0",
9191
"third-party-capital": "2.3.0",
9292
"ufo": "^1.5.4",
@@ -97,16 +97,16 @@
9797
},
9898
"devDependencies": {
9999
"@nuxt/devtools-ui-kit": "^1.5.1",
100-
"@nuxt/eslint-config": "^0.5.7",
100+
"@nuxt/eslint-config": "^0.6.0",
101101
"@nuxt/module-builder": "^0.8.4",
102-
"@nuxt/test-utils": "3.14.2",
102+
"@nuxt/test-utils": "3.14.3",
103103
"@types/semver": "^7.5.8",
104104
"@typescript-eslint/typescript-estree": "^8.7.0",
105105
"@unhead/schema": "1.11.9",
106106
"acorn-loose": "^8.4.0",
107107
"bumpp": "^9.5.2",
108108
"changelogen": "^0.5.7",
109-
"eslint": "9.11.1",
109+
"eslint": "9.12.0",
110110
"eslint-plugin-n": "^17.10.3",
111111
"knitwork": "^1.1.0",
112112
"nuxt": "^3.13.2",

playground/nuxt.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ export default defineNuxtConfig({
77
devtools: { enabled: true },
88
compatibilityDate: '2024-07-14',
99

10-
scripts: {
11-
debug: true,
12-
},
13-
1410
nitro: {
1511
prerender: {
1612
failOnError: false,
1713
},
1814
},
15+
16+
scripts: {
17+
debug: true,
18+
},
1919
})

0 commit comments

Comments
 (0)