@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.
Files changed (2) hide show
  1. package/dist/index.js +4 -5
  2. 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 isCompiledBinary, isProduction, getEnvVar, config;
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
- isCompiledBinary = process.execPath && !process.execPath.includes("node");
454
- isProduction = process.env.NODE_ENV === "production" || isCompiledBinary;
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.10";
4519
+ CLI_VERSION = "0.0.11";
4521
4520
  }
4522
4521
  });
4523
4522
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supatest/cli",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Supatest CLI - AI-powered task automation for CI/CD",
5
5
  "type": "module",
6
6
  "bin": {