- Created pnpm workspace configuration to manage packages. - Added a placeholder .gitkeep file in the scripts directory. - Implemented a smoke test script to validate core API and web endpoints. - Established TypeScript base configuration for consistent compilation settings. - Introduced Turbo configuration for task management and build processes.
18 lines
400 B
TypeScript
18 lines
400 B
TypeScript
import swc from 'unplugin-swc';
|
|
import { defineConfig } from 'vitest/config';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['test/**/*.e2e-spec.ts', 'src/**/*.e2e-spec.ts'],
|
|
},
|
|
plugins: [swc.vite()],
|
|
resolve: {
|
|
alias: {
|
|
'@davinci/shared': path.resolve(__dirname, '../shared/src/index.ts'),
|
|
},
|
|
},
|
|
});
|