mirror of
https://github.com/unraid/api.git
synced 2026-05-25 03:10:17 -05:00
f65788aa94
Changes plugin interface to expect Nest modules instead of a custom plain JS object. ## Summary by CodeRabbit - **New Features** - Introduced updated health check plugins, including a new connect plugin exposing a GraphQL health query and configuration logging. - **Refactor** - Streamlined the overall plugin registration and management across API, CLI, and GraphQL modules for improved clarity and logging. - Simplified the `CliModule` and `PluginService` to reduce complexity and enhance maintainability. - **Chores** - Updated dependency configurations and build scripts while introducing new TypeScript setups to enhance maintainability and consistency. - Added new `package.json` and `tsconfig.json` files for the `unraid-api-plugin-connect` and `unraid-api-plugin-health` projects. - Modified GitHub Actions workflow to update tag format for pull requests.
34 lines
832 B
JSON
34 lines
832 B
JSON
{
|
|
"name": "unraid-api-plugin-health",
|
|
"version": "1.0.0",
|
|
"main": "dist/index.js",
|
|
"type": "module",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"build": "tsc",
|
|
"prepare": "npm run build"
|
|
},
|
|
"keywords": [],
|
|
"author": "Lime Technology, Inc. <unraid.net>",
|
|
"license": "GPL-2.0-or-later",
|
|
"description": "Example Health plugin for Unraid API",
|
|
"devDependencies": {
|
|
"@nestjs/common": "^11.0.11",
|
|
"@nestjs/config": "^4.0.2",
|
|
"@nestjs/core": "^11.0.11",
|
|
"@nestjs/graphql": "^13.0.3",
|
|
"nest-authz": "^2.14.0",
|
|
"typescript": "^5.8.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@nestjs/common": "^11.0.11",
|
|
"@nestjs/config": "^4.0.2",
|
|
"@nestjs/core": "^11.0.11",
|
|
"@nestjs/graphql": "^13.0.3",
|
|
"nest-authz": "^2.14.0"
|
|
}
|
|
}
|