@reside-ic/skadi-chart 1.1.1 → 1.1.2

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.
@@ -307,7 +307,7 @@ declare module "Chart" {
307
307
  private createCategoricalScale;
308
308
  }
309
309
  }
310
- declare module "skadi-chart" {
310
+ declare module "@reside-ic/skadi-chart" {
311
311
  import { Chart, ChartOptions } from "Chart";
312
312
  import { Lines, Scales, ZoomExtents, ZoomProperties, LayerArgs, ScatterPoints, LineStyle, ScatterPointStyle, Point } from "types";
313
313
  import { OptionalLayer, LayerType } from "layers/Layer";
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@reside-ic/skadi-chart",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
8
  "main": "./dist/skadi-chart.umd.cjs",
9
9
  "module": "./dist/skadi-chart.js",
10
- "types": "./dist/reside-ic-skadi-chart.d.ts",
10
+ "types": "./dist/skadi-chart.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
13
  "import": {
14
- "types": "./dist/reside-ic-skadi-chart.d.ts",
14
+ "types": "./dist/skadi-chart.d.ts",
15
15
  "default": "./dist/skadi-chart.js"
16
16
  },
17
17
  "require": "./dist/skadi-chart.umd.cjs"
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "scripts": {
21
21
  "dev": "vite serve src/demo/",
22
- "build": "vite build && vue-tsc -p tsconfig.build.json && cp reside-ic-skadi-chart.d.ts dist/",
22
+ "build": "vite build && vue-tsc -p tsconfig.build.json && tsx scripts/renameModuleDeclaration.ts",
23
23
  "test:unit": "vitest",
24
24
  "test:e2e": "playwright test",
25
25
  "coverage": "vitest run --coverage"
@@ -50,6 +50,7 @@
50
50
  "@vue/tsconfig": "^0.7.0",
51
51
  "jsdom": "^26.0.0",
52
52
  "npm-run-all2": "^7.0.2",
53
+ "tsx": "^4.20.6",
53
54
  "typescript": "~5.7.3",
54
55
  "vite": "^6.0.11",
55
56
  "vite-plugin-vue-devtools": "^7.7.0",
@@ -1,4 +0,0 @@
1
- /// <reference path="skadi-chart.d.ts" />
2
- declare module "@reside-ic/skadi-chart" {
3
- export * from "skadi-chart";
4
- }