@lightdash/cli 0.2650.0 → 0.2652.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,EAWf,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;
|
|
1
|
+
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/handlers/compile.ts"],"names":[],"mappings":"AAAA,OAAO,EAOH,OAAO,EACP,YAAY,EAWf,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;AAuHF,eAAO,MAAM,OAAO,GAAU,SAAS,qBAAqB,wCAkP3D,CAAC;AAEF,eAAO,MAAM,cAAc,GACvB,iBAAiB,qBAAqB,kBAmCzC,CAAC"}
|
package/dist/handlers/compile.js
CHANGED
|
@@ -40,7 +40,10 @@ const getExploresFromLightdashYmlProject = async (projectDir, lightdashProjectCo
|
|
|
40
40
|
}
|
|
41
41
|
globalState_1.default.debug('> Skipping warehouse catalog (types in YAML)');
|
|
42
42
|
const warehouseSqlBuilder = (0, warehouses_1.warehouseSqlBuilderFromType)(adapterType, startOfWeek);
|
|
43
|
-
const validExplores = await (0, common_1.convertExplores)(validModels, false, warehouseSqlBuilder.getAdapterType(), [], warehouseSqlBuilder, lightdashProjectConfig,
|
|
43
|
+
const validExplores = await (0, common_1.convertExplores)(validModels, false, warehouseSqlBuilder.getAdapterType(), [], warehouseSqlBuilder, lightdashProjectConfig, {
|
|
44
|
+
disableTimestampConversion,
|
|
45
|
+
allowPartialCompilation: process.env.PARTIAL_COMPILATION_ENABLED !== 'false',
|
|
46
|
+
});
|
|
44
47
|
return validExplores;
|
|
45
48
|
};
|
|
46
49
|
/**
|
|
@@ -184,7 +187,10 @@ const compile = async (options) => {
|
|
|
184
187
|
common_1.DbtManifestVersion.V12,
|
|
185
188
|
].includes(manifestVersion)
|
|
186
189
|
? []
|
|
187
|
-
: Object.values(manifest.metrics || {}), warehouseSqlBuilder, lightdashProjectConfig,
|
|
190
|
+
: Object.values(manifest.metrics || {}), warehouseSqlBuilder, lightdashProjectConfig, {
|
|
191
|
+
disableTimestampConversion: options.disableTimestampConversion,
|
|
192
|
+
allowPartialCompilation: process.env.PARTIAL_COMPILATION_ENABLED !== 'false',
|
|
193
|
+
});
|
|
188
194
|
console.error('');
|
|
189
195
|
explores = [...validExplores, ...failedExplores];
|
|
190
196
|
dbtMetrics = manifest.metrics;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2652.0",
|
|
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.
|
|
44
|
-
"@lightdash/warehouses": "0.
|
|
43
|
+
"@lightdash/common": "0.2652.0",
|
|
44
|
+
"@lightdash/warehouses": "0.2652.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/inquirer": "^8.2.1",
|