mirror of
https://github.com/penpot/penpot.git
synced 2026-05-22 16:33:55 +00:00
961 B
961 B
name, description
| name | description |
|---|---|
| penpot-common | Guidelines and workflows for the Penpot Common shared module. |
Penpot Common Skill
This skill provides guidelines and workflows for the Penpot Common shared module (Clojure/ClojureScript/JS).
Testing & Validation
- JS (Node) Isolated tests: Edit
test/common_tests/runner.cljsthen runpnpm run test:js - JS (Node) Regression tests:
pnpm run test:js - JVM Isolated tests:
pnpm run test:jvm --focus common-tests.my-ns-test - JVM Regression tests:
pnpm run test:jvm
Code Quality
- Linting:
pnpm run lint:clj - Formatting:
- Check:
pnpm run check-fmt:clj,pnpm run check-fmt:js - Fix:
pnpm run fmt:clj,pnpm run fmt:js
- Check:
Architecture & Conventions
- Multiplatform code used by frontend, backend, and exporter.
- Uses Clojure reader conditionals (
#?(:clj ... :cljs ...)). - Modifying common code requires testing across consumers (frontend, backend, exporter).