ok, fixed. with one caveat:
* the newlines are inlined to an empty space
this is a limitation of vscode's decorations that I can't control. There's not a way to display actual newlines for decora...
It would be a huge DX improvement if there was a VSCode extension that decrypted the .env file when you're viewing it
I see this: https://github.com/vinnymac/dotenvx-decrypt-vscode which is grea...
this has been released as its own extension. I think over time we will merge them both together. dotenvx is the path forward.
https://dotenvx.com/vscode-extension
See https://github.com/dotenvx/dotenvx/issues/259 regarding `dotenvx pro` and https://github.com/dotenvx/dotenvx#what-happened-to-the-envvault-file for context.
It would be a huge DX improvement if there was a VSCode extension that decrypted the .env file when you're viewing it
I see this: https://github.com/vinnymac/dotenvx-decrypt-vscode which is grea...
I see your problem. You haven't installed `curl`!
Docker unfortunately will not warn you of this - it will just continue on.
Add
```
apt-get install -y --no-install-recommends curl \
```
to you...
I'm encountering an issue when trying to execute a Dockerized script that uses the dotenvx package. The script fails to locate the module, resulting in a MODULE_NOT_FOUND error. Below are the detai...
i can't reproduce this @stilyng94
are you installing dotenvx both in your package.json AND as a binary via `curl -sfS https://dotenvx.sh/install.sh | sh` ?
On OSX, dotenvx 1.29.0, node 22.
I don't know if this is intended behavior (the documentation is a little light), but when calling `set(NAME, VALUE, {path: "path/to/my/env"})`, the return indicate...
First, update to `[email protected]` or greater. We patched that issue there: https://github.com/dotenvx/dotenvx/blob/main/CHANGELOG.md#changed-8
As for sending `[[email protected]] injecting env*` to stde...
work-around: use --quiet
Ideally, `dotenvx run -- echo 1 > out.txt` should only write the file value `1` to a file. Instead, out.txt contains the output from dotenvx and the value 1. Other comma...
some history:
* i removed `set`: https://github.com/dotenvx/dotenvx/issues/481
* then brought it back: https://github.com/dotenvx/dotenvx/pull/492/files
but in both cases it never fully wrote - t...
hmm, yeah, looks like `lib/main.js#set` only returns src (except it does write to .env.keys).
This is likely an oversight on my part. Give me some time to dig in.
@nahtnam we have an official extension now. https://dotenvx.com/vscode-extension
It's not quite as full featured yet as Vinny's but it sets the foundation for eventual team features via [pro](http...
This is because you are using node's new `--env-file` flag when using dotenvx this way.
Here's the solution:
```
# replace --env-file with -f
./node_modules/.bin/dotenvx run --env-file .env -- yo...
```shell
> npx dotenvx --version
1.33.0
> node --version
v22.11.0
```
When `dotenvx run` is pointed to an env file that does not exist, it always exists with an error code if the env file ...