mirror of
https://github.com/unraid/api.git
synced 2026-01-02 14:40:01 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a CLI tool to scaffold new Unraid API plugins, including templates for configuration, persistence, and GraphQL resolvers. - Added plugin management commands to the CLI for installing, removing, and listing plugins as peer dependencies. - Implemented robust configuration state management with validation, persistence, and error handling. - Added scheduled and debounced persistence for configuration changes. - Provided utilities for file existence checks and CSV string parsing. - Enhanced GraphQL schema with new queries and mutations for health checks and demo configuration. - **Improvements** - Updated configuration and environment handling to support modular, persistent plugin configs. - Improved logging and error handling throughout CLI and service layers. - Refined dependency management for plugins, including support for bundled dependencies. - **Bug Fixes** - Improved error handling during Docker service initialization to prevent unhandled exceptions. - **Chores** - Added and updated development dependencies and TypeScript configurations for better compatibility and type safety. - **Refactor** - Restructured internal modules to support dynamic plugin loading and configuration injection. - Removed deprecated plugin schema extension logic and related code. - **Documentation** - Updated and added configuration files and templates for easier plugin development and management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
21 lines
528 B
Makefile
21 lines
528 B
Makefile
set fallback
|
|
|
|
default:
|
|
@just --list --justfile {{justfile()}} --list-heading $'\nAPI project recipes:\n'
|
|
@just list-commands
|
|
|
|
# builds js files that can run on an unraid server
|
|
@build:
|
|
pnpm run build
|
|
|
|
# deploys to an unraid server
|
|
@deploy remote:
|
|
./scripts/deploy-dev.sh {{remote}}
|
|
|
|
alias b := build
|
|
alias d := deploy
|
|
|
|
sync-env server:
|
|
rsync -avz --progress --stats -e ssh .env* root@{{server}}:/usr/local/unraid-api
|
|
ssh root@{{server}} 'cp /usr/local/unraid-api/.env.staging /usr/local/unraid-api/.env'
|