tg-map-vue3 4.0.3 → 4.1.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.
Files changed (2) hide show
  1. package/README.md +2 -20
  2. package/package.json +3 -5
package/README.md CHANGED
@@ -25,10 +25,10 @@ import 'tg-map-vue3/dist/tg-map.css'
25
25
 
26
26
  ## 发布
27
27
 
28
- 在npm上, 登录[transcode-group](https://www.npmjs.com/~transcode-group)帐号后, 可以发布该库
28
+ 在npm上, 登录[transcode-group](https://www.npmjs.com/~transcode-group)帐号后, 可以发布该项目的所有库
29
29
 
30
30
  ```sh
31
- pnpm publish
31
+ pnpm -r publish
32
32
  ```
33
33
 
34
34
  ## 开发
@@ -50,24 +50,6 @@ cd $REPO_MAIN_PATH
50
50
  pnpm link @transcodegroup\tg-map
51
51
  ```
52
52
 
53
- ### Patch的第三方库
54
-
55
- 1. [@google/markerclusterer](node_modules/@google/markerclusterer/package.json#L48)
56
-
57
- TypeScript/VSCode默认只会读取package.json中的main字段, 而webpack默认依次读取[brower, module, main],
58
- Google的这个点聚合库中, main指向的是xxx.umd.js, TypeScript/VSCode并不能使用它的JSDoc生成类型信息, 故当前通过pnpm的patch功能, 把package.json中的main改成了和module相同的内容, 以获取智能提示.
59
-
60
- ### 修改VSCode配置
61
-
62
- 用户配置:
63
-
64
- ```jsonc
65
- {
66
- // 统一使用项目中的TS版本
67
- "typescript.tsdk": "node_modules/typescript/lib",
68
- }
69
- ```
70
-
71
53
  ### 构建
72
54
 
73
55
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-map-vue3",
3
- "version": "4.0.3",
3
+ "version": "4.1.0",
4
4
  "author": "ipcjs",
5
5
  "description": "封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库",
6
6
  "keywords": [
@@ -45,7 +45,7 @@
45
45
  "@types/heremaps": "3.0.14",
46
46
  "tg-commons": "^1.2.2",
47
47
  "maptalks": "1.5.0",
48
- "tg-map-core": "0.0.3"
48
+ "tg-map-core": "4.1.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "vue": "^3.5.16"
@@ -96,8 +96,6 @@
96
96
  "preview:watch": "LIB_MODE=false run-p preview build-watch",
97
97
  "dev:main": "vite --port 4000",
98
98
  "dev:tg": "pnpm -r dev",
99
- "build:tg": "pnpm -r build",
100
- "publish:main": "pnpm publish",
101
- "publish:tg": "pnpm -r publish"
99
+ "build:tg": "pnpm -r build"
102
100
  }
103
101
  }