fe9a252dcd
CD - Develop / build-and-deploy (push) Failing after 54s
- frontend/: full aria.bcos.dev SPA (port 5187) with Dashboard, Threat Events, and IOC Management views; Phase 2-3 nav items disabled as placeholders - ThreatEventController: GET /api/aria/events (paginated, severity/device filter) and GET /api/aria/stats (total/critical/high/activeIoc counts) - Deployed to bcos.dev: hiveiq-aria-frontend container + aria.bcos.dev NPM proxy Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
482 B
TypeScript
22 lines
482 B
TypeScript
import { defineConfig } from 'vite'
|
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
|
import sveltePreprocess from 'svelte-preprocess'
|
|
import { readFileSync } from 'fs'
|
|
|
|
const pkg = JSON.parse(readFileSync('./package.json', 'utf-8'))
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
svelte({
|
|
preprocess: sveltePreprocess({ typescript: true })
|
|
})
|
|
],
|
|
define: {
|
|
__APP_VERSION__: JSON.stringify(pkg.version),
|
|
},
|
|
server: {
|
|
port: 5187,
|
|
open: true,
|
|
}
|
|
})
|