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:
@@ -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.
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
"@backstage/cli-module-auth": "workspace:^",
|
||||
"@backstage/cli-module-build": "workspace:^",
|
||||
"@backstage/cli-module-config": "workspace:^",
|
||||
"@backstage/cli-module-create-github-app": "workspace:^",
|
||||
"@backstage/cli-module-github": "workspace:^",
|
||||
"@backstage/cli-module-info": "workspace:^",
|
||||
"@backstage/cli-module-lint": "workspace:^",
|
||||
"@backstage/cli-module-maintenance": "workspace:^",
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
import auth from '@backstage/cli-module-auth';
|
||||
import build from '@backstage/cli-module-build';
|
||||
import config from '@backstage/cli-module-config';
|
||||
import createGithubApp from '@backstage/cli-module-create-github-app';
|
||||
import github from '@backstage/cli-module-github';
|
||||
import info from '@backstage/cli-module-info';
|
||||
import lint from '@backstage/cli-module-lint';
|
||||
import maintenance from '@backstage/cli-module-maintenance';
|
||||
@@ -34,7 +34,7 @@ export default [
|
||||
auth,
|
||||
build,
|
||||
config,
|
||||
createGithubApp,
|
||||
github,
|
||||
info,
|
||||
lint,
|
||||
maintenance,
|
||||
|
||||
Reference in New Issue
Block a user