Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/configurable symlink paths #21

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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