chore: prepare root nuxt `tsconfig.json`

This commit is contained in:
Daniel Roe 2024-07-03 21:50:01 +01:00
parent 7c9d21a406
commit b42c8633a2
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"build:stub": "pnpm dev:prepare",
"cleanup": "rimraf 'packages/**/node_modules' 'playground/node_modules' 'node_modules'",
"dev": "pnpm play",
"dev:prepare": "pnpm --filter './packages/**' prepack --stub && pnpm --filter './packages/ui-templates' build",
"dev:prepare": "nuxi prepare && pnpm --filter './packages/**' prepack --stub && pnpm --filter './packages/ui-templates' build",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"lint:docs": "markdownlint ./docs && case-police 'docs/**/*.md' *.md",

View File

@ -20,7 +20,7 @@ const nuxt = await loadNuxt({
describe('resolvePath', () => {
it('should resolve paths correctly', async () => {
expect(await resolvePath('.nuxt/app.config')).toBe(resolve(nuxt.options.buildDir, 'app.config'))
expect(await resolvePath('.nuxt/app.config')).toBe(resolve(nuxt.options.buildDir, 'app.config.mjs'))
})
})