@lightdash/cli 1.251.7 → 1.252.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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/dbt/manifest.d.ts.map +1 -1
- package/dist/dbt/manifest.js +33 -1
- package/dist/dbt/manifest.test.js +91 -0
- package/dist/dbt/validation.d.ts +1 -1
- package/dist/dbt/validation.d.ts.map +1 -1
- package/dist/dbt/validation.js +11 -2
- package/dist/dbt/validation.test.js +21 -0
- package/dist/handlers/compile.d.ts +2 -0
- package/dist/handlers/compile.d.ts.map +1 -1
- package/dist/handlers/compile.js +142 -11
- package/dist/handlers/compileProject.test.js +385 -1
- package/dist/handlers/compileWarehouseColumnValidation.test.js +1 -0
- package/dist/handlers/deploy.d.ts +1 -1
- package/dist/handlers/deploy.d.ts.map +1 -1
- package/dist/handlers/deploy.js +21 -12
- package/dist/handlers/deploy.test.js +50 -3
- package/dist/handlers/preview.d.ts +3 -1
- package/dist/handlers/preview.d.ts.map +1 -1
- package/dist/handlers/preview.js +2 -0
- package/dist/index.js +8 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -270,12 +270,14 @@ commander_1.program
|
|
|
270
270
|
.option('--use-dbt-list [true|false]', 'Use `dbt list` instead of `dbt compile` to generate dbt manifest.json', parseUseDbtListOption, true)
|
|
271
271
|
.option('--ignore-errors', 'Allows deploy with errors on compile', false)
|
|
272
272
|
.option('--combine-manifest <path-or-url>', 'Path or http(s) URL to an additional dbt manifest.json. Models present in this file but missing from the preview manifest are merged in so the preview shows the full project. The preview-generated manifest always wins on conflicts.')
|
|
273
|
+
.option('--no-combine', 'Skip combining the preview manifest with the manifest served by Lightdash')
|
|
273
274
|
.option('--table-configuration <prod|all>', `If set to 'prod' it will copy the table configuration from prod project`, 'all')
|
|
274
275
|
.option('--skip-copy-content', 'Skip copying content from the source project', false)
|
|
275
276
|
.option('--disable-timestamp-conversion [true|false]', 'Disable timestamp conversion to UTC for Snowflake warehouses. Applied when creating the preview project; ignored when updating an existing preview (read from project settings).', parseDisableTimestampConversionOption)
|
|
276
277
|
.option('--no-warehouse-credentials', 'Create preview without warehouse credentials. Copies credentials from upstream project.')
|
|
277
278
|
.option('--organization-credentials <name>', 'Use organization warehouse credentials with the specified name (Enterprise Edition feature)')
|
|
278
|
-
.option('--
|
|
279
|
+
.option('--no-batched-deploy', 'Use the legacy single-request deploy')
|
|
280
|
+
.option('--use-batched-deploy', 'Use batched deploy to upload explores in batches')
|
|
279
281
|
.option('--batch-size <number>', 'Number of explores to deploy in each batch (default: 50)', '50')
|
|
280
282
|
.option('--parallel-batches <number>', 'Number of batches to send in parallel (default: 1, use higher values with caution)', '1')
|
|
281
283
|
.option('--expires-in <hours>', 'Number of hours until the preview project auto-expires (default: 720, i.e. 30 days)')
|
|
@@ -310,12 +312,14 @@ commander_1.program
|
|
|
310
312
|
.option('--use-dbt-list [true|false]', 'Use `dbt list` instead of `dbt compile` to generate dbt manifest.json', parseUseDbtListOption, true)
|
|
311
313
|
.option('--ignore-errors', 'Allows deploy with errors on compile', false)
|
|
312
314
|
.option('--combine-manifest <path-or-url>', 'Path or http(s) URL to an additional dbt manifest.json. Models present in this file but missing from the preview manifest are merged in so the preview shows the full project. The preview-generated manifest always wins on conflicts.')
|
|
315
|
+
.option('--no-combine', 'Skip combining the preview manifest with the manifest served by Lightdash')
|
|
313
316
|
.option('--table-configuration <prod|all>', `If set to 'prod' it will copy the table configuration from prod project`, 'all')
|
|
314
317
|
.option('--skip-copy-content', 'Skip copying content from the source project', false)
|
|
315
318
|
.option('--disable-timestamp-conversion [true|false]', 'Disable timestamp conversion to UTC for Snowflake warehouses. Applied when creating the preview project; ignored when updating an existing preview (read from project settings).', parseDisableTimestampConversionOption)
|
|
316
319
|
.option('--no-warehouse-credentials', 'Create preview without warehouse credentials. Copies credentials from upstream project.')
|
|
317
320
|
.option('-y, --assume-yes', 'assume yes to prompts', false)
|
|
318
|
-
.option('--
|
|
321
|
+
.option('--no-batched-deploy', 'Use the legacy single-request deploy')
|
|
322
|
+
.option('--use-batched-deploy', 'Use batched deploy to upload explores in batches')
|
|
319
323
|
.option('--batch-size <number>', 'Number of explores to deploy in each batch (default: 50)', '50')
|
|
320
324
|
.option('--parallel-batches <number>', 'Number of batches to send in parallel (default: 1, use higher values with caution)', '1')
|
|
321
325
|
.option('--expires-in <hours>', 'Number of hours until the preview project auto-expires (default: 720, i.e. 30 days)')
|
|
@@ -494,7 +498,8 @@ commander_1.program
|
|
|
494
498
|
.option('--organization-credentials <name>', 'Use organization warehouse credentials with the specified name (Enterprise Edition feature)')
|
|
495
499
|
.option('--disable-timestamp-conversion [true|false]', 'Disable timestamp conversion to UTC for Snowflake warehouses. Only used when creating a new project with --create; otherwise the setting is read from the project settings.', parseDisableTimestampConversionOption)
|
|
496
500
|
.option('-y, --assume-yes', 'assume yes to prompts', false)
|
|
497
|
-
.option('--
|
|
501
|
+
.option('--no-batched-deploy', 'Use the legacy single-request deploy')
|
|
502
|
+
.option('--use-batched-deploy', 'Use batched deploy to upload explores in batches')
|
|
498
503
|
.option('--batch-size <number>', 'Number of explores per batch (default: 50)', '50')
|
|
499
504
|
.option('--parallel-batches <number>', 'Number of batches to send in parallel (default: 1, use higher values with caution)', '1')
|
|
500
505
|
.option('--gzip', 'Enable gzip compression for request bodies', false)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightdash/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.252.0",
|
|
4
4
|
"description": "Lightdash CLI tool",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"unique-names-generator": "4.7.1",
|
|
46
46
|
"uuid": "11.1.1",
|
|
47
47
|
"yaml": "2.8.3",
|
|
48
|
-
"@lightdash/common": "1.
|
|
49
|
-
"@lightdash/warehouses": "1.
|
|
48
|
+
"@lightdash/common": "1.252.0",
|
|
49
|
+
"@lightdash/warehouses": "1.252.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/inquirer": "8.2.4",
|