webcomponents / polyfills

Web Components Polyfills
BSD 3-Clause "New" or "Revised" License
1.13k stars 165 forks source link

Use wireit in scoped-custom-element-registry #551

Closed justinfagnani closed 10 months ago

justinfagnani commented 10 months ago

This is the minimal change to use Wireit to run the existing Gulp build script, but get builds to run as a dependency of tests. Next I would like to replace Gulp with Wireit and add TypeScript.

I'm doing this as part of https://github.com/webcomponents/polyfills/issues/419 working towards fixing some other issues.

rictic commented 10 months ago

Changelog

jessevanassen commented 10 months ago

FYI, by running the tests through wireit, it now prevents them from running in watch mode with npm run test -- --watch because the terminal isn't a TTY any more. As a workaround, running the tests directly with npx wtr --watch works.