- Changed SpecialActionKind to TraitKind and updated its usage across the codebase. - Refactored SpecialActionSpec to TraitSpec and updated all references. - Updated the SpecialActionModule and related interfaces to TraitModule. - Added personality traits with corresponding modules and loaders. - Updated tests to reflect the new Trait structure and naming conventions. - Adjusted imports and exports to align with the new Trait system.
18 lines
406 B
TypeScript
18 lines
406 B
TypeScript
import path from 'node:path';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
tsconfigPaths({
|
|
projects: [path.resolve(__dirname, '../../tsconfig.paths.json')],
|
|
}),
|
|
],
|
|
test: {
|
|
environment: 'node',
|
|
globals: true,
|
|
include: ['test/**/*.test.ts']
|
|
}
|
|
});
|