cmap-core 0.0.9 → 0.2.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,6 +1,6 @@
1
1
  {
2
2
  "name": "cmap-core",
3
- "version": "0.0.9",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -29,23 +29,13 @@
29
29
  "bugs": {
30
30
  "url": "https://github.com/chenyikai/cmap-core/issues"
31
31
  },
32
- "scripts": {
33
- "dev": "vite",
34
- "build": "tsc && vite build",
35
- "preview": "tsc && vite build && vite",
36
- "lint": "eslint .",
37
- "lint:fix": "eslint . --fix",
38
- "format": "prettier --write \"./**/*.{html,vue,ts,js,json,md}\"",
39
- "type-check": "tsc --noEmit",
40
- "change": "changeset",
41
- "version": "changeset version",
42
- "release": "npm run build && changeset publish",
43
- "build:publish": "tsc && vite build && cp -rf dist package.json /Users/yikaichen/Projects/chenzq/cmap-core/ && cd /Users/yikaichen/Projects/chenzq/cmap-core && git add . && (git commit -m \"chore: update dist and package.json $(date +'%Y-%m-%d_%H-%M-%S')\" || echo \"No changes to commit\") && git push"
44
- },
45
32
  "devDependencies": {
46
33
  "@changesets/cli": "^2.29.8",
47
34
  "@eslint/js": "^9.39.2",
35
+ "@tweakpane/core": "^2.0.5",
48
36
  "@types/node": "^25.0.9",
37
+ "@types/polylabel": "^1.1.3",
38
+ "@vitejs/plugin-legacy": "^7.2.1",
49
39
  "axios": "^1.13.2",
50
40
  "eslint": "^9.39.2",
51
41
  "eslint-config-prettier": "^10.1.8",
@@ -54,11 +44,11 @@
54
44
  "eslint-plugin-unused-imports": "^4.3.0",
55
45
  "globals": "^17.0.0",
56
46
  "husky": "^9.1.7",
57
- "lil-gui": "^0.21.0",
58
47
  "lint-staged": "^16.2.7",
59
48
  "prettier": "^3.8.0",
60
49
  "rimraf": "^6.1.2",
61
50
  "sass": "^1.97.2",
51
+ "terser": "^5.46.0",
62
52
  "typescript": "~5.9.3",
63
53
  "typescript-eslint": "^8.53.0",
64
54
  "vite": "^7.2.4",
@@ -75,9 +65,25 @@
75
65
  "geojson": "^0.5.0",
76
66
  "lodash-es": "^4.17.21",
77
67
  "mapbox-gl": "^3.18.1",
68
+ "polylabel": "^2.0.1",
78
69
  "qs": "^6.14.0",
79
70
  "rbush": "^4.0.1",
71
+ "tweakpane": "^4.0.5",
80
72
  "uuid": "^11.0.3",
81
73
  "wellknown": "^0.5.0"
74
+ },
75
+ "scripts": {
76
+ "dev": "vite",
77
+ "build": "tsc && vite build",
78
+ "preview": "tsc && vite build && vite",
79
+ "lint": "eslint .",
80
+ "lint:fix": "eslint . --fix",
81
+ "format": "prettier --write \"./**/*.{html,vue,ts,js,json,md}\"",
82
+ "type-check": "tsc --noEmit",
83
+ "change": "changeset",
84
+ "version": "changeset version",
85
+ "release": "pnpm run build && changeset publish",
86
+ "build:demo": "vite build --config vite.demo.config.ts",
87
+ "build:publish": "tsc && vite build && npm run build:demo && cp -rf dist haitu-demo package.json debug index.html /Users/yikaichen/Projects/chenzq/cmap-core/ && cd /Users/yikaichen/Projects/chenzq/cmap-core && git add . && (git commit -m \"chore: update dist and package.json $(date +'%Y-%m-%d_%H-%M-%S')\" || echo \"No changes to commit\") && git push"
82
88
  }
83
- }
89
+ }