nteract / semiotic

A data visualization framework combining React & D3
https://semioticv1.nteract.io/
Other
2.43k stars 132 forks source link

Build system: Gulp to the rescue! #660

Closed alexeyraspopov closed 3 months ago

alexeyraspopov commented 3 months ago

I know, I know, nobody really expects to see Gulp.js being mentioned in 2024, but hear me out. What if… we utilize high level programming language for writing complex building scripts? 🤯

This should help us get rid of the headache of composing bash one-liners in a JSON files that still happens to be buggy somewhere sometimes. This PR introduces Gulpfile that only covers the bundling part: Rollup for the code, TSC for type definitions. The type defs part is not a hacky solution, but actual use of compiler's public API. I also updated files field to make sure all typings are included during publish. If only there was a way to easily compose all typings in a single file, like Rollup does to the code…

If this plays out nicely, we can add Gulp tasks for the rest of the things in scripts.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
semiotic ❌ Failed (Inspect) Apr 9, 2024 9:04pm