Skip to content

Implement build infra around TS path aliases for convergence #16889

@Hotell

Description

@Hotell

Epic

This is an Epic which will track implementation of issues pointed out in following documents:

Problem

  • need to build before run/test/demo
  • unified/explicit TSConfigs
  • missing co-located demos via storybook

Solution

  • we'll use TSConfig path aliases as the only source of truth for converged components.

Implementation:

Pre-requirements

Requirements:

Risks (Rabbit holes)

  • No idea about plop AST capabilities (might get into issues when I'll need to add new package to monorepoRoot/jest.config.js)
  • plop is not very testable AFAIR (will need to try it out)

Out of scope (No-gos)

  • using solution TS config style (project references per package) to explicitly distinguish between environments (story/implementation/test)
  • revamping all npm:scripts and how we build/publish
  • use babel for transpilation
  • use babel-jest for testing
  • use rollup as main bundler

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions