diff --git a/TimeseriesChart/README.md b/TimeSeriesChart/README.md similarity index 100% rename from TimeseriesChart/README.md rename to TimeSeriesChart/README.md diff --git a/TimeseriesChart/package.json b/TimeSeriesChart/package.json similarity index 100% rename from TimeseriesChart/package.json rename to TimeSeriesChart/package.json diff --git a/TimeseriesChart/rsbuild.config.ts b/TimeSeriesChart/rsbuild.config.ts similarity index 100% rename from TimeseriesChart/rsbuild.config.ts rename to TimeSeriesChart/rsbuild.config.ts diff --git a/TimeseriesChart/src/Chart.tsx b/TimeSeriesChart/src/Chart.tsx similarity index 100% rename from TimeseriesChart/src/Chart.tsx rename to TimeSeriesChart/src/Chart.tsx diff --git a/TimeseriesChart/src/TimeChart.tsx b/TimeSeriesChart/src/TimeChart.tsx similarity index 100% rename from TimeseriesChart/src/TimeChart.tsx rename to TimeSeriesChart/src/TimeChart.tsx diff --git a/TimeseriesChart/src/bootstrap.tsx b/TimeSeriesChart/src/bootstrap.tsx similarity index 100% rename from TimeseriesChart/src/bootstrap.tsx rename to TimeSeriesChart/src/bootstrap.tsx diff --git a/TimeseriesChart/src/env.d.ts b/TimeSeriesChart/src/env.d.ts similarity index 100% rename from TimeseriesChart/src/env.d.ts rename to TimeSeriesChart/src/env.d.ts diff --git a/TimeseriesChart/src/index.tsx b/TimeSeriesChart/src/index.tsx similarity index 100% rename from TimeseriesChart/src/index.tsx rename to TimeSeriesChart/src/index.tsx diff --git a/TimeseriesChart/src/model.ts b/TimeSeriesChart/src/model.ts similarity index 100% rename from TimeseriesChart/src/model.ts rename to TimeSeriesChart/src/model.ts diff --git a/TimeseriesChart/src/utils/data-transform.ts b/TimeSeriesChart/src/utils/data-transform.ts similarity index 100% rename from TimeseriesChart/src/utils/data-transform.ts rename to TimeSeriesChart/src/utils/data-transform.ts diff --git a/TimeseriesChart/src/utils/palette-gen.ts b/TimeSeriesChart/src/utils/palette-gen.ts similarity index 100% rename from TimeseriesChart/src/utils/palette-gen.ts rename to TimeSeriesChart/src/utils/palette-gen.ts diff --git a/TimeseriesChart/tsconfig.json b/TimeSeriesChart/tsconfig.json similarity index 100% rename from TimeseriesChart/tsconfig.json rename to TimeSeriesChart/tsconfig.json diff --git a/package-lock.json b/package-lock.json index e5b4f8f..d7db791 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "GaugeChart", "MarkdownChart", "StatChart", - "TimeseriesChart" + "TimeSeriesChart" ], "devDependencies": { "@rsbuild/core": "^0.6.8", @@ -1632,7 +1632,7 @@ "link": true }, "node_modules/@perses-dev/timeseries-chart": { - "resolved": "TimeseriesChart", + "resolved": "TimeSeriesChart", "link": true }, "node_modules/@pkgr/core": { @@ -7652,6 +7652,30 @@ } }, "TimeseriesChart": { + "name": "@perses-dev/timeseries-chart", + "version": "0.2.0", + "extraneous": true, + "dependencies": { + "@module-federation/enhanced": "^0.1.11", + "color-hash": "^2.0.2" + }, + "peerDependencies": { + "@emotion/react": "^11.7.1", + "@emotion/styled": "^11.6.0", + "@hookform/resolvers": "^3.2.0", + "@perses-dev/components": "0.45.0", + "@perses-dev/core": "0.45.0", + "@perses-dev/plugin-system": "0.45.0", + "date-fns": "^2.29.3", + "date-fns-tz": "^1.3.8", + "echarts": "5.5.0", + "lodash": "^4.17.21", + "react": "^17.0.2 || ^18.0.0", + "react-dom": "^17.0.2 || ^18.0.0", + "use-resize-observer": "^9.0.0" + } + }, + "TimeSeriesChart": { "name": "@perses-dev/timeseries-chart", "version": "0.2.0", "dependencies": { diff --git a/package.json b/package.json index 28ed95f..db26ba2 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "GaugeChart", "MarkdownChart", "StatChart", - "TimeseriesChart" + "TimeSeriesChart" ], "devDependencies": { "@rsbuild/core": "^0.6.8",