@nexpress/app
v0.4.6
Published
Shared Next.js page implementations for NexPress reference + scaffolded apps. Consumers import via thin re-export so both apps/web and `npx create-nexpress` projects render byte-identical UIs.
Downloads
112
Maintainers
Readme
@nexpress/app
Shared Next.js 16 page, route, script, and configuration implementations for
NexPress. The private reference app
and projects created by create-nexpress use thin local wrappers around this
package so framework fixes arrive through package upgrades.
Host boundary
This is a framework-host package, not a general React component library.
Generated projects normally consume its admin/*, site/*, member/*,
api/*, root/*, scripts/*, and lib/* subpaths through scaffold-owned
files. Unwrap one of those files only when the project intentionally takes
ownership of that behavior.
The package also exports shared Next, Drizzle, PostCSS, and TypeScript config:
// next.config.ts
import { createNextConfig } from "@nexpress/app/config/next-config";
export default createNextConfig();The TypeScript base contains compiler defaults only. Consumer projects keep
their own include, exclude, and @/* path mapping so TypeScript always
checks the consumer source graph rather than files under node_modules.
Links
License
MIT
