Megamono

DOCUMENTATION

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

convert

Convert an existing npm repository into a planned Megamono workspace

When to use it

Review the conversion plan and unresolved choices before accepting it. Conversion is not an invitation to replace the existing application, lockfile, or release workflow without review.

Usage

bash
npm exec -- nx generate @megamono/plugin:convert --appName="<appName>" --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:convert. Nx uses the camelCase names shown here; the CLI reference describes command-line aliases. Some options are required only for particular choices.

OptionRequiredTypeDefaultDescription
appNameYesstring—What should the existing application be called?
sourceNostring"."Workspace-relative source package root.
destinationNostring—Workspace-relative application destination; defaults to apps/<appName>.
interactiveNobooleantrueEmit interactive-oriented plan guidance; mutation still requires explicit plan acceptance.
acceptPlanNobooleanfalseExplicitly approve the rendered conversion plan for mutation.
verifyNostring"config"Post-flush verification depth. Allowed: "none", "config", "build".
extractNoarray[]Explicit <source>:<destination> library extraction mappings.
resolutionsNoobject{}Explicit ownership for otherwise unclassified source-root entries.
reportNostring—Optional workspace-relative path for the Markdown analysis report.
scopeNostring"shared"Nx scope tag and extracted-library import scope.
dryRunNobooleanfalsePrint the complete plan without changing the virtual tree.

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