mirror of
https://github.com/unraid/api.git
synced 2025-12-31 05:29:48 -06:00
Sets license for all node.js packages to `GPL-2.0-or-later` <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Simplified license compliance verification by removing legacy script logic. - Updated licensing terms across components to GPL-2.0-or-later for broader compatibility. - **Documentation** - Revised setup instructions to indicate that the use of the Just build tool is now optional. - **New Features** - Added fallback support in the build automation tool to ensure smoother operations when targets are missing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"name": "@unraid/connect-plugin",
|
|
"version": "4.4.1",
|
|
"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 --ignore '*.test.ts' --ignore 'node_modules/**' --ignore 'source/dynamix.unraid.net/install/**' --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.6.5"
|
|
}
|