@supatest/cli 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -445,14 +445,13 @@ var init_prompts = __esm({
|
|
|
445
445
|
// src/config.ts
|
|
446
446
|
import { resolve } from "path";
|
|
447
447
|
import dotenv from "dotenv";
|
|
448
|
-
var
|
|
448
|
+
var isDevelopment, getEnvVar, config;
|
|
449
449
|
var init_config = __esm({
|
|
450
450
|
"src/config.ts"() {
|
|
451
451
|
"use strict";
|
|
452
452
|
init_prompts();
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
if (!isProduction) {
|
|
453
|
+
isDevelopment = process.env.NODE_ENV === "development";
|
|
454
|
+
if (isDevelopment) {
|
|
456
455
|
const envFile = process.env.ENV_NAME ? `.env.${process.env.ENV_NAME}` : ".env";
|
|
457
456
|
dotenv.config({ path: resolve(process.cwd(), envFile) });
|
|
458
457
|
}
|
|
@@ -4517,7 +4516,7 @@ var CLI_VERSION;
|
|
|
4517
4516
|
var init_version = __esm({
|
|
4518
4517
|
"src/version.ts"() {
|
|
4519
4518
|
"use strict";
|
|
4520
|
-
CLI_VERSION = "0.0.
|
|
4519
|
+
CLI_VERSION = "0.0.11";
|
|
4521
4520
|
}
|
|
4522
4521
|
});
|
|
4523
4522
|
|