feat: migrate @contentstack/cli-cm-regex-validate to cli-plugins monorepo (v2-beta)#171
Conversation
…repo (v2-beta) Migrates the cli-cm-regex-validate plugin from its standalone repo into the cli-plugins pnpm monorepo targeting v2 beta 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 2.0.0-beta.0 (first release), @contentstack/cli-command ~2.0.0-beta.7 and @contentstack/cli-utilities ~2.0.0-beta.8 - 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-v2-beta-plugins.yml (tag: beta) - 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>
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
With esModuleInterop: true, CJS default-export modules must be imported with import X from 'X' not import * as X from 'X'. The latter produces a namespace object that is neither callable (jsonexport) nor constructable (cli-table3), causing TS2349/TS2351 build errors. 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-v2
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
🔒 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:
✅ BUILD PASSED - All security checks passed |
90c1ff4
into
feat/migrate-external-cli-plugins-v2
Summary
Migrates
@contentstack/cli-cm-regex-validatefrom its standalone GitHub repository into the cli-plugins pnpm monorepo aspackages/contentstack-cli-cm-regex-validate, targeting the v2-beta CLI dependency line.What's included
src/,test/,bin/,messages/, config filespackage.json— version2.0.0-beta.0, v2 deps (@contentstack/cli-command ~2.0.0-beta.7,@contentstack/cli-utilities ~2.0.0-beta.8), 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-v2-beta-plugins.ymlwithtag: betaunit-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-regexRGXVLD2.0.0-beta.0~2.0.0-beta.7~2.0.0-beta.8betaTesting