GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cli-plugins/REGEX-VALIDATE-MIGRATION.md at main · dhavaljain999/cli-plugins

Expand file tree

/

REGEX-VALIDATE-MIGRATION.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
56 lines (36 loc) · 2.37 KB
/

REGEX-VALIDATE-MIGRATION.md

Copy path

File metadata and controls

56 lines (36 loc) · 2.37 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Regex Validate plugin migration: standalone repo → cli-plugins monorepo

Summary

The @contentstack/cli-cm-regex-validate plugin has moved from the standalone repository contentstack/cli-cm-regex-validate into the contentstack/cli-plugins monorepo at packages/contentstack-cli-cm-regex-validate.

The npm package name is unchanged: @contentstack/cli-cm-regex-validate. This is the first npm release — the package was previously not published.

First release: 1.0.0 (v1 line) / 2.0.0-beta.0 (v2-beta line).

Repository and issue tracking

Before After
Source: github.com/contentstack/cli-cm-regex-validate Source: github.com/contentstack/cli-plugins → packages/contentstack-cli-cm-regex-validate
Issues: cli-cm-regex-validate repo Issues: cli-plugins issues (label or mention regex-validate)

The standalone cli-cm-regex-validate repository should be archived after the first release from cli-plugins.

Version lines

CLI line cli-plugins branch Plugin notes
1.x v1-dev / main @contentstack/cli-command ^1.8.2, @contentstack/cli-utilities ^1.18.3; npm tag latest; version 1.0.0
2.x beta v2-dev / v2-beta @contentstack/cli-command ~2.0.0-beta.7, @contentstack/cli-utilities ~2.0.0-beta.8; npm tag beta; version 2.0.0-beta.0

Install

csdx plugins:install @contentstack/cli-cm-regex-validate

Command (unchanged)

Command Description
csdx cm:stacks:validate-regex Validate fields with regex property in Content Types and Global Fields of a Stack

Flags: -a (token alias), -c (content types), -g (global fields), -f (CSV output path).

Local development

cd cli-plugins
pnpm install
pnpm --filter @contentstack/cli-cm-regex-validate run build
pnpm --filter @contentstack/cli-cm-regex-validate test

Test framework note

This package uses Jest + ts-jest (unlike most other packages in this monorepo which use Mocha + Chai). Tests live under packages/contentstack-cli-cm-regex-validate/test/ and run via pnpm test or pnpm run test:unit.

Related migrations

  • Apps CLI: APPS-CLI-MIGRATION.md
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.