Add bin entry points for standalone CLI module execution

Each CLI module package now includes a bin script and cli.ts entry
point, allowing modules to be executed directly via npx without
being wired into the main @backstage/cli package.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-14 11:47:47 +01:00
parent 401c1f7e24
commit 64a96d9d9f
34 changed files with 715 additions and 22 deletions
+4 -2
View File
@@ -20,7 +20,8 @@
"main": "src/index.ts",
"types": "src/index.ts",
"files": [
"dist"
"dist",
"bin"
],
"scripts": {
"build": "backstage-cli package build",
@@ -46,5 +47,6 @@
},
"devDependencies": {
"@backstage/cli": "workspace:^"
}
},
"bin": "bin/cli-module-config"
}