webcomponents / polyfills

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

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

Closed justinfagnani closed 1 year ago

justinfagnani commented 1 year 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 1 year ago

Changelog

jessevanassen commented 1 year 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.