ConusAI vendor v0.1.0-dev.20261013+85463d22

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261013+85463d22
2026-10-13 20:45:57 +00:00
parent c3c6526952
commit 0da8a2a81b
67 changed files with 1510 additions and 10153 deletions
+20
View File
@@ -0,0 +1,20 @@
import { readFileSync } from 'node:fs'
import { describe, expect, it } from 'vitest'
// `next build` rewrites tsconfig.json when the values differ from what Next 16
// mandates (jsx: react-jsx, .next/dev/types in include), dirtying the checkout on
// every build. The shipped file must already hold them.
const tsconfig = JSON.parse(readFileSync(new URL('../tsconfig.json', import.meta.url), 'utf8')) as {
compilerOptions: { jsx?: string }
include: string[]
}
describe('tsconfig holds the values Next 16 mandates', () => {
it('uses the React automatic runtime jsx setting', () => {
expect(tsconfig.compilerOptions.jsx).toBe('react-jsx')
})
it('includes the dev types directory', () => {
expect(tsconfig.include).toContain('.next/dev/types/**/*.ts')
})
})