Page MenuHomePhabricator

Install TypeScript in the design-tokens package
Closed, ResolvedPublic

Description

Right now, we use TypeScript with jsdoc comments in the Style Dictionary-related code in the design-tokens package, but we don't actually check those files for validity. We should install TypeScript and add a lint:ts NPM command to check these files.

We could also consider writing these files in real TypeScript, but that would require transforming them to JS before running them.

Event Timeline

Change 856683 had a related patch set uploaded (by Catrope; author: Catrope):

[design/codex@main] build: Enable TypeScript in the tokens package

https://gerrit.wikimedia.org/r/856683

Change 856683 merged by jenkins-bot:

[design/codex@main] build: Enable TypeScript in the tokens package

https://gerrit.wikimedia.org/r/856683

Catrope claimed this task.

Change 859597 had a related patch set uploaded (by Anne Tomasevich; author: Anne Tomasevich):

[mediawiki/core@master] Update Codex from v0.2.2 to v0.3.0

https://gerrit.wikimedia.org/r/859597

Change 859597 merged by jenkins-bot:

[mediawiki/core@master] Update Codex from v0.2.2 to v0.3.0

https://gerrit.wikimedia.org/r/859597