ConusAI vendor v0.1.0-dev.20261027+9b1131fb

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:18 +00:00
commit f23f4e535d
159 changed files with 4293 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { fileURLToPath } from 'node:url'
import { defineConfig } from 'vitest/config'
export default defineConfig({
resolve: {
alias: [
{ find: /^@\//, replacement: `${fileURLToPath(new URL('./src', import.meta.url))}/` },
{ find: /^server-only$/, replacement: fileURLToPath(new URL('./test/server-only.ts', import.meta.url)) },
],
},
// The tests transform JSX themselves (oxc automatic runtime).
oxc: { jsx: { runtime: 'automatic' } },
test: {
include: ['src/**/*.test.{ts,tsx}', 'test/*.test.ts'],
environment: 'node',
// The SDK's dist imports sibling modules without extensions, which plain Node ESM rejects.
server: { deps: { inline: [/@conusai-sdk\//] } },
},
})