haunted icon indicating copy to clipboard operation
haunted copied to clipboard

Jazz up the build system

Open bennypowers opened this issue 3 years ago • 6 comments

This issue proposes to:

  1. update typescript to latest (4.2 or 4.3 depending on when impl happens)
  2. replace mocha-chrome-headless with @web/test-runner 2.1. use esbuildPlugin in wtr to run tests buildless and concurrently from ts sources 2.2. add "test" npm script to run wtr
  3. add @web/dev-server to run the examples dir (maybe with npm start)
  4. replace make with rollup
  5. replace travis with github actions
  6. implement semantic-release to automate releases on merge to master
  7. master -> main

bennypowers avatar May 04 '21 18:05 bennypowers

All sound good to me!

matthewp avatar May 04 '21 20:05 matthewp

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.

joryphillips avatar Sep 29 '21 22:09 joryphillips

Go for it. ping me here or on "Lit & Friends" slack if you need help

bennypowers avatar Sep 30 '21 10:09 bennypowers

@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)

joryphillips avatar Oct 04 '21 23:10 joryphillips

Looks really good, and it was so considerate of you to prepare your comment with those easy-to-understand links, thank you!

bennypowers avatar Oct 05 '21 15:10 bennypowers

Looks great to me

matthewp avatar Oct 05 '21 16:10 matthewp