chore: lint repo

This commit is contained in:
Daniel Roe 2025-03-09 15:35:43 +00:00
parent d09c8ec71f
commit 2ab20bfdc7
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
5 changed files with 15 additions and 9 deletions

View File

@ -49,8 +49,8 @@
"knitwork": "^1.2.0",
"magic-string": "^0.30.17",
"mlly": "^1.7.4",
"ohash": "^2.0.11",
"mocked-exports": "^0.1.0",
"ohash": "^2.0.11",
"pathe": "^2.0.3",
"perfect-debounce": "^1.0.0",
"pkg-types": "^2.1.0",

View File

@ -10,7 +10,6 @@ import { withoutLeadingSlash } from 'ufo'
import { filename } from 'pathe/utils'
import { resolveModulePath } from 'exsolve'
import { resolveTSConfig } from 'pkg-types'
import { resolveModulePath } from 'exsolve'
import { buildClient } from './client'
import { buildServer } from './server'

View File

@ -1196,6 +1196,8 @@ importers:
specifier: workspace:*
version: link:../../../packages/nuxt
test/fixtures/minimal-pages: {}
test/fixtures/minimal-types:
dependencies:
nuxt:

View File

@ -1,12 +1,5 @@
<script>
export default defineNuxtComponent({
head () {
return {
htmlAttrs: {
class: 'html-attrs-test',
},
}
},
setup () {
const a = ref('')
useHead({
@ -26,6 +19,13 @@ export default defineNuxtComponent({
useHead({ meta: [{ charset: 'utf-16' }, { name: 'description', content: computed(() => `${a.value} with an inline useHead call`) }] })
a.value = 'overriding'
},
head () {
return {
htmlAttrs: {
class: 'html-attrs-test',
},
}
},
})
</script>

View File

@ -0,0 +1,5 @@
{
"name": "minimal-pages",
"version": "0.0.0",
"private": true
}