Skip to content

Commit 2ab20bf

Browse files
committed
chore: lint repo
1 parent d09c8ec commit 2ab20bf

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

packages/vite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"knitwork": "^1.2.0",
5050
"magic-string": "^0.30.17",
5151
"mlly": "^1.7.4",
52-
"ohash": "^2.0.11",
5352
"mocked-exports": "^0.1.0",
53+
"ohash": "^2.0.11",
5454
"pathe": "^2.0.3",
5555
"perfect-debounce": "^1.0.0",
5656
"pkg-types": "^2.1.0",

packages/vite/src/vite.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { withoutLeadingSlash } from 'ufo'
1010
import { filename } from 'pathe/utils'
1111
import { resolveModulePath } from 'exsolve'
1212
import { resolveTSConfig } from 'pkg-types'
13-
import { resolveModulePath } from 'exsolve'
1413

1514
import { buildClient } from './client'
1615
import { buildServer } from './server'

pnpm-lock.yaml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/fixtures/basic/pages/head.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<script>
22
export default defineNuxtComponent({
3-
head () {
4-
return {
5-
htmlAttrs: {
6-
class: 'html-attrs-test',
7-
},
8-
}
9-
},
103
setup () {
114
const a = ref('')
125
useHead({
@@ -26,6 +19,13 @@ export default defineNuxtComponent({
2619
useHead({ meta: [{ charset: 'utf-16' }, { name: 'description', content: computed(() => `${a.value} with an inline useHead call`) }] })
2720
a.value = 'overriding'
2821
},
22+
head () {
23+
return {
24+
htmlAttrs: {
25+
class: 'html-attrs-test',
26+
},
27+
}
28+
},
2929
})
3030
</script>
3131

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "minimal-pages",
3+
"version": "0.0.0",
4+
"private": true
5+
}

0 commit comments

Comments
 (0)