3 ms·
Re: dependencies, for "low-upkeep" projects I also like pinning specific patch numbers instead of doing any kind of semver pattern Also +1 to using files as a
by brundolf 5y ago
Re: dependencies, for "low-upkeep" projects I also like pinning specific patch numbers instead of doing any kind of semver pattern
Also +1 to using files as a DB for small-scale projects. Something I've done a few times is keep a single in-memory JS object as the source of truth, and just write it to disk as JSON on a certain cadence/read it from disk at startup. It's wonderful having your little one-off server not need to be a distributed system from day 1.
- y4mi 5y agoSemVer was specifically for libraries. It's really pointless to adhere to it if your code won't be imported into software projects of other people.
- brundolf 5y agoI meant for my dependencies, so they don't automatically change underneath me, even in ways that are harmless according to semver