Skip to content

build: remove @contentstack/cli-launch from bundled CLI (DX-9742)#2652

Merged
harshitha-cstk merged 1 commit into
enh/dx-9742-demote-launch-pluginfrom
fix/remove-cli-launch-from-dependency
Jul 23, 2026
Merged

build: remove @contentstack/cli-launch from bundled CLI (DX-9742)#2652
harshitha-cstk merged 1 commit into
enh/dx-9742-demote-launch-pluginfrom
fix/remove-cli-launch-from-dependency

Conversation

@harshitha-cstk

Copy link
Copy Markdown
Contributor

What

Demotes launch to an opt-in plugin by removing @contentstack/cli-launch from the bundled CLI (packages/contentstack/package.json):

  • Removed from dependencies (^1.11.1)
  • Removed from the oclif.plugins array
  • Regenerated pnpm-lock.yaml to clear the cli-launch dependency subtree

Why

Part of DX-9742 (demote launch plugin). This is the durable counterpart to the README doc change (DX-9744, PR #2651): with launch no longer in oclif.plugins, oclif readme/oclif manifest no longer generate launch content, so the docs stay accurate across regeneration.

Behavior after this change

  • csdx launch … commands are no longer bundled or shown in csdx --help.
  • Users opt in on demand: csdx plugins:add @contentstack/cli-launch (works because @oclif/plugin-plugins is already bundled).
  • oclif.manifest.json is generated at pack time (not committed), so it picks up the removal automatically.

Scope

Only package.json and pnpm-lock.yaml changed. No other code file needs to change.

Ticket: https://contentstack.atlassian.net/browse/DX-9742

🤖 Generated with Claude Code

Demote launch to an opt-in plugin: drop @contentstack/cli-launch from
both the dependencies and the oclif.plugins array in
packages/contentstack/package.json, and regenerate pnpm-lock.yaml to
clear its dependency subtree.

Launch commands are no longer bundled or documented by default; users
install them on demand via `csdx plugins:add @contentstack/cli-launch`
(@oclif/plugin-plugins is already bundled). oclif.manifest.json is
generated at pack time, so it picks up the removal automatically.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@harshitha-cstk
harshitha-cstk requested a review from a team as a code owner July 23, 2026 07:48
@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 1 37 25 ✅ Passed
🟡 Medium Severity 0 2 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: 37
  • Medium without fixes: 2
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@harshitha-cstk
harshitha-cstk merged commit 6f695a1 into enh/dx-9742-demote-launch-plugin Jul 23, 2026
8 checks passed
@harshitha-cstk
harshitha-cstk deleted the fix/remove-cli-launch-from-dependency branch July 23, 2026 09:35
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