mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-10-31 18:21:58 +08:00
Move the previously untracked TypeScript CLI into iot-dc3 as an independently managed module next to dc3-web: - pnpm workspace (pnpm@11.24.0) with esbuild build approval, package renamed to iot-dc3-cli, npm lockfile dropped - add eslint flat config; lint now runs green after removing unused imports/vars and adding switch-case breaks in config.ts - document CLI conventions and commands in AGENTS.md
14 lines
253 B
TypeScript
14 lines
253 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['test/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['src/**/*.ts'],
|
|
},
|
|
},
|
|
});
|