mirror of
https://github.com/unraid/api.git
synced 2026-01-07 09:10:05 -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 -->
35 lines
877 B
JSON
35 lines
877 B
JSON
{
|
|
"name": "@unraid/create-api-plugin",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"bin": {
|
|
"create-api-plugin": "./dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"prepare": "npm run build"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^5.4.1",
|
|
"change-case": "^5.4.4",
|
|
"commander": "^13.1.0",
|
|
"create-create-app": "^7.3.0",
|
|
"fs-extra": "^11.3.0",
|
|
"inquirer": "^12.5.2",
|
|
"validate-npm-package-name": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/common": "^11.0.11",
|
|
"@nestjs/config": "^4.0.2",
|
|
"@nestjs/core": "^11.0.11",
|
|
"@nestjs/graphql": "^13.0.3",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/inquirer": "^9.0.7",
|
|
"@types/node": "^22.14.1",
|
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.1",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|