P0: Electrobun + Angular 22 + Tailwind skeleton boots under Bun
- Electrobun 1.18 shell with branding in src/shared/branding.ts - Angular 22 zoneless UI in ui/ (workspace), Tailwind v4 shadcn-style tokens - ng-icons/mynaui icon registry - Node-version shim so Angular CLI runs under Bun without Node installed - ssh2 SFTP verified working under Bun against test box Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// Bun reports a Node-compat version (e.g. 24.3.0) older than what the Angular CLI's
|
||||
// engine check demands, which makes every `ng` command exit before doing anything.
|
||||
// Preloaded via bunfig.toml so ng runs under Bun without a real Node install.
|
||||
const REPORTED_NODE_VERSION = "24.15.0";
|
||||
|
||||
if (Bun.semver.order(process.versions.node, REPORTED_NODE_VERSION) < 0) {
|
||||
Object.defineProperty(process.versions, "node", {
|
||||
value: REPORTED_NODE_VERSION,
|
||||
configurable: true,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user