🎨 style: remove leftover template comments

This commit is contained in:
2026-08-13 02:32:16 +07:00
parent fca139dff9
commit 5a290fcfa5
11 changed files with 20 additions and 102 deletions
-2
View File
@@ -1,3 +1 @@
# These are supported funding model platforms
github: [YuzuZensai] github: [YuzuZensai]
+2 -7
View File
@@ -1,11 +1,6 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2 version: 2
updates: updates:
- package-ecosystem: "npm" # See documentation for possible values - package-ecosystem: "npm"
directory: "/" # Location of package manifests directory: "/"
schedule: schedule:
interval: "weekly" interval: "weekly"
+2 -14
View File
@@ -1,15 +1,3 @@
# backend # @minikura/backend
To install dependencies: Elysia API. From the repo root: `bun run dev`.
```bash
bun install
```
To run:
```bash
bun run index.ts
```
This project was created using `bun init` in bun v1.1.28. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
-7
View File
@@ -1,25 +1,18 @@
{ {
"compilerOptions": { "compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"], "lib": ["ESNext", "DOM"],
"target": "ESNext", "target": "ESNext",
"module": "ESNext", "module": "ESNext",
"moduleDetection": "force", "moduleDetection": "force",
"jsx": "react-jsx", "jsx": "react-jsx",
"allowJs": true, "allowJs": true,
// Bundler mode
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true,
"noEmit": true, "noEmit": true,
// Best practices
"strict": true, "strict": true,
"skipLibCheck": true, "skipLibCheck": true,
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false, "noUnusedLocals": false,
"noUnusedParameters": false, "noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false "noPropertyAccessFromIndexSignature": false
+2 -14
View File
@@ -1,15 +1,3 @@
# web # @minikura/web
To install dependencies: Next.js dashboard. From the repo root: `bun run web` or `bun run dev`.
```bash
bun install
```
To run:
```bash
bun run index.ts
```
This project was created using `bun init` in bun v1.1.28. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
+2 -14
View File
@@ -1,15 +1,3 @@
# api # @minikura/api
To install dependencies: Shared API types and constants used by backend and web.
```bash
bun install
```
To run:
```bash
bun run src/index.ts
```
This project was created using `bun init` in bun v1.1.28. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
-7
View File
@@ -1,25 +1,18 @@
{ {
"compilerOptions": { "compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"], "lib": ["ESNext", "DOM"],
"target": "ESNext", "target": "ESNext",
"module": "ESNext", "module": "ESNext",
"moduleDetection": "force", "moduleDetection": "force",
"jsx": "react-jsx", "jsx": "react-jsx",
"allowJs": true, "allowJs": true,
// Bundler mode
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true,
"noEmit": true, "noEmit": true,
// Best practices
"strict": true, "strict": true,
"skipLibCheck": true, "skipLibCheck": true,
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false, "noUnusedLocals": false,
"noUnusedParameters": false, "noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false "noPropertyAccessFromIndexSignature": false
+1 -13
View File
@@ -1,15 +1,3 @@
# @minikura/db # @minikura/db
To install dependencies: Prisma schema and client. From the repo root: `bun run db:generate`, `bun run db:push`, `bun run db:studio`.
```bash
bun install
```
To run:
```bash
bun run src/index.ts
```
This project was created using `bun init` in bun v1.1.28. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
+10 -10
View File
@@ -104,9 +104,9 @@ model ReverseProxyServer {
external_address String external_address String
external_port Int external_port Int
listen_port Int @default(25565) listen_port Int @default(25565)
memory Int @default(512) // Memory in MB memory Int @default(512) // MB
cpu_request String? @default("250m") // CPU request, e.g., "250m", "1" cpu_request String? @default("250m")
cpu_limit String? @default("500m") // CPU limit, e.g., "500m", "2" cpu_limit String? @default("500m")
service_type ServiceType @default(LOAD_BALANCER) service_type ServiceType @default(LOAD_BALANCER)
node_port Int? node_port Int?
api_key String @unique api_key String @unique
@@ -130,19 +130,19 @@ model Server {
type ServerType type ServerType
description String? description String?
listen_port Int @default(25565) listen_port Int @default(25565)
memory Int @default(2048) // Memory limit in MB memory Int @default(2048) // MB limit
memory_request Int @default(1024) // Memory request in MB memory_request Int @default(1024) // MB request
cpu_request String? @default("500m") // CPU request, e.g., "500m", "1" cpu_request String? @default("500m")
cpu_limit String? @default("2") // CPU limit, e.g., "2", "500m" cpu_limit String? @default("2")
service_type ServiceType @default(CLUSTER_IP) service_type ServiceType @default(CLUSTER_IP)
node_port Int? node_port Int?
env_variables CustomEnvironmentVariable[] @relation("ServerEnvVars") env_variables CustomEnvironmentVariable[] @relation("ServerEnvVars")
api_key String @unique api_key String @unique
jar_type MinecraftServerJarType @default(VANILLA) jar_type MinecraftServerJarType @default(VANILLA)
minecraft_version String @default("LATEST") // e.g., "LATEST", "1.20.4", "SNAPSHOT" minecraft_version String @default("LATEST")
jvm_opts String? // Custom JVM options jvm_opts String?
use_aikar_flags Boolean @default(false) use_aikar_flags Boolean @default(false)
use_meowice_flags Boolean @default(false) use_meowice_flags Boolean @default(false)
@@ -153,7 +153,7 @@ model Server {
online_mode Boolean @default(true) online_mode Boolean @default(true)
motd String? motd String?
level_seed String? level_seed String?
level_type String? // default, flat, largeBiomes, amplified level_type String? // default | flat | largeBiomes | amplified
created_at DateTime @default(now()) created_at DateTime @default(now())
updated_at DateTime @updatedAt updated_at DateTime @updatedAt
-7
View File
@@ -1,25 +1,18 @@
{ {
"compilerOptions": { "compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"], "lib": ["ESNext", "DOM"],
"target": "ESNext", "target": "ESNext",
"module": "ESNext", "module": "ESNext",
"moduleDetection": "force", "moduleDetection": "force",
"jsx": "react-jsx", "jsx": "react-jsx",
"allowJs": true, "allowJs": true,
// Bundler mode
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
"verbatimModuleSyntax": true, "verbatimModuleSyntax": true,
"noEmit": true, "noEmit": true,
// Best practices
"strict": true, "strict": true,
"skipLibCheck": true, "skipLibCheck": true,
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false, "noUnusedLocals": false,
"noUnusedParameters": false, "noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false "noPropertyAccessFromIndexSignature": false
+1 -7
View File
@@ -1,6 +1,4 @@
#!/bin/bash #!/bin/bash
# Minikura Installer
set -e set -e
NAMESPACE="${KUBERNETES_NAMESPACE:-minikura}" NAMESPACE="${KUBERNETES_NAMESPACE:-minikura}"
@@ -12,7 +10,6 @@ echo "║ Minikura Kubernetes Installer ║"
echo "╚════════════════════════════════════════════════╝" echo "╚════════════════════════════════════════════════╝"
echo "" echo ""
# Check prerequisites
echo "-> Checking prerequisites..." echo "-> Checking prerequisites..."
if ! command -v kubectl &> /dev/null; then if ! command -v kubectl &> /dev/null; then
echo "[WARN] kubectl not found. Skipping k8s setup." echo "[WARN] kubectl not found. Skipping k8s setup."
@@ -30,12 +27,10 @@ echo "[OK] kubectl found"
echo "[OK] Connected to Kubernetes cluster" echo "[OK] Connected to Kubernetes cluster"
echo "" echo ""
# Create namespace
echo "-> Creating namespace: $NAMESPACE" echo "-> Creating namespace: $NAMESPACE"
kubectl create namespace $NAMESPACE --dry-run=client -o yaml | kubectl apply -f - kubectl create namespace $NAMESPACE --dry-run=client -o yaml | kubectl apply -f -
echo "" echo ""
# Apply CRDs and operator RBAC
echo "-> Installing operator CRDs" echo "-> Installing operator CRDs"
make -C "$PROJECT_ROOT/operator" install-crds make -C "$PROJECT_ROOT/operator" install-crds
echo "[OK] CRDs installed" echo "[OK] CRDs installed"
@@ -62,6 +57,5 @@ echo " [OK] ServiceAccount: minikura-operator"
echo " [OK] ClusterRole + ClusterRoleBinding" echo " [OK] ClusterRole + ClusterRoleBinding"
echo "" echo ""
echo "Next steps:" echo "Next steps:"
echo " bun run dev - Start backend + web" echo " bun run dev - Start backend, web, and Go operator"
echo " bun run operator:dev - Start Go operator"
echo "" echo ""