The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
deps(custom-viz): use safe version of vite (#75053)
Uladzimir Havenchyk2c6bb89a55ea
diff --git a/enterprise/frontend/src/custom-viz/package.json b/enterprise/frontend/src/custom-viz/package.jsonindex 3d006c576ec..9cf8d22cdd9 100644--- a/enterprise/frontend/src/custom-viz/package.json+++ b/enterprise/frontend/src/custom-viz/package.json@@ -1,6 +1,6 @@{"name": "@metabase/custom-viz",- "version": "1.0.2",+ "version": "1.0.3","description": "Creating custom visualizations for Metabase","type": "module","bin": {diff --git a/enterprise/frontend/src/custom-viz/src/templates/README.md b/enterprise/frontend/src/custom-viz/src/templates/README.mdindex 204ae5ae062..588703101e6 100644--- a/enterprise/frontend/src/custom-viz/src/templates/README.md+++ b/enterprise/frontend/src/custom-viz/src/templates/README.md@@ -208,9 +208,9 @@ settings: {A custom visualization is a single JS bundle — it cannot load separate image filesfrom the Metabase instance. To use an image, **inline it into your bundle**:-- Embed a raster image as a base64 `data:` URL (this is what the generated- `src/index.tsx` does), or-- Draw it as inline `<svg>` (best for icons and simple graphics):+- Draw it as inline `<svg>` (best for icons and simple graphics — this is what the+ generated `src/index.tsx` does), or+- Embed a raster image as a base64 `data:` URL:```tsxconst myImage = "data:image/png;base64,iVBORw0KGgo...";diff --git a/enterprise/frontend/src/custom-viz/src/templates/package.json b/enterprise/frontend/src/custom-viz/src/templates/package.jsonindex 8e3a7ba382d..5d53687d2af 100644--- a/enterprise/frontend/src/custom-viz/src/templates/package.json+++ b/enterprise/frontend/src/custom-viz/src/templates/package.json@@ -20,6 +20,6 @@"@vitejs/plugin-react": "5.2.0","tar-stream": "3.1.8","typescript": "5.9.3",- "vite": "8.0.0"+ "vite": "8.0.16"}}