0
Fork 0
mirror of https://github.com/penpot/penpot-export.git synced 2025-01-21 06:02:28 -05:00
penpot-export/packages
Roberto Redradix 660f2b9ae9 refactor(core): decouple name scoping logic from API adapters
Introduce the concept of transformer functions. A transformer function will receive an assets as an input and will output the same kind of asset.

Scoping class names in CSS was a transformation applied to typography and page components assets when the output is CSS.

Decoupling this transformation from the rest of the adapter results in cleaner API inbound adapters, without any project-specific logic, so now they can be co-located close to the PenpotClient code.
2023-09-13 11:35:18 +02:00
..
cli refactor!: split penpot-export into cli and core modules 2023-09-01 17:43:45 +02:00
core refactor(core): decouple name scoping logic from API adapters 2023-09-13 11:35:18 +02:00
demo chore(demo): update generated files 2023-09-12 18:20:19 +02:00