AIBRUH Claude Sonnet 4.6 commited on
Commit
2dc2f0f
·
1 Parent(s): 01156a7

Fix HF Space build: approve pnpm build scripts for ffmpeg-static, sharp, unrs-resolver

Browse files

pnpm v11 requires explicit allowBuilds approval in pnpm-workspace.yaml.
Without it, pnpm install --frozen-lockfile blocks native builds and crashes
the Docker build. Build now verified passing locally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (3) hide show
  1. pnpm-lock.yaml +5 -0
  2. pnpm-workspace.yaml +3 -2
  3. pnpm.json +3 -0
pnpm-lock.yaml CHANGED
@@ -4,6 +4,11 @@ settings:
4
  autoInstallPeers: true
5
  excludeLinksFromLockfile: false
6
 
 
 
 
 
 
7
  importers:
8
 
9
  .:
 
4
  autoInstallPeers: true
5
  excludeLinksFromLockfile: false
6
 
7
+ onlyBuiltDependencies:
8
+ - ffmpeg-static
9
+ - sharp
10
+ - unrs-resolver
11
+
12
  importers:
13
 
14
  .:
pnpm-workspace.yaml CHANGED
@@ -1,6 +1,7 @@
1
  allowBuilds:
2
- sharp: set this to true or false
3
- unrs-resolver: set this to true or false
 
4
  minimumReleaseAgeExclude:
5
  - '@huggingface/inference@4.13.20'
6
  - '@runwayml/sdk@4.3.0'
 
1
  allowBuilds:
2
+ ffmpeg-static: true
3
+ sharp: true
4
+ unrs-resolver: true
5
  minimumReleaseAgeExclude:
6
  - '@huggingface/inference@4.13.20'
7
  - '@runwayml/sdk@4.3.0'
pnpm.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "onlyBuiltDependencies": ["ffmpeg-static", "sharp", "unrs-resolver"]
3
+ }