Important Resources:
The tsx
documentation includes the following points about what makes it a better option than ts-node
:
# A nix flake for building cubyz, (https://github.com/PixelGuys/Cubyz), | |
# an open source 3D voxel sandbox game. | |
# SERIOUS LIMITATION: cubyz uses their own custom patched zig compiler ୧(๑•̀ᗝ•́)૭ | |
# to build, you will need to do nix build --option sandbox false. | |
# This is because the custom zig compiler looks for dynamically linked libraries | |
# in an FHS environment. There are ways around this but I'm too lazy to solve for now. | |
# IMPORTANT NOTE: use `zon2nix` to generate a local deps.nix file with dependencies. | |
# It may contain local files that don't exist on your computer, so just delete that | |
# that dependency from the zon file. | |
{ |
Important Resources:
The tsx
documentation includes the following points about what makes it a better option than ts-node
:
As an alternative to branching, switching applications over to use persons v4 and BDPs can be cleanly cut over via feature flags:
1. environment variables
Services being called are conditionally controlled with environment variables. Switching flags is as easy as updating a variable but requires a redeployment.