-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathmise.toml
More file actions
87 lines (69 loc) · 2.33 KB
/
mise.toml
File metadata and controls
87 lines (69 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[tools]
node = "24"
python = "3.14.3"
kubeconform = "0.7.0"
osv-scanner = "2.3.3"
[env]
_.file = ['backend/.env.development']
[tasks."deps:frontend"]
run = 'cd frontend && npm install'
sources = ["frontend/package.json", "frontend/package-lock.json"]
description = 'Install frontend dependencies'
[tasks."deps:backend"]
run = 'cd backend && python -m venv .venv && .venv/bin/pip install -r requirements.txt'
sources = ["backend/requirements.txt"]
description = 'Install backend dependencies and create virtual environment'
[tasks.deps]
description = 'Install all dependencies'
depends = ["deps:frontend", "deps:backend"]
[tasks."dev:frontend"]
run = 'cd frontend && npm run dev'
description = 'Start frontend dev server (port 3000)'
depends = ["deps:frontend"]
[tasks."dev:backend"]
run = 'cd backend && .venv/bin/flask --app app --env-file .env.development run'
description = 'Start backend dev server (port 5000)'
depends = ["deps:backend"]
[tasks."build:frontend"]
run = 'cd frontend && npm run build'
description = 'Build frontend for production'
depends = ["deps:frontend"]
[tasks."start:frontend"]
run = 'cd frontend && npm run start'
description = 'Start frontend production server'
depends = ["build:frontend"]
[tasks.lint]
run = 'cd frontend && npm run lint'
description = 'Run frontend linter'
depends = ["deps:frontend"]
[tasks.dev]
alias = "serve"
description = 'Start backend and frontend for development'
run = '''
#!/usr/bin/env bash
set -e
echo "Starting backend on port 5000..."
cd backend && .venv/bin/flask --app app --env-file .env.development run &
BACKEND_PID=$!
echo "Starting frontend on port 3000..."
cd frontend && npm run dev &
FRONTEND_PID=$!
echo ""
echo "Services started:"
echo " Frontend: http://localhost:3000"
echo " Backend: http://localhost:5000"
echo ""
echo "Press Ctrl+C to stop all services"
trap "kill $BACKEND_PID $FRONTEND_PID" EXIT
wait
'''
depends = ["deps"]
[tasks."chart:validate"]
description = 'Validate Helm chart with kubeconform across Kubernetes versions'
run = './deploy/scripts/distr-compatibility-matrix.sh'
[tasks."chart:validate:selftest"]
description = 'Run kubeconform self-tests'
run = './deploy/scripts/distr-compatibility-matrix-selftest.sh'
[tasks."vulnerability:scan"]
description = 'Scan dependencies for known vulnerabilities using osv-scanner'
run = './deploy/scripts/distr-vulnerability-scan.sh'