Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export default defineNuxtConfig({
compatibilityDate: "2025-05-15",
nitro: {
preset: "cloudflare_module", // SSR用 .output/server/wrangler.json が生成される 'cloudflare' はPages用
minify: false,
cloudflare: {
deployConfig: true,
nodeCompat: true,
Expand Down
19 changes: 19 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
packages:
- ./

# v10.5+ で有効。依存のビルドを許可するパッケージを列挙
onlyBuiltDependencies:
- esbuild
- '@tailwindcss/oxide'
- '@parcel/watcher'
- '@biomejs/biome'

# 余計なプラットフォーム用の optional を入れない(任意)
supportedArchitectures:
os:
- win32
cpu:
- x64
Comment on lines +11 to +16

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Limiting optional binaries to win32 breaks non‑Windows installs

pnpm-workspace.yaml narrows supportedArchitectures to only win32/x64. pnpm uses this list to decide which platform-specific optional dependencies to install. Running pnpm install on Linux or macOS (the usual local and CI/Cloudflare environments for this repo) will skip the native binaries for packages like esbuild and @parcel/watcher, leading to missing executables or slow source builds and installation failures. Unless the project is meant to run exclusively on Windows, this change makes non‑Windows environments unable to install or build the project.

Useful? React with 👍 / 👎.

# あるいは、明確に要らないものを無視(任意・例)
# ignoredOptionalDependencies:
# - '@tailwindcss/oxide-android-arm64'