File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 buildInputs = with pkgs ; [
5454 nodejs_20
5555 bun
56+ doppler
5657
5758 git
5859
6162
6263 shellHook = ''
6364 bun install
65+
66+ # Check and configure Doppler
67+ if ! doppler configure get token --scope / >/dev/null 2>&1; then
68+ echo "🔑 Doppler not configured. Please enter your service token:"
69+ echo -n "Token: "
70+ read -s DOPPLER_TOKEN
71+ echo ""
72+ if [ -n "$DOPPLER_TOKEN" ]; then
73+ echo "$DOPPLER_TOKEN" | doppler configure set token --scope /
74+ echo "✅ Doppler configured successfully"
75+ else
76+ echo "⚠️ No token provided. You can configure later with:"
77+ echo "echo 'your-token' | doppler configure set token --scope /"
78+ fi
79+ else
80+ echo "🔑 Doppler already configured"
81+ fi
82+
83+ echo ""
6484 echo "🚀 Development environment loaded!"
6585 echo "📦 Node.js: $(node --version)"
6686 echo "🥖 Bun: $(bun --version)"
Original file line number Diff line number Diff line change 33 "version" : " 0.1.0" ,
44 "private" : true ,
55 "scripts" : {
6- "dev" : " next dev --turbopack" ,
6+ "dev" : " doppler run -- next dev --turbopack" ,
77 "dev:db" : " convex dev" ,
88 "build" : " next build --turbopack" ,
9- "start" : " next start" ,
9+ "start" : " doppler run -- next start" ,
1010 "check" : " biome check" ,
1111 "check:types" : " tsc --noEmit"
1212 },
You can’t perform that action at this time.
0 commit comments