Files
gsfdc/demo-dify/dify/cli/scripts/cross-arch.pnpm.yaml
T
wuzilongandCursor 6519682885 chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 13:59:25 +08:00

21 lines
800 B
YAML

# Cross-arch keyring prebuilds for difyctl release builds.
#
# Appended onto pnpm-workspace.yaml in CI *before* the dependency install so a
# single `pnpm install` pulls the @napi-rs/keyring native bindings for every
# release target, letting `bun build --compile` embed the correct per-target
# `.node` into each standalone binary.
#
# Kept out of the committed pnpm-workspace.yaml on purpose: setting it as a
# workspace default would pull every foreign-arch prebuild into ordinary dev
# installs. pnpm only honors supportedArchitectures from pnpm config files
# (workspace yaml / .npmrc parsed as pnpm config), and only on the install that
# first populates node_modules — a second pass is a no-op.
supportedArchitectures:
os:
- linux
- darwin
- win32
cpu:
- x64
- arm64