Skip to content

DEV: Support TypeScript files in plugin and theme workflows - #224

Merged
davidtaylorhq merged 1 commit into
mainfrom
ts-gts-support
Nov 4, 2026
Merged

davidtaylorhq merged 1 commit into
mainfrom
ts-gts-support

Conversation

@davidtaylorhq

Copy link
Copy Markdown
Member

Plugins and themes can now use .ts and .gts files. The reusable workflows only looked for .js and .gjs files, so TypeScript files were not linted, and a repository with only TypeScript tests would skip the frontend test job.

  • check_for_tests now adds the frontend job when .ts or .gts test files exist.
  • ESLint with a legacy config now checks .ts and .gts files through --ext.
  • The Prettier fallback now finds and checks .ts and .gts files.

Plugins and themes can now use `.ts` and `.gts` files. The reusable workflows only looked for `.js` and `.gjs` files, so TypeScript files were not linted, and a repository with only TypeScript tests would skip the frontend test job.

- `check_for_tests` now adds the frontend job when `.ts` or `.gts` test files exist.
- ESLint with a legacy config now checks `.ts` and `.gts` files through `--ext`.
- The Prettier fallback now finds and checks `.ts` and `.gts` files.
@davidtaylorhq
davidtaylorhq merged commit 6b851f5 into main Nov 4, 2026
12 checks passed
@davidtaylorhq
davidtaylorhq deleted the ts-gts-support branch November 4, 2026 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants