@lightdash/cli 3.105.0 → 3.106.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/handlers/compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAOH,OAAO,EACP,YAAY,EAiBf,MAAM,mBAAmB,CAAC;AAsB3B,OAAO,EAAE,iBAAiB,EAA8B,MAAM,eAAe,CAAC;AAI9E,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GAAG;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAC/B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,QAAQ,EAAE,CAAC,OAAO,GAAG,YAAY,CAAC,EAAE,CAAC;IACrC,iBAAiB,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uBAAuB,YACvB,OAAO,GAAG,YAAY,KAChC,OAIW,CAAC;AAEf,eAAO,MAAM,0BAA0B,YAC1B,OAAO,GAAG,YAAY,KAChC,OAAO,GAAG,YAiBZ,CAAC;AAgTF,eAAO,MAAM,cAAc,YACd,qBAAq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,GAAG,YAAY,KAChC,OAAO,GAAG,YAiBZ,CAAC;AAgTF,eAAO,MAAM,cAAc,YACd,qBAAqB,KAC/B,OAAO,CAAC,oBAAoB,CAuc9B,CAAC;AAEF,eAAO,MAAM,OAAO,YACP,qBAAqB,KAC/B,OAAO,CAAC,CAAC,OAAO,GAAG,YAAY,CAAC,EAAE,CACO,CAAC;AAE7C,eAAO,MAAM,cAAc,oBACN,qBAAqB,kBAmCzC,CAAC"}
@@ -429,6 +429,8 @@ const compileProject = async (options) => {
429
429
  allowPartialCompilation,
430
430
  postProcessors: [common_1.preAggregatePostProcessor],
431
431
  includeModelIdentity: true,
432
+ modelInventory: (0, common_1.getModelInventoryFromManifest)(manifest),
433
+ allowCrossSourceJoinFallback: manifest.lightdash_model_inventory_complete !== false,
432
434
  });
433
435
  const validatedExplores = options.validateWarehouseColumns === true &&
434
436
  validationWarehouseClient
@@ -1 +1 @@
1
- {"version":3,"file":"generateExposures.d.ts","sourceRoot":"","sources":["../../src/handlers/generateExposures.ts"],"names":[],"mappings":"AAmBA,KAAK,+BAA+B,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,wBAAwB,YACxB,+BAA+B,kBAmH3C,CAAC"}
1
+ {"version":3,"file":"generateExposures.d.ts","sourceRoot":"","sources":["../../src/handlers/generateExposures.ts"],"names":[],"mappings":"AAmBA,KAAK,+BAA+B,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,wBAAwB,YACxB,+BAA+B,kBA6G3C,CAAC"}
@@ -31,7 +31,6 @@ const generateExposuresHandler = async (options) => {
31
31
  executionId,
32
32
  },
33
33
  });
34
- console.info(styles.warning(`This is an experimental feature and may change in future versions`));
35
34
  // Log current project info
36
35
  globalState_1.default.logProjectInfo(config);
37
36
  const spinner = globalState_1.default.startSpinner(` Generating Lightdash exposures .yml for project ${styles.bold(config.context.projectName || config.context.project)}`);
@@ -96,7 +95,7 @@ const generateExposuresHandler = async (options) => {
96
95
  error: `${(0, common_1.getErrorMessage)(e)}`,
97
96
  },
98
97
  });
99
- spinner.fail(` Failed to generate exposures file'`);
98
+ spinner.fail(` Failed to generate exposures file`);
100
99
  throw e;
101
100
  }
102
101
  };
package/dist/index.js CHANGED
@@ -726,7 +726,7 @@ commander_1.program
726
726
  .action(slugUpdate_1.slugUpdateHandler);
727
727
  commander_1.program
728
728
  .command('generate-exposures')
729
- .description('[Experimental command] Generates a .yml file for Lightdash exposures')
729
+ .description('Generates a YAML file for Lightdash exposures')
730
730
  .addHelpText('after', `
731
731
  ${styles.bold('Examples:')}
732
732
  ${styles.title('⚡')}️lightdash ${styles.bold('generate-exposures')} ${styles.secondary('-- generates .yml file for all lightdash exposures')}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/cli",
3
- "version": "3.105.0",
3
+ "version": "3.106.0",
4
4
  "description": "Lightdash CLI tool",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,8 +22,8 @@
22
22
  "@actions/core": "1.11.1",
23
23
  "@aws-sdk/credential-providers": "3.995.0",
24
24
  "@casl/ability": "6.8.0",
25
- "@lightdash/common": "3.105.0",
26
- "@lightdash/warehouses": "3.105.0",
25
+ "@lightdash/common": "3.106.0",
26
+ "@lightdash/warehouses": "3.106.0",
27
27
  "@sidvind/better-ajv-errors": "7.0.0",
28
28
  "@types/columnify": "1.5.1",
29
29
  "ajv": "8.18.0",