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

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

Open
@ryan-roemer

Description

@ryan-roemer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions