waybetter/packages/create-waybetter/src
CRT 2bd3ace38d create-waybetter: a new app's shell is the framework's shell frame
The app skeleton's src/shell/main.tsx calls createShell with the site (pages, account rules, search,
address chips, a Home link, a Plugins section) and src/shell/Panel.tsx (the app's own tab: the
plugins, switched on or off live); app.css themes it with the --wb-c-* tokens. build.mjs bundles
the shell with waybetter/build (JSX, CSS into dist/shell.css) and writes bootScript() as boot.js.
desktop.rs keeps the frame's titlebar (custom_titlebar: true) and forwards shortcuts and link drags
(BridgeOptions::ALL); the shell capability grants the frame's window calls. Native features the
skeleton does not wire up (workspaces, sync, developer mode, plugin commands) are off in the site.
Dependencies: react, react-dom, dockview, waybetter ^0.4.0.

Tests: sources import only published subpaths (patterns included), main.tsx uses createShell, the
shell capability has the resize permission, and the skeleton typechecks with the React types.
2026-09-29 05:47:18 +00:00
..
app.js create-waybetter: a new app's shell is the framework's shell frame 2026-09-29 05:47:18 +00:00
cli.js create-waybetter: npm create waybetter scaffolds plugins (JS/TS), themes and whole apps 2026-09-28 16:17:32 +00:00
names.js create-waybetter: npm create waybetter scaffolds plugins (JS/TS), themes and whole apps 2026-09-28 16:17:32 +00:00
plugin.js create-waybetter: npm create waybetter scaffolds plugins (JS/TS), themes and whole apps 2026-09-28 16:17:32 +00:00
theme.js create-waybetter: npm create waybetter scaffolds plugins (JS/TS), themes and whole apps 2026-09-28 16:17:32 +00:00