Maybe my requirements are not reasonable (but OTOH every other language satisfies them).
I want compile-time support from IDE, so I use typescript, I want to load some json files and some yaml fiels (but at this point I don't want to put these files in the Internet, so it all needs to be loaded and bundled together).
Why this needs to be so fuckin complex (answer: it does not but it is).
And the worst part is:
1) This is a hobby project, so when I have time to work on in next time, I will forget most of the details.
I **think** that the problem is my code is in typescript, and testing frameworks have some problems with how I use TS.
So I think I'll need to prepare special compilation code that will bundle my typescript library (with dependencies) to a single commmonjs (whaever that is) file, and then run tests against this (tests can be in JS I don't care).
The problem with that approach, that having "special build for testing" is an abomination, as you should test code you run in production.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!