xproglabs / prensa-designsystem

Projeto que controla os componentes React do design-system Prensa.
http://docs.prensadesign.com.br
4 stars 3 forks source link

Update PrensaEngine to use new @xprog/prensa-system and @xprog/prensa-design-tokens as SSOT #593

Closed gbombassaro closed 1 year ago

gbombassaro commented 1 year ago

This PR reflects mainly in xprog-prensa package and holds a migration of an deprecated structure and build engine over new ones.

The consolidation of new structures aims implementing SSOT (Single Source of Truth) principles and also DDD (Domain Driven Design) architecture over system entities like packages and components. The new engine is represented by the migration from rollup javascript compiler to typescript-only compilation strategy.

This PR will trigger breaking changes across xprog-prensa package internal imports and external imports that will be listed below. This PR also consolidates new functionalities available to Prensa that will also be listed below.

gbombassaro commented 1 year ago

New functionalities

Deprecations

Refactorings

gbombassaro commented 1 year ago

UPDATE: It will no longer be used typescript only as compiler due to lack of minify options for compiled js files. In its place it will be used esbuild compiler configured with minify and an second compilation process for generating d.ts files.

New functionalities list item "Implements new build engine using typescript" should be: