feat: add initial project configuration and smoke tests
- 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.
This commit is contained in:
17
packages/api/vitest.e2e.config.ts
Normal file
17
packages/api/vitest.e2e.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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'),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user