mirror of
https://github.com/unraid/api.git
synced 2026-01-06 00:30:22 -06:00
chore: improve dx for scripting & setup (#969)
* chore: rm vs code visual customizations * chore(api): fix vscode eslint extension * chore(web): update env.example for local development * chore: add justfiles to simplify workflows * chore: stub monorepo readme * chore: add nvmrc to monorepo root * refactor: improve error handling in `just ignore` * doc(web): explain TAILWIND_BASE_FONT_SIZE in .env.example * chore: add logo to readme
This commit is contained in:
@@ -4,4 +4,9 @@ VITE_UNRAID_NET=https://unraid.ddev.site
|
||||
VITE_OS_RELEASES="https://releases.unraid.net/os"
|
||||
VITE_CALLBACK_KEY=aNotSoSecretKeyUsedToObfuscateQueryParams
|
||||
VITE_ALLOW_CONSOLE_LOGS=true
|
||||
VITE_TAILWIND_BASE_FONT_SIZE=10
|
||||
# Base font size in pixels for Tailwind CSS. Used by the tailwind-rem-to-rem plugin to scale rem values.
|
||||
# This lets us use rem's in our css instead of pixels while remaining webgui-compatible without additional hacks.
|
||||
# This should match your root font size. Default: 16
|
||||
# For an Unraid Webgui deployment, set this to 10.
|
||||
VITE_TAILWIND_BASE_FONT_SIZE=16
|
||||
VITE_WEBGUI=http://localhost:3001
|
||||
|
||||
9
web/justfile
Normal file
9
web/justfile
Normal file
@@ -0,0 +1,9 @@
|
||||
set fallback
|
||||
|
||||
default:
|
||||
@just --list --justfile {{justfile()}} --list-heading $'\nWeb project recipes:\n'
|
||||
@just list-commands
|
||||
|
||||
setup:
|
||||
cp .env.example .env
|
||||
npm install
|
||||
Reference in New Issue
Block a user