forked from shepherdjerred/monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.mise.toml
More file actions
43 lines (33 loc) · 1.06 KB
/
Copy path.mise.toml
File metadata and controls
43 lines (33 loc) · 1.06 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
# Mise configuration for monorepo development
# Run `mise run dev` to set up your development environment
[tools]
# renovate: datasource=github-releases depName=oven-sh/bun
bun = "1.3.11"
rust = "latest"
java = "latest"
[tasks.dev]
description = "Set up the development environment for all packages"
run = """
#!/usr/bin/env bash
set -e
echo "🔧 Setting up development environment..."
# Trust mise configuration
echo "📋 Trusting mise configuration..."
mise trust
# Install mise tools
echo "🛠️ Installing mise tools..."
mise install
# Install root dependencies
echo "📦 Installing root dependencies..."
bun install
# Generate Prisma client for birmel
echo "🗄️ Generating Prisma client for birmel..."
cd packages/birmel && bunx prisma generate && cd ../..
echo "✅ Development environment setup complete!"
"""
[tasks.install]
description = "Install all dependencies (alias for dev)"
depends = ["dev"]
[tasks.prisma]
description = "Generate Prisma client for birmel"
run = "cd packages/birmel && bunx prisma generate"