Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Infra: Make package.json scripts work on windows. #14

Open
3 tasks
ryan-roemer opened this issue Jul 23, 2020 · 0 comments
Open
3 tasks

Infra: Make package.json scripts work on windows. #14

ryan-roemer opened this issue Jul 23, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ryan-roemer
Copy link
Member

We presently have things like eval (yarn -s env) to place environment variables for usage in downstream commands. This won't work on windows.

Tasks:

  • Come up with windows friendly package.json scripts
  • With overridable environment variables (e.g., STAGE=sandbox)
  • That also has default values (e.g. ${AWS_REGION:-us-east-1})

Some ideas:

  • cross-env (but doesn't support default values)
  • builder (but kind of a pain since env support is all big json strings and you have to invoke builder CLI
  • A custom Node.js script to provide defaults and take in options easily in whatever format we want.
@ryan-roemer ryan-roemer added the enhancement New feature or request label Jul 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant