From 4e39bc48f08f195c0c18c87edd2114a59501da1a Mon Sep 17 00:00:00 2001 From: DeftDawg Date: Thu, 1 Jan 2026 02:09:08 -0500 Subject: [PATCH] Add devbox build environment config --- .envrc | 9 +++++++++ devbox.json | 25 +++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .envrc create mode 100644 devbox.json diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..eff60eb --- /dev/null +++ b/.envrc @@ -0,0 +1,9 @@ +#!/bin/bash + +# Automatically sets up your devbox environment whenever you cd into this +# directory via our direnv integration: + +eval "$(devbox generate direnv --print-envrc)" + +# check out https://www.jetify.com/docs/devbox/ide_configuration/direnv/ +# for more details diff --git a/devbox.json b/devbox.json new file mode 100644 index 0000000..31448bc --- /dev/null +++ b/devbox.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json", + "packages": [ + "nodejs_22", + "pnpm" + ], + "env": { + "DEVBOX_NO_PROMPT": "1" + }, + "shell": { + "init_hook": [ + "if [ ! -d node_modules ]; then pnpm install; fi", + "printf '\\n'", + "printf '\\033[1;36m🎵 Audial dev environment ready!\\033[0m\\n'", + "printf '\\033[1;33m Run: pnpm dev\\033[0m\\n'", + "printf '\\n'" + ], + "scripts": { + "dev": "pnpm dev", + "build": "pnpm build", + "test": "pnpm test", + "check": "pnpm check" + } + } +}