haunted
haunted copied to clipboard
Jazz up the build system
This issue proposes to:
- update typescript to latest (4.2 or 4.3 depending on when impl happens)
- replace mocha-chrome-headless with
@web/test-runner
2.1. useesbuildPlugin
in wtr to run tests buildless and concurrently from ts sources 2.2. add"test"
npm script to run wtr - add
@web/dev-server
to run the examples dir (maybe withnpm start
) - replace
make
with rollup - replace travis with github actions
- implement semantic-release to automate releases on merge to master
-
master
->main
All sound good to me!
Hi @bennypowers are you working on 2) in your list above -- new test library? Or is someone else?
Looking at fixing up some of the TypeScript nuances, including the component() HTMLElement issue , I think updating test files to TS would be a good thing to do first. I'm happy to work on that, or pick up anything you have in progress.
Go for it. ping me here or on "Lit & Friends" slack if you need help
@bennypowers (and @matthewp -- would love your input too if you have time!)
How does this initial direction for TypeScript tests look? As mentioned to Benny on Slack, trying for a light touch initially. (Although I did add a test for attributes being undefined when not present to highlight the issue -- it was unexpected)
Looks really good, and it was so considerate of you to prepare your comment with those easy-to-understand links, thank you!
Looks great to me