搜索

PythonReactSEOPDF
GitHub Skill

canva-validate

Runs Canva monorepo validation commands - pnpm fin, taz check, pnpm test, a11y storybook tests, typechecking, linting, and dependency fixes. Run before committing/pushing. Use when asked to lint, typecheck, test, run storybook, fix imports, or validate code in the Canva monorepo.

duong☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Canva Validation Commands

Validation and quality check commands for the Canva monorepo. Run before committing/pushing.

Commands

Command Description
pnpm fin Runs a11y storybook tests, jest tests, taz linting, and typechecking
pnpm fin --only types Runs TypeScript typechecking only (run from ~/work/canva/web)
pnpm fin --only a11y_storybook Runs a11y storybook tests only
pnpm test Runs all unit tests (run from ~/work/canva/web)
taz check Runs all linters and formatters
taz check --fix Fixes all linting and formatting issues
pnpm lint:deps:fix Fixes dependency/import issues and regenerates tsconfig.json files
pnpm lint:ts:types:changed Checks types only on changed files

Usage

Run commands from the Canva monorepo root (~/work/canva).

Typecheck Only
pnpm fin --only types
Lint and Fix
taz check --fix
Run Specific Tests
cd ~/work/canva/web
pnpm test path/to/test.spec.ts

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!