fix(docs): resolve missing native Astro compiler bindings in root execution
CI / lint-and-format (push) Successful in 37s
CI / changeset-check (push) Successful in 27s
CI / unit-tests (push) Successful in 42s
CI / component-tests (push) Successful in 32s
CI / lint-and-format (pull_request) Successful in 35s
CI / changeset-check (pull_request) Successful in 25s
CI / unit-tests (pull_request) Successful in 37s
CI / component-tests (pull_request) Successful in 34s

pnpm v11 aggressively purges nested optional platform-specific dependencies during hoisted workspace resolution if the host detection mismatches local metadata. Moving these packages to root devDependencies bypasses pnpm's optional filtering logic, forcing a deterministic physical download of the required Rust compiler binary without cluttering the published library's package.json.

Fixes: #23
This commit is contained in:
2026-08-15 21:33:53 +02:00
parent 63dbbdb971
commit 88991e353e
4 changed files with 646 additions and 4948 deletions
-4323
View File
File diff suppressed because it is too large Load Diff
+5 -1
View File
@@ -38,6 +38,10 @@
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"eslint-plugin-storybook": "10.5.0", "eslint-plugin-storybook": "10.5.0",
"prettier": "^3.9.4", "prettier": "^3.9.4",
"typescript-eslint": "^8.65.0" "typescript-eslint": "^8.65.0",
"@astrojs/compiler-binding-linux-x64-gnu": "0.3.2",
"@astrojs/compiler-binding-win32-x64-msvc": "0.3.2",
"@astrojs/compiler-binding-darwin-x64": "0.3.2",
"@astrojs/compiler-binding-darwin-arm64": "0.3.2"
} }
} }
+637 -615
View File
File diff suppressed because it is too large Load Diff
+4 -9
View File
@@ -10,12 +10,7 @@ onlyBuiltDependencies:
- playwright - playwright
supportedArchitectures: supportedArchitectures:
os: os: [current, linux]
- current cpu: [current, x64]
- linux libc: [current, glibc]
cpu:
- current
- x64
libc:
- current
- glibc