بنقرة واحدة
dev-workflow
pnpm, monorepo CI, PR and production release workflow for contentstack-cli-tsgen (v1 line).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
pnpm, monorepo CI, PR and production release workflow for contentstack-cli-tsgen (v1 line).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
PR and release checklist for cli-cm-regex-validate (security, packaging, CI, messages)
Contentstack CLI plugin patterns for cm:stacks:validate-regex (SDK, schema, safe-regex, output)
Local and CI workflow for cli-cm-regex-validate — commands, layout, naming, hooks, and merge expectations
Jest testing patterns for cli-cm-regex-validate (mocks, fixtures, no live API calls)
Reviews pull requests and risky changes for the contentstack-cli-content-type plugin. Use when reviewing diffs, security-sensitive edits, dependency upgrades, or changes to compare/diagram/temp-file behavior, ESLint, and tests.
Develops and maintains the contentstack-cli-content-type csdx plugin (content-type list, details, audit, compare, compare-remote, diagram). Use when editing this repository, ContentTypeCommand setup and flags, CMA/Management SDK usage, axios audit/references calls, diff/compare HTML output, Graphviz diagrams, or oclif readme/manifest workflows.
| name | dev-workflow |
| description | pnpm, monorepo CI, PR and production release workflow for contentstack-cli-tsgen (v1 line). |
| Command | Purpose |
|---|---|
pnpm --filter contentstack-cli-tsgen run build | tsc -b → lib/, OCLIF manifest + readme |
pnpm --filter contentstack-cli-tsgen test | Jest; then posttest → ESLint |
pnpm --filter contentstack-cli-tsgen run test:integration | Jest integration tests only |
pnpm --filter contentstack-cli-tsgen run lint | ESLint |
pnpm --filter contentstack-cli-tsgen run clean | Remove lib/, node_modules, build info |
cd packages/contentstack-cli-tsgen
pnpm run build
npm i -g @contentstack/cli
csdx plugins:link
csdx tsgen --help
csdx plugins:unlink
feat/migrate-external-cli-plugins-v1 → merge to v1-dev / main..github/workflows/:
tsgen-integration-test.yml — live csdx tsgen tests (delivery token secrets; global @contentstack/cli)unit-test.yml — workspace build + npm run test for this packagerelease-production-plugins.yml — npm publish with latest tag on push to mainsca-scan.yml, policy-scan.yml, codeql-analysis.yml — monorepo-wideprepare runs Husky; hooks under .husky/ when present.pnpm --filter contentstack-cli-tsgen run build before opening a PR.tsgen-integration-test.yml; local runs need TOKEN_ALIAS in .env.4.10.0+ in package.json; published from main via release-production-plugins.yml.