Automate the generation of *.template-info.json files from the components' PropTypes declarations

Created on 25 October 2023, 11 months ago
Updated 1 March 2024, 6 months ago

Problem/Motivation

Once #3396747: Add TypeScript declarations to the JSX component props β†’ is done, it should be possible to script the generation of the *.template-info.json files. I'm guessing that this would be best done as an esbuild or babel plugin, but we could pick a different implementation (like its own CLI script) if that makes more sense. I hope that TypeScript itself or another existing library provides an API that already does all the hard stuff that we'd need for this.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.0

Component

Umami JSX Demonstration Theme

Created by

πŸ‡ΊπŸ‡ΈUnited States effulgentsia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024