Skip to content

feat(DX-7531): migrate contentstack-cli-tsgen v1 into cli-plugins monorepo #167

Merged
cs-raj merged 2 commits into
feat/migrate-external-cli-plugins-v1from
enhc/DX-7531-migrate-tsgen-v1
May 25, 2026
Merged

feat(DX-7531): migrate contentstack-cli-tsgen v1 into cli-plugins monorepo #167
cs-raj merged 2 commits into
feat/migrate-external-cli-plugins-v1from
enhc/DX-7531-migrate-tsgen-v1

Conversation

@cs-raj
Copy link
Copy Markdown
Contributor

@cs-raj cs-raj commented May 24, 2026

Summary

  • Migrates contentstack-cli-tsgen from the standalone Contentstack-Solutions/contentstack-cli-tsgen repo into the cli-plugins monorepo under packages/contentstack-cli-tsgen, targeting the CLI 1.x line (first release: 4.10.0)
  • Adds the full plugin source: src/commands/tsgen.ts, src/lib/helper.ts, src/types/index.ts, Jest integration test suite, ESLint config, tsconfig, and bin scripts
  • Wires the package into monorepo CI: unit-test workflow, a new dedicated integration-test workflow (tsgen-integration-test.yml), and the production NPM release workflow
  • Registers tsgen in release.json and updates the monorepo README to point to the new canonical source location
  • Updates .talismanrc checksum for the new pnpm-lock.yaml

Test plan

  • pnpm --filter contentstack-cli-tsgen run build completes without errors
  • pnpm --filter contentstack-cli-tsgen run test (unit) passes
  • Integration test workflow runs successfully with stack secrets (TOKEN_ALIAS, APIKEY, DELIVERYKEY, ENVIRONMENT, REGION)
  • csdx plugins:link inside packages/contentstack-cli-tsgen and csdx tsgen -a <alias> -o generated.d.ts generates a valid .d.ts file
  • Existing plugin packages are unaffected (no regression in unit-test workflow for other packages)

…orepo

Adds the contentstack-cli-tsgen OCLIF plugin package under packages/,
wires it into CI (unit tests, integration tests, production release),
and registers it in the monorepo config and README.
@cs-raj cs-raj changed the title feat(DX-7531): migrate contentstack-cli-tsgen v1 into cli-plugins monorepo Adds the contentstack-cli-tsgen OCLIF plugin package under packages/, wires it into CI (unit tests, integration tests, production release), and registers it in the monorepo config and README. feat(DX-7531): migrate contentstack-cli-tsgen v1 into cli-plugins monorepo May 24, 2026
@github-actions
Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 1 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 1
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@github-actions
Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 1 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 1
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@cs-raj cs-raj marked this pull request as ready for review May 25, 2026 09:18
@cs-raj cs-raj requested a review from a team as a code owner May 25, 2026 09:18
@cs-raj cs-raj merged commit ace877a into feat/migrate-external-cli-plugins-v1 May 25, 2026
6 of 8 checks passed
@cs-raj cs-raj deleted the enhc/DX-7531-migrate-tsgen-v1 branch May 25, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants