The contentstack-cli-tsgen plugin has moved from the standalone repositories Contentstack-Solutions/contentstack-cli-tsgen and contentstack/contentstack-cli-tsgen into the contentstack/cli-plugins monorepo at packages/contentstack-cli-tsgen.
The npm package name is unchanged: contentstack-cli-tsgen. Install and command usage stay the same (csdx tsgen).
| Before | After |
|---|---|
Source: standalone contentstack-cli-tsgen repos |
Source: github.com/contentstack/cli-plugins → packages/contentstack-cli-tsgen |
| Issues: standalone repo | Issues: cli-plugins issues (label or mention tsgen / contentstack-cli-tsgen) |
The standalone contentstack-cli-tsgen repository should be archived after the first release from cli-plugins. Open PRs and bugs should be recreated or linked in cli-plugins.
| CLI line | cli-plugins branch | Tsgen plugin notes |
|---|---|---|
| 2.x beta | feat/migrate-external-cli-plugins-v2 → v2-beta |
@contentstack/cli-command and @contentstack/cli-utilities on ~2.0.0-beta.*; first monorepo release 5.0.0-beta.0 |
This migration does not maintain a v1-dev line for tsgen.
csdx plugins:install contentstack-cli-tsgen@beta
# or
npm install -g contentstack-cli-tsgenRequires Contentstack CLI 2.x beta and a delivery token alias for csdx tsgen.
Clone cli-dev-workspace (or cli-plugins only), then:
cd cli-plugins
pnpm install
pnpm --filter contentstack-cli-tsgen run build
cd packages/contentstack-cli-tsgen && csdx plugins:link
csdx tsgen --helpSee AGENTS.md, package AGENTS.md, and skills/typescript-cli-tsgen for contributor docs.
- Core CLI: cli monorepo
- Apps CLI: APPS-CLI-MIGRATION.md
- Other external plugins: same cli-plugins consolidation effort