Address review feedback from freben

- Use cli-defaults instead of listing individual CLI modules in
  create-app template and root package.json
- Move nodeTransform config files from cli-module-build to cli-node
  to avoid cross-module direct imports
- Rename cli-module-create-github-app to cli-module-github
- Start createCliModule init chain with Promise.resolve()
- Deduplicate exitWithError in runCliModule.ts
- Extract shared isCommandNodeHidden to @internal/cli
- Add explanatory comment for fromArray deduplication field
- Restore error for cli role packages missing bin in runCliExtraction

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-16 12:55:22 +01:00
parent 26eab3bf83
commit 4d081452b1
47 changed files with 147 additions and 185 deletions
+13 -13
View File
@@ -4,19 +4,19 @@ The default set of CLI modules for the Backstage CLI. Installing this single pac
## Included Modules
| Module | Description |
| :--------------------------------------------------------------------------- | :--------------------------------------- |
| [`@backstage/cli-module-auth`](../cli-module-auth) | Authentication commands |
| [`@backstage/cli-module-build`](../cli-module-build) | Build, start, and packaging commands |
| [`@backstage/cli-module-config`](../cli-module-config) | Configuration inspection commands |
| [`@backstage/cli-module-create-github-app`](../cli-module-create-github-app) | GitHub App creation |
| [`@backstage/cli-module-info`](../cli-module-info) | Environment and dependency info |
| [`@backstage/cli-module-lint`](../cli-module-lint) | Linting commands |
| [`@backstage/cli-module-maintenance`](../cli-module-maintenance) | Repository maintenance commands |
| [`@backstage/cli-module-migrate`](../cli-module-migrate) | Migration and version management |
| [`@backstage/cli-module-new`](../cli-module-new) | Scaffolding for new plugins and packages |
| [`@backstage/cli-module-test-jest`](../cli-module-test-jest) | Jest-based testing commands |
| [`@backstage/cli-module-translations`](../cli-module-translations) | Translation management commands |
| Module | Description |
| :----------------------------------------------------------------- | :--------------------------------------- |
| [`@backstage/cli-module-auth`](../cli-module-auth) | Authentication commands |
| [`@backstage/cli-module-build`](../cli-module-build) | Build, start, and packaging commands |
| [`@backstage/cli-module-config`](../cli-module-config) | Configuration inspection commands |
| [`@backstage/cli-module-github`](../cli-module-github) | GitHub App creation |
| [`@backstage/cli-module-info`](../cli-module-info) | Environment and dependency info |
| [`@backstage/cli-module-lint`](../cli-module-lint) | Linting commands |
| [`@backstage/cli-module-maintenance`](../cli-module-maintenance) | Repository maintenance commands |
| [`@backstage/cli-module-migrate`](../cli-module-migrate) | Migration and version management |
| [`@backstage/cli-module-new`](../cli-module-new) | Scaffolding for new plugins and packages |
| [`@backstage/cli-module-test-jest`](../cli-module-test-jest) | Jest-based testing commands |
| [`@backstage/cli-module-translations`](../cli-module-translations) | Translation management commands |
For fine-grained control over which CLI commands are available, you can install individual modules instead.