mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
minimumReleaseAge: 1440
|
|
shellEmulator: true
|
|
trustPolicy: no-downgrade
|
|
trustPolicyExclude:
|
|
- '@netlify/edge-bundler@14.10.3'
|
|
- '@netlify/serverless-functions-api@2.16.0'
|
|
- '@netlify/zip-it-and-ship-it@14.7.1'
|
|
- 'chokidar@4.0.3'
|
|
- 'semver@6.3.1'
|
|
- 'undici-types@6.21.0'
|
|
|
|
peerDependencyRules:
|
|
allowedVersions:
|
|
'@svta/cml-cta': 1.0.1
|
|
'@svta/cml-structured-field-values': 1.0.1
|
|
'@svta/cml-utils': 1.0.1
|
|
|
|
# Also install musl Linux binaries alongside the current platform's. The site's
|
|
# OG image route depends on the native @resvg/resvg-js binding, and the
|
|
# @astrojs/netlify (v8) adapter bundles the serverless function by tracing the
|
|
# server entry with @vercel/nft, then calling fs.realpath on every traced file.
|
|
# nft can't tell glibc from musl statically, so it traces BOTH Linux resvg
|
|
# binaries — but pnpm only installs the glibc variant on Netlify, so realpath
|
|
# on the missing musl binary throws ENOENT and the build fails. Installing the
|
|
# musl variant too gives nft a real file to resolve. ("current" keeps the host
|
|
# default; on non-Linux hosts the os filter excludes Linux packages entirely.)
|
|
supportedArchitectures:
|
|
os:
|
|
- current
|
|
cpu:
|
|
- current
|
|
libc:
|
|
- current
|
|
- musl
|
|
|
|
packages:
|
|
- 'packages/*'
|
|
- 'apps/*'
|
|
- site
|
|
|
|
allowBuilds:
|
|
'@parcel/watcher@2.5.6': true
|
|
'@sentry/cli@2.58.5': true
|
|
'esbuild@0.28.0 || 0.28.1': true
|
|
'sharp@0.34.5': true
|
|
'simple-git-hooks@2.13.1': true
|