@lightdash/cli 0.1987.1 → 0.1987.2

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.
@@ -84,6 +84,11 @@ const diagnosticsHandler = async (options) => {
84
84
  // Auth Status
85
85
  console.log(styles.bold('Authentication Status:'));
86
86
  const authStatus = await getAuthStatus();
87
+ // Check for LIGHTDASH_API_KEY environment variable
88
+ const hasEnvApiKey = !!process.env.LIGHTDASH_API_KEY;
89
+ if (hasEnvApiKey) {
90
+ console.log(` ⚠️ ${styles.warning('LIGHTDASH_API_KEY environment variable is set and will override config file credentials')}`);
91
+ }
87
92
  if (authStatus.hasAuth) {
88
93
  console.log(` ✅ Authenticated`);
89
94
  console.log(` Instance: ${authStatus.serverUrl}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/cli",
3
- "version": "0.1987.1",
3
+ "version": "0.1987.2",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "lightdash": "dist/index.js"
@@ -32,8 +32,8 @@
32
32
  "parse-node-version": "^2.0.0",
33
33
  "unique-names-generator": "^4.7.1",
34
34
  "uuid": "^11.0.3",
35
- "@lightdash/common": "0.1987.1",
36
- "@lightdash/warehouses": "0.1987.1"
35
+ "@lightdash/common": "0.1987.2",
36
+ "@lightdash/warehouses": "0.1987.2"
37
37
  },
38
38
  "description": "Lightdash CLI tool",
39
39
  "devDependencies": {