I continue working on modernizing the stack and making infra improvements. This PR attempts to upgrade most of dev dependencies or replace some with tooling that doesn't require much configuration and more flexible.
Details
https://github.com/nteract/semiotic/commit/e44111672a1cc605271fbc53c2bef71648cc1150 Webpack has been used to run local dev docs and it required a lot of dependencies and scripts to do so. I simply installed Parcel (https://parceljs.org), did yarn parcel serve public/index.html (with slight index.html modifications e.g. explicit script tag) and it just worked. The rest of the story is just removing unnecessary dependencies and scripts.
https://github.com/nteract/semiotic/commit/6181028090aa4080157ce67669f4a3a230f870a6 Previously Puppeteer was used to run a quick script to make a screenshot of a page that uses prebuilt Semiotic sources. Puppeteer was running a local file which may not have access to some files so it would be better if something served the target file. Something like Parcel that we now have. So I thought for a second what it would take to update Puppeteer config to run Parcel server before making screenshot and then I figured it would be just easier to replace it with Playwright (https://playwright.dev) that not only does it seamlessly, but provides waaaay more abilities with regard to integration testing. Thus, I made a quick integration test that creates a screenshot as a result. Feeding two birds with one scone.
Rationale
I continue working on modernizing the stack and making infra improvements. This PR attempts to upgrade most of dev dependencies or replace some with tooling that doesn't require much configuration and more flexible.
Details
yarn parcel serve public/index.html
(with slight index.html modifications e.g. explicit script tag) and it just worked. The rest of the story is just removing unnecessary dependencies and scripts.