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.
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
.