feat: migrate @contentstack/cli-cm-regex-validate to cli-plugins monorepo (v1)#173
Merged
cs-raj merged 3 commits intoMay 25, 2026
Conversation
…repo (v1) Migrates the cli-cm-regex-validate plugin from its standalone repo into the cli-plugins pnpm monorepo targeting v1 CLI dependencies. This is the first npm publication of this package under the @contentstack scope. - Add packages/contentstack-cli-cm-regex-validate with full source - Set version to 1.0.0 (first release), @contentstack/cli-command ^1.8.2 and @contentstack/cli-utilities ^1.18.3 - Upgrade oclif from ^3.17.2 to ^4.23.0 - Move jest from dependencies to devDependencies - Fix jest.config.ts testMatch to cover test/ directory (not just tests/) - Add composite: true and esModuleInterop: true to tsconfig.json - Wire into release-production-plugins.yml (tag: latest) - Wire into unit-test.yml - Update .github/config/release.json with regex-validate: false - Update README.md, AGENTS.md, and add REGEX-VALIDATE-MIGRATION.md - Update .talismanrc with checksums for new files Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add esModuleInterop: true and composite: true to tsconfig.json (were missing from v1 branch) - Fix generate-output.ts: import jsonexport/cli-table3 as default imports instead of namespace imports — with esModuleInterop, CJS default-export modules require `import X from 'X'` not `import * as X from 'X'` (fixes TS2349/TS2351/TS1259) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
…-migrate-cli-regex-v1
harshitha-cstk
approved these changes
May 25, 2026
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ 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:
Consider reviewing these vulnerabilities when fixes become available. |
f3de42a
into
feat/migrate-external-cli-plugins-v1
6 of 8 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates
@contentstack/cli-cm-regex-validatefrom its standalone GitHub repository (contentstack/cli-plugins/.../contentstack-cli-cm-regex-validate) into the cli-plugins pnpm monorepo aspackages/contentstack-cli-cm-regex-validate.What's included
src/,test/,bin/,messages/, config filespackage.json— version1.0.0, v1 deps (@contentstack/cli-command ^1.8.2,@contentstack/cli-utilities ^1.18.3), oclif upgraded^3.17.2 → ^4.23.0,jestmoved fromdependencies → devDependencies, monoreporepository/homepage/bugs, scripts:build,test:unit,lint,clean,prepack: pnpm run buildtsconfig.json— addedcomposite: true,esModuleInterop: truejest.config.ts— fixedtestMatchto includetest/directory (source hadtests/only, breaking test discovery)release-production-plugins.ymlwithtag: latestunit-test.ymlrelease.json— added"regex-validate": falseREGEX-VALIDATE-MIGRATION.mdat monorepo root, rootAGENTS.mdupdated with Regex Validate section.talismanrc— checksums added for all flagged filesPackage details
@contentstack/cli-cm-regex-validatecsdx cm:stacks:validate-regexRGXVLD1.0.0^1.8.2^1.18.3latestTesting