@visactor/vseed 0.4.4 → 0.4.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vseed",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -11,8 +11,11 @@
11
11
  }
12
12
  },
13
13
  "main": "./dist/cjs/index.cjs",
14
- "types": "./dist/esm/index.d.ts",
14
+ "module": "./dist/esm/index.js",
15
+ "browser": "./dist/umd/index.js",
15
16
  "unpkg": "./dist/umd/index.js",
17
+ "jsdelivr": "./dist/umd/index.js",
18
+ "types": "./dist/esm/index.d.ts",
16
19
  "files": [
17
20
  "dist"
18
21
  ],
@@ -74,8 +77,8 @@
74
77
  "test:coverage": "vitest run --update --coverage && node scripts/build-coverage-badge.mjs && open coverage/index.html",
75
78
  "test:unit": "vitest run tests/unit",
76
79
  "test:unit:coverage": "vitest run tests/unit --coverage && open coverage/index.html",
77
- "test:integration": "vitest run tests/integration",
78
- "test:integration:update": "vitest run tests/integration --update",
79
- "test:integration:coverage": "vitest run tests/integration --coverage && open coverage/index.html"
80
+ "test:integration": "vitest run --exclude tests/unit",
81
+ "test:integration:update": "vitest run --exclude tests/unit --update",
82
+ "test:integration:coverage": "vitest run --exclude tests/unit --coverage && open coverage/index.html"
80
83
  }
81
84
  }
@@ -1,15 +0,0 @@
1
- import type { LineDimension } from './lineDimension';
2
- export type RaceLineDimension = LineDimension & {
3
- /**
4
- * @description 维度映射的通道
5
- * - xAxis: 支持将多个维度映射到x轴
6
- * - color: 支持将多个维度映射到颜色通道
7
- * - detail: 支持将多个维度映射到详情通道
8
- * - tooltip: 支持将多个维度映射到提示通道
9
- * - label: 支持将多个维度映射到标签通道
10
- * - row: 支持将多个维度映射到行通道
11
- * - column: 支持将多个维度映射到列通道
12
- * - player: 支持将多个维度映射到播放器通道
13
- */
14
- encoding?: 'xAxis' | 'color' | 'detail' | 'tooltip' | 'label' | 'row' | 'column' | 'player';
15
- };
@@ -1,2 +0,0 @@
1
- import type { ColumnMeasure } from './columnMeasure';
2
- export type RaceLineMeasure = ColumnMeasure;