-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 2.42 KB
/
package.json
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
{
"name": "disaster-recovery",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"bun-install": "npm install -g bun",
"cnpg-repo-install": "helm repo add cnpg https://cloudnative-pg.github.io/charts && helm upgrade --install cnpg --namespace cnpg-system --create-namespace cnpg/cloudnative-pg",
"monitoring-repo-install": "helm repo add prometheus-community https://prometheus-community.github.io/helm-charts && helm upgrade --install -f https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/main/docs/src/samples/monitoring/kube-stack-config.yaml prometheus-community prometheus-community/kube-prometheus-stack",
"deploy-locally": "helm upgrade --install disaster-recovery ./disaster-recovery",
"patch-cnpg-svc": "kubectl patch svc postgresql-rw -n dev -p '{\"spec\": {\"type\": \"NodePort\", \"ports\": [{\"name\": \"postgres\", \"nodePort\": 30003, \"port\": 5432, \"targetPort\": 5432, \"protocol\": \"TCP\"}]}}'",
"monitoring-svc-forward": "kubectl port-forward svc/prometheus-community-grafana 3001:80",
"deploy": "bun run cnpg-repo-install && bun run monitoring-repo-install && bun run deploy-locally && bun run patch-cnpg-svc && bun run monitoring-svc-forward",
"generate-migration": "bunx drizzle-kit generate",
"push-migration": "bunx drizzle-kit migrate"
},
"dependencies": {
"@hookform/resolvers": "^3.6.0",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-toast": "^1.1.5",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.31.2",
"framer-motion": "^11.2.10",
"lucide-react": "^0.390.0",
"next": "14.2.3",
"postgres": "^3.4.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.51.5",
"reveal.js": "^5.1.0",
"sharp": "^0.33.4",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"drizzle-kit": "^0.22.7",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.3",
"postcss": "^8.4.38",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5",
"@types/reveal.js": "^5.0.3"
}
}