@antv/s2-vue 1.5.0 → 1.6.0

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,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@antv/s2-vue",
4
- "version": "1.5.0",
4
+ "version": "1.6.0",
5
5
  "main": "lib/index.js",
6
6
  "unpkg": "dist/index.min.js",
7
7
  "module": "esm/index.js",
@@ -45,9 +45,10 @@
45
45
  "build:umd": "cross-env FORMAT=umd vite build",
46
46
  "build:analysis": "cross-env FORMAT=es ANALYSIS=true vite build",
47
47
  "build:dts": "run-s dts:*",
48
+ "build:size-limit": "size-limit",
49
+ "build:size-limit-json": "yarn build:size-limit --json",
48
50
  "dts:build": "vue-tsc -p tsconfig.declaration.json",
49
51
  "dts:extract": "cross-env LIB=s2-vue node ../../scripts/dts.js",
50
- "bundle:size": "bundlesize",
51
52
  "test": "jest --passWithNoTests",
52
53
  "test:coverage": "yarn test --coverage",
53
54
  "test:ci": "yarn test --maxWorkers=3",
@@ -75,14 +76,15 @@
75
76
  "vue": "^3.2.31",
76
77
  "vue-tsc": "^0.34.11"
77
78
  },
78
- "bundlesize": [
79
+ "size-limit": [
79
80
  {
80
81
  "path": "./dist/index.min.js",
81
- "maxSize": "650 kB"
82
+ "import": "{ createComponent }",
83
+ "limit": "20 kB"
82
84
  },
83
85
  {
84
86
  "path": "./dist/style.min.css",
85
- "maxSize": "205 kB"
87
+ "limit": "5 kB"
86
88
  }
87
89
  ],
88
90
  "publishConfig": {