mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
due to issues and redundancies in vendoring postinstall side-effects, such as compiled bindings for libvirt, we reverted to vendoring `node_modules`, installed via `npm` instead of a global pnpm store generated by `pnpm`. This should resolve runtime issues with e.g. the libvirt bindings because `node_modules` will contain the correct "side-effects." ## Summary by CodeRabbit - **New Features** - Introduced a command to remove stale archive files during the cleanup process. - Added functionality to archive the `node_modules` directory. - Enhanced dependency resolution with new overrides for specific packages. - **Chores** - Updated dependency settings by replacing one key dependency with an alternative and removing two unused ones, ensuring optimal deployment. - Enhanced the installation process to operate strictly in offline mode. - Updated artifact naming conventions for clarity and consistency in workflows. - Modified volume mappings in the Docker Compose configuration to reflect new artifact names. - Improved error handling in the GitHub Actions workflow by adding checks for required files. - Updated references in the build process to use a vendor store instead of the PNPM store. - Removed the management of PNPM store archives from the build process.
42 lines
918 B
JSON
42 lines
918 B
JSON
{
|
|
"name": "unraid-monorepo",
|
|
"private": true,
|
|
"version": "4.6.6",
|
|
"scripts": {
|
|
"build": "pnpm -r build",
|
|
"build:watch": "pnpm -r build:watch",
|
|
"dev": "pnpm -r dev",
|
|
"unraid:deploy": "pnpm -r unraid:deploy",
|
|
"test": "pnpm -r test",
|
|
"lint": "pnpm -r lint",
|
|
"lint:fix": "pnpm -r lint:fix",
|
|
"type-check": "pnpm -r type-check",
|
|
"check": "manypkg check",
|
|
"sync-webgui-repo": "node web/scripts/sync-webgui-repo.js"
|
|
},
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"allowAny": [
|
|
"vue"
|
|
]
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@apollo/protobufjs",
|
|
"protobufjs",
|
|
"@parcel/watcher",
|
|
"@swc/core",
|
|
"@unraid/libvirt",
|
|
"esbuild",
|
|
"ssh2",
|
|
"vue-demi"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@manypkg/cli": "^0.23.0",
|
|
"chalk": "^5.0.0",
|
|
"diff": "^7.0.0",
|
|
"ignore": "^7.0.0"
|
|
},
|
|
"packageManager": "pnpm@10.7.1"
|
|
}
|