Skip to content

Commit

Permalink
chore: bump deps & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Oct 15, 2024
1 parent 29864f1 commit c54412f
Show file tree
Hide file tree
Showing 8 changed files with 1,959 additions and 1,670 deletions.
14 changes: 7 additions & 7 deletions client/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ import { DEVTOOLS_UI_ROUTE } from '../src/constants'
const resolver = createResolver(import.meta.url)

export default defineNuxtConfig({
ssr: false,
devtools: { enabled: false },

modules: [
'@nuxt/devtools-ui-kit',
],
nitro: {
output: {
publicDir: resolver.resolve('../dist/client'),
},
},
ssr: false,
devtools: { enabled: false },
app: {
baseURL: DEVTOOLS_UI_ROUTE,
},

compatibilityDate: '2024-07-04',
nitro: {
output: {
publicDir: resolver.resolve('../dist/client'),
},
},
})
8 changes: 4 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"generate": "nuxi generate"
},
"devDependencies": {
"@iconify-json/carbon": "^1.2.1",
"@nuxt/devtools-kit": "^1.5.1",
"@nuxt/devtools-ui-kit": "latest",
"@iconify-json/carbon": "^1.2.3",
"@nuxt/devtools-kit": "^1.6.0",
"@nuxt/devtools-ui-kit": "^1.6.0",
"@nuxt/kit": "^3.13.2",
"nuxt": "latest",
"vue": "3.5.5",
"vue": "^3.5.12",
"vue-router": "latest"
}
}
52 changes: 26 additions & 26 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ export default defineNuxtConfig({
},
],

future: {
compatibilityVersion: 4,
},

hooks: {
// Define `@nuxt/ui` components as global to use them in `.md` (feel free to add those you need)
'components:extend': (components) => {
const globals = components.filter(c => ['UButton', 'UIcon', 'UAlert'].includes(c.pascalName))
globals.forEach(c => c.global = true)
},
},

$production: {
scripts: {
registry: {
Expand All @@ -51,6 +39,10 @@ export default defineNuxtConfig({
},
},

devtools: {
enabled: true,
},

app: {
head: {
seoMeta: {
Expand All @@ -65,22 +57,28 @@ export default defineNuxtConfig({
},
},

site: {
name: 'Nuxt Scripts',
url: 'scripts.nuxt.com',
},

ui: {
icons: ['heroicons', 'ph', 'simple-icons'],
},

build: {
transpile: ['shiki'],
},

routeRules: {
'/api/search.json': { prerender: true },
},

site: {
name: 'Nuxt Scripts',
url: 'scripts.nuxt.com',
future: {
compatibilityVersion: 4,
},

sitemap: {
strictNuxtContentPaths: true,
},
compatibilityDate: '2024-07-03',

nitro: {
prerender: {
Expand All @@ -89,17 +87,19 @@ export default defineNuxtConfig({
},
},

build: {
transpile: ['shiki'],
typescript: {
strict: false,
},

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

typescript: {
strict: false,
sitemap: {
strictNuxtContentPaths: true,
},

compatibilityDate: '2024-07-03',
})
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
"pathe": "^1.1.2",
"pkg-types": "^1.2.0",
"semver": "^7.6.3",
"shiki": "1.20.0",
"sirv": "^2.0.4",
"shiki": "1.22.0",
"sirv": "^3.0.0",
"std-env": "^3.7.0",
"third-party-capital": "2.3.0",
"ufo": "^1.5.4",
Expand All @@ -97,16 +97,16 @@
},
"devDependencies": {
"@nuxt/devtools-ui-kit": "^1.5.1",
"@nuxt/eslint-config": "^0.5.7",
"@nuxt/eslint-config": "^0.6.0",
"@nuxt/module-builder": "^0.8.4",
"@nuxt/test-utils": "3.14.2",
"@nuxt/test-utils": "3.14.3",
"@types/semver": "^7.5.8",
"@typescript-eslint/typescript-estree": "^8.7.0",
"@unhead/schema": "1.11.9",
"acorn-loose": "^8.4.0",
"bumpp": "^9.5.2",
"changelogen": "^0.5.7",
"eslint": "9.11.1",
"eslint": "9.12.0",
"eslint-plugin-n": "^17.10.3",
"knitwork": "^1.1.0",
"nuxt": "^3.13.2",
Expand Down
8 changes: 4 additions & 4 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export default defineNuxtConfig({
devtools: { enabled: true },
compatibilityDate: '2024-07-14',

scripts: {
debug: true,
},

nitro: {
prerender: {
failOnError: false,
},
},

scripts: {
debug: true,
},
})
Loading

0 comments on commit c54412f

Please sign in to comment.