Skip to content

Conversation

@varofon
Copy link

@varofon varofon commented Oct 30, 2024

What

Allow to override appPath and remoteCataloogRoot when writing symlinks with paths from env variables

Why

I have a very specific case where runtime exists in a different environment from development, so using this package I end up having symlinks that don't make sense for my system and IDE.
Locally I run meteor project dockerized with tilt. Outputs are reflected in my system because everything is mounted, but since process runs inside container zodern:types ends up generating symlinks that are resolvable only inside container.
So my solution is to manually provide paths for app and catalog root on host machine and pass them down in the container so that symlinks created by package are readable by host.

I didn't update anything in Readme regarding adding the variables since it's a very specific case and variables if misused can break functionality, so unless someone knows what they are doing they shouldn't touch that. But I can add it to readme if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant