Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter

- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
This commit is contained in:
Eric F
2026-06-08 00:38:27 -04:00
parent 468cfeaa50
commit d398a6ced2
7326 changed files with 1177561 additions and 7 deletions

View File

@@ -0,0 +1,35 @@
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache-2.0
import { defineConfig } from 'vitest/config';
import { fileURLToPath } from 'url';
export default defineConfig({
test: {
environment: 'node',
setupFiles: [], // optional, see below
include: ['**/*.(test|spec).{ts,tsx}'],
// operator-ui owns its own Playwright e2e specs; vitest can't run them
// (they call @playwright/test's test.use(), which only works under the
// Playwright runner). Run them via `pnpm --filter @citrineos/operator-ui test:e2e`.
exclude: ['**/node_modules/**', '**/dist/**', '**/.next/**', 'apps/operator-ui/**'],
coverage: {
reporter: ['text', 'json', 'html'],
},
},
resolve: {
// Mirror TypeScript path aliases for testing (point to source files, not built files)
alias: {
'@': fileURLToPath(new URL('./packages/core/src', import.meta.url)),
'@dal': fileURLToPath(new URL('./packages/core/src/dal', import.meta.url)),
'@modules': fileURLToPath(new URL('./packages/core/src/modules', import.meta.url)),
'@util': fileURLToPath(new URL('./packages/core/src/util', import.meta.url)),
'@ocpp': fileURLToPath(new URL('./packages/base/src/ocpp', import.meta.url)),
'@config': fileURLToPath(new URL('./packages/base/src/config', import.meta.url)),
'@interfaces': fileURLToPath(new URL('./packages/base/src/interfaces', import.meta.url)),
'@base-util': fileURLToPath(new URL('./packages/base/src/util', import.meta.url)),
'@citrineos/core': fileURLToPath(new URL('./packages/core/index.ts', import.meta.url)),
},
},
});