mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-19 21:52:21 +03:00
fix(publish): remove onnxruntime CUDA binary from tarball to avoid 413 (#3437)
Integrated into release/v3.8.17
This commit is contained in:
committed by
GitHub
parent
3c98e9f1ef
commit
858b6742e8
@@ -25,6 +25,10 @@ const STAGING_FORBIDDEN_FILES = ["audit-report.json", "package-lock.json"];
|
||||
export const APP_STAGING_REMOVAL_PATHS: string[] = [
|
||||
...STAGING_FORBIDDEN_DIRECTORIES,
|
||||
...STAGING_FORBIDDEN_FILES,
|
||||
// onnxruntime CUDA provider binary (~316 MB) inflates the npm tarball
|
||||
// past the registry 413 limit for npm.org. It's only needed on systems
|
||||
// with a CUDA GPU — users install CUDA providers separately.
|
||||
"node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime_providers_cuda.so",
|
||||
];
|
||||
|
||||
export const APP_STAGING_ALLOWED_EXACT_PATHS: string[] = [
|
||||
|
||||
Reference in New Issue
Block a user