@lightdash/cli 0.2657.1 → 0.2657.3
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,
|
|
1
|
+
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/handlers/compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAOH,OAAO,EACP,YAAY,EAYf,MAAM,mBAAmB,CAAC;AAa3B,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;CACxC,CAAC;AAwHF,eAAO,MAAM,OAAO,GAAU,SAAS,qBAAqB,wCAmP3D,CAAC;AAEF,eAAO,MAAM,cAAc,GACvB,iBAAiB,qBAAqB,kBAmCzC,CAAC"}
|
package/dist/handlers/compile.js
CHANGED
|
@@ -43,6 +43,7 @@ const getExploresFromLightdashYmlProject = async (projectDir, lightdashProjectCo
|
|
|
43
43
|
const validExplores = await (0, common_1.convertExplores)(validModels, false, warehouseSqlBuilder.getAdapterType(), [], warehouseSqlBuilder, lightdashProjectConfig, {
|
|
44
44
|
disableTimestampConversion,
|
|
45
45
|
allowPartialCompilation: process.env.PARTIAL_COMPILATION_ENABLED !== 'false',
|
|
46
|
+
postProcessors: [common_1.preAggregatePostProcessor],
|
|
46
47
|
});
|
|
47
48
|
return validExplores;
|
|
48
49
|
};
|
|
@@ -190,6 +191,7 @@ const compile = async (options) => {
|
|
|
190
191
|
: Object.values(manifest.metrics || {}), warehouseSqlBuilder, lightdashProjectConfig, {
|
|
191
192
|
disableTimestampConversion: options.disableTimestampConversion,
|
|
192
193
|
allowPartialCompilation: process.env.PARTIAL_COMPILATION_ENABLED !== 'false',
|
|
194
|
+
postProcessors: [common_1.preAggregatePostProcessor],
|
|
193
195
|
});
|
|
194
196
|
console.error('');
|
|
195
197
|
explores = [...validExplores, ...failedExplores];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/cli",
|
|
3
|
-
"version": "0.2657.
|
|
3
|
+
"version": "0.2657.3",
|
|
4
4
|
"description": "Lightdash CLI tool",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"unique-names-generator": "^4.7.1",
|
|
41
41
|
"uuid": "^11.0.3",
|
|
42
42
|
"yaml": "^2.7.0",
|
|
43
|
-
"@lightdash/common": "0.2657.
|
|
44
|
-
"@lightdash/warehouses": "0.2657.
|
|
43
|
+
"@lightdash/common": "0.2657.3",
|
|
44
|
+
"@lightdash/warehouses": "0.2657.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/inquirer": "^8.2.1",
|