dev-workflow

作成者: contentstack

datasync-asset-store-filesystem のnpmスクリプト、CI、リポジトリワークフロー — ビルド/テストコマンド、サンプルアプリ、フックに使用します。

npx skills add https://github.com/contentstack/datasync-asset-store-filesystem --skill dev-workflow

Dev workflow – DataSync Asset Store Filesystem

When to use

  • Running or changing build or test commands
  • Working in example/ or understanding CI / automation
  • Optional git hooks (Talisman, Snyk)

Instructions

  • Install: npm install. Target Node 20+ for local dev (see root README.md).
  • Build: npm run build-ts runs clean then tsc; output is dist/. npm run compile is tsc only; prepare runs compile for pack/install.
  • Watch: npm run watch-ts for incremental compile during development.
  • Example app: example/ demonstrates wiring with mock config (not the full DataSync stack).
  • Travis: .travis.yml runs npm run build-ts then npm run test on its Node matrix (may differ from README’s recommended Node version).
  • GitHub Actions: .github/workflows/ — security/scanning, release, and automation; see each workflow for triggers.
  • Husky (optional): .husky/pre-commit runs Talisman and Snyk if installed; SKIP_HOOK=1 bypasses. Not everyone has these CLI tools—coordinate with the team before relying on the hook locally.

TypeScript compiler options, typings/, and TSLint: skills/typescript-style/SKILL.md.

contentstackのその他のスキル

cms-assets
contentstack
開発者がContentstackでアセットを整理、配信、変換する方法についてアドバイスします。フォルダ構造、Image Delivery API変換、公開について取り上げます…
cms-branches-aliases
contentstack
Contentstackのブランチを使用した分離されたコンテンツ開発と、エイリアスを使用したダウンタイムゼロのコンテンツデプロイについて開発者にアドバイスします。ブランチ戦略、…
cms-data-modeling-best-practices
contentstack
開発者がContentstackでコンテンツをモデリングする際、最もシンプルで再利用可能な構造を用いるよう導きます。このスキルでは、コンテンツタイプ、参照、グローバル…をいつ使用すべきかを説明します。
cms-live-preview-visual-builder-support-assistant
contentstack
Contentstack Live PreviewおよびVisual Builderの実装を診断し、ガイドします。プレビューコンテキストを追跡し、壊れたコントラクトを特定して、推奨…
cms-releases
contentstack
Contentstack Releasesを使用した、調整されたアトミックなコンテンツデプロイについて開発者にアドバイスします。リリース作成、アイテム管理、段階的デプロイをカバーします…
cms-roles-permissions
contentstack
Contentstackにおけるロール、権限、チーム、トークンアクセスの設計について開発者に助言します。組み込みロール、カスタムロール、権限のマージ、…について説明します。
cms-taxonomy
contentstack
開発者に対し、構造化された階層的なコンテンツ分類と配信側フィルタリングのためのContentstack Taxonomyの使用についてアドバイスします。タクソノミーとタグの比較、…
cms-tokens-authentication
contentstack
フロントエンド、バックエンド、自動化、およびサードパーティアプリのユースケースに適したContentstack認証方法とトークンタイプの選択について、開発者にアドバイスします。…