@lightdash/cli 1.146.1 → 1.146.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.
package/dist/index.js CHANGED
@@ -383,7 +383,7 @@ const downloadCommand = commander_1.program
383
383
  .option('--include-apps', "Include all of the project's data apps (enterprise), capped at --apps-limit (default: 50)", false)
384
384
  .option('--apps-limit <number>', 'Maximum number of data apps downloaded by --include-apps or --include-all (default: 50)', undefined)
385
385
  .option('--apps-only', "Download only data apps (implies --skip-charts --skip-dashboards --skip-spaces). Bare --apps-only downloads all the project's apps; pass --apps <appReferences...> to select.", false)
386
- .option('--organization', 'download all organization-scoped resources without selecting a project', false);
386
+ .option('--organization', 'download all organization-scoped resources, including Data App themes, without selecting a project', false);
387
387
  downloadCommand.action(withOrganizationMode(download_1.downloadHandler));
388
388
  const uploadCommand = commander_1.program
389
389
  .command('upload')
@@ -422,7 +422,7 @@ const uploadCommand = commander_1.program
422
422
  .option('--allow-custom-dependencies', 'Approve uploading apps that declare custom dependencies without prompting. Required for non-interactive runs of such uploads.', false)
423
423
  .option('--app-space <spaceRef>', 'Space (slug or UUID) for data apps this upload creates. Existing apps keep their space.')
424
424
  .option('--create-new', 'Always create a new app from the uploaded code instead of updating the app referenced by lightdash-app.yml. The new app gets a fresh slug.', false)
425
- .option('--organization', 'upload all organization-scoped resources without selecting a project', false)
425
+ .option('--organization', 'upload all organization-scoped resources, including Data App themes, without selecting a project', false)
426
426
  .option('--send-invites', 'send invitations to eligible pending users during organization upload', false);
427
427
  uploadCommand.action(withOrganizationMode(download_1.uploadHandler));
428
428
  const appsProgram = commander_1.program
@@ -81,7 +81,7 @@ describe('effective-dbt-sql skill content policy', () => {
81
81
  expect(body).toMatch(/does not prescribe|not in scope/);
82
82
  });
83
83
  });
84
- describe('developing-in-lightdash catalog workflow', () => {
84
+ describe('developing-in-lightdash routed workflows', () => {
85
85
  const skillDir = path.join(SKILLS_DIR, 'developing-in-lightdash');
86
86
  const skillMd = fs.readFileSync(path.join(skillDir, 'SKILL.md'), 'utf-8');
87
87
  const workflowPath = path.join(skillDir, 'resources', 'creating-from-warehouse-catalog.md');
@@ -90,6 +90,12 @@ describe('developing-in-lightdash catalog workflow', () => {
90
90
  expect(skillMd).toContain('./resources/creating-from-warehouse-catalog.md');
91
91
  expect(skillMd).toMatch(/no usable dbt project[\s\S]*always read and follow/i);
92
92
  });
93
+ it('routes organization Data App theme work through its focused reference', () => {
94
+ const { description } = parseFrontmatter(skillMd);
95
+ expect(description?.toLowerCase()).toContain('organization data app themes');
96
+ expect(skillMd).toContain('./resources/data-app-themes-reference.md');
97
+ expect(skillMd).toMatch(/any task that creates, edits, migrates, downloads, uploads, or tests an organization Data App theme,[\s\S]*always read and follow/i);
98
+ });
93
99
  it('keeps the workflow credential-safe, additive, and project-pinned', () => {
94
100
  expect(workflow).toContain('Never request, read, print, copy, or edit warehouse credentials.');
95
101
  expect(workflow).toContain('Immediately before deploy, the selected UUID must equal `EXPECTED_PROJECT_UUID`.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/cli",
3
- "version": "1.146.1",
3
+ "version": "1.146.3",
4
4
  "description": "Lightdash CLI tool",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "unique-names-generator": "4.7.1",
43
43
  "uuid": "11.1.1",
44
44
  "yaml": "2.8.3",
45
- "@lightdash/common": "1.146.1",
46
- "@lightdash/warehouses": "1.146.1"
45
+ "@lightdash/common": "1.146.3",
46
+ "@lightdash/warehouses": "1.146.3"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/inquirer": "8.2.4",