mirror of
https://github.com/unraid/api.git
synced 2025-12-31 05:29:48 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added detailed versioning for plugin packages incorporating architecture and build identifiers. - Simplified and improved install/uninstall scripts with backup and dynamic package detection. - Introduced comprehensive setup, verification, patching, and cleanup scripts for the Unraid API environment. - Enhanced service control with explicit start, stop, restart, and status commands. - Added robust dependency management scripts for restoring and archiving Node.js modules. - Implemented vendor archive metadata storage and dynamic handling during build and runtime. - Added new CLI options and environment schemas for consistent build configuration. - Introduced new shutdown scripts to gracefully stop flash-backup and unraid-api services. - Added utility scripts for API version detection and vendor archive configuration. - Added a new package description file detailing Unraid API features and homepage link. - **Bug Fixes** - Improved validation and error reporting for missing manifests, dependencies, and configuration files. - Enhanced fallback logic for locating and creating vendor archives. - Fixed iframe compatibility in UI by updating HTML and Firefox preference files. - **Chores** - Updated .gitignore with generated file patterns for Node.js binaries and archives. - Removed obsolete internal documentation and legacy cleanup scripts. - Refined Docker Compose and CI workflows to pass precise API versioning and manage build artifacts. - Centralized common environment validation and CLI option definitions across build tools. - Cleaned up plugin manifest by removing Node.js and PNPM-related entities and legacy logic. - Improved logging and error handling in build and installation scripts. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
{
|
|
"name": "@unraid/connect-plugin",
|
|
"version": "4.8.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"commander": "^13.1.0",
|
|
"conventional-changelog": "^6.0.0",
|
|
"date-fns": "^4.1.0",
|
|
"glob": "^11.0.1",
|
|
"html-sloppy-escaper": "^0.1.0",
|
|
"semver": "^7.7.1",
|
|
"tsx": "^4.19.2",
|
|
"zod": "^3.24.1",
|
|
"zx": "^8.3.2"
|
|
},
|
|
"type": "module",
|
|
"license": "GPL-2.0-or-later",
|
|
"scripts": {
|
|
"// Build scripts": "",
|
|
"build": "pnpm run build:txz && pnpm run build:plugin && ./scripts/output-local-url.sh",
|
|
"build:txz": "tsx builder/build-txz.ts",
|
|
"build:plugin": "tsx builder/build-plugin.ts",
|
|
"build:validate": "npm run env:validate && npm run build",
|
|
"build:watcher": "nodemon --verbose --watch 'source/**/*' --watch 'plugins/dynamix.unraid.net.plg' --ext ts,js,plg,sh --ignore '*.test.ts' --ignore 'node_modules/**' --delay 5s --exec 'pnpm run build'",
|
|
"// Docker commands": "",
|
|
"build:watch": "./scripts/dc.sh pnpm run build:watcher",
|
|
"docker:build": "docker compose build",
|
|
"docker:run": "./scripts/dc.sh /bin/bash",
|
|
"docker:build-and-run": "pnpm run docker:build && pnpm run docker:run",
|
|
"// Environment management": "",
|
|
"env:init": "cp .env.example .env",
|
|
"env:validate": "test -f .env || (echo 'Error: .env file missing. Run npm run env:init first' && exit 1)",
|
|
"env:clean": "rm -f .env",
|
|
"// Testing": "",
|
|
"test": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"http-server": "^14.1.1",
|
|
"nodemon": "^3.1.7",
|
|
"vitest": "^3.0.7"
|
|
},
|
|
"packageManager": "pnpm@10.10.0"
|
|
}
|