Megamono

DOCUMENTATION

On this page
  1. When to use it
  2. Usage
  3. Options
  4. Next steps

app

Add a convention-aligned application

When to use it

Create an application with its project configuration, tags, and development tasks. Choose a web app, public site, API, or supported native app type. Web and site apps use the Pages Router by default; select router=app for the App Router. For the native Kotlin preset, follow Create a native Android app.

Usage

bash
npm exec -- nx generate @megamono/plugin:app --dry-run

Replace angle-bracket placeholders with reviewed values. Nx's --dry-run previews generator writes; remove it only after reviewing the plan. Examples use npm; use your workspace's package manager if it differs.

Options

Use these options with @megamono/plugin:app. Nx uses the camelCase names shown here; the CLI reference describes command-line aliases. Some options are required only for particular choices.

OptionRequiredTypeDefaultDescription
displayNameNostring—Extension or Android product display name; defaults to the application basename.
applicationIdNostring—Android-only reverse-DNS application ID and Kotlin namespace.
contentScriptMatchesNoarray—Extension-only opt-in page match patterns; omit for a background-only scaffold.
manifestVersionNonumber—Extension-only explicit Chrome/Firefox manifest version. Allowed: 2, 3.
typeNostring—Application preset to create. Allowed: "web", "site", "api", "worker", "mobile", "desktop", "apple", "android", "extension".
nameNostring—Application basename; defaults to the selected type.
directoryNostring—Workspace-relative application root; defaults to apps/<name>.
scopeNostring—Megamono scope tag and package scope.
portNointeger—Explicit unique development port.
stylingNostring—Styling tool used to render the generated web/site billboard. Auto detects the workspace and falls back to CSS Modules. Allowed: "auto", "chakra", "emotion", "tailwind", "panda", "stylex", "css-modules", "inline".
routerNostring—Next.js router for web/site applications. Defaults to Pages Router; not a router migration command. Allowed: "pages", "app".
interactiveNobooleantrueAllow unresolved choices and confirmation to be prompted.
yesNobooleanfalseApply a fully resolved plan without confirmation.
dryRunNobooleanfalsePrint the ordered plan and write nothing.
skipInstallNobooleanfalseWrite dependency declarations but skip deferred generator callbacks, including installation. Run the usual workspace install afterwards.
serviceRunnerNostring"none"— Allowed: "none", "springbar".

Next steps

Review changed files and run the affected project's checks. For options that accept structured values, run the generator's --help or consult the schema in the installed package.

Megamono

One repository system for the applications, tools, and people building together inside it.

BUILD

Get startedGuidesDocumentationCLI referenceCapabilitiesInference

SOURCE

GitHub ↗

MIT licensed

© 2026 Megamono

By

Commune Software