@mnci/cli 4.41.0 → 4.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/cli.js +245 -93
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -505,6 +505,23 @@ from File`), and the curated root scripts.
|
|
|
505
505
|
4. Installs the chosen **stack** (see below), `husky` + `@commitlint/*` for
|
|
506
506
|
real, so versions resolve at generation time.
|
|
507
507
|
|
|
508
|
+
## `mnci adopt`: reading an existing repository before changing it
|
|
509
|
+
|
|
510
|
+
`mnci adopt` is the start of bringing a repository that already has history, tooling and published
|
|
511
|
+
packages under mnci (the plan is #383). So far it is **report mode only and changes nothing**:
|
|
512
|
+
|
|
513
|
+
```bash
|
|
514
|
+
mnci adopt # what was found, what blocks, what clears each
|
|
515
|
+
mnci adopt --json # the same, as one document
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
It reads git and the filesystem (no Nx, no install, no network) and reports the package manager, the
|
|
519
|
+
`nx` version, every project manifest, the tags and any release tags stranded under an old project name,
|
|
520
|
+
the CI pipelines and whether they already call `mnci ci`, retired tooling (Prettier, oxfmt, verdaccio)
|
|
521
|
+
and the root files that are yours (`CLAUDE.md`, `AGENTS.md`). A **blocker** (not a git repository,
|
|
522
|
+
uncommitted changes, a package manager other than npm, no projects) makes it exit non-zero; a **warning**
|
|
523
|
+
names the later adoption step that clears it. Each later step is its own issue under #383.
|
|
524
|
+
|
|
508
525
|
## `mnci upgrade`: re-applying the overlay to an existing workspace
|
|
509
526
|
|
|
510
527
|
Every fix to `workspace-overlay/overlay.use-case.ts` — a release-config correction, a CI guard rewritten,
|