Skip to content

Commit

Permalink
build: npm run start-beta target
Browse files Browse the repository at this point in the history
When running `make run` or `npm run start`, developer has to manually
specify HCC environment, e.g. `stage`, and UI environment, e.g., `beta`.

This is "annoying" when the values are always the same, which atm are.
Thus introducing a `make run start-beta` which defines these two params
and thus it starts serving with single command.

Signed-off-by: Petr Vobornik <[email protected]>
  • Loading branch information
pvoborni authored and avisiedo committed Jun 11, 2024
1 parent fc044af commit 7be1484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"lint:prettier": "prettier --check src",
"patch:hosts": "fec patch-etc-hosts",
"start": "HOT=true fec dev",
"start-beta": "HOT=true fec dev --clouddotEnv=stage --uiEnv=beta",
"test": "TZ=UTC jest --verbose --no-cache",
"test-watch": "TZ=UTC jest --watch",
"postinstall": "ts-patch install && rimraf .cache",
Expand Down

0 comments on commit 7be1484

Please sign in to comment.