I have a script in package.json
"doppler:run": "DOPPLER_TOKEN_BACKEND=$(doppler configs tokens create token-back -p projectName -c dev --plain --max-age 120m) DOPPLER_TOKEN_FRONTEND=$(doppler configs tokens create token-front -p projectName -c dev --plain --max-age 120m) docker-compose -f docker-compose-doppler.yml up --build --force-recreate "
The problem is If I copy paste this script to a shell everything works fine, but when I run yarn run doppler:run
It starts to give some weird output. I am on Windows machine, and the yarn run doppler:run
works on mac environment.
Anybody can help with that?