@teeechina/teee-map 0.0.2 → 0.0.3

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/README.md CHANGED
@@ -1,5 +1,3 @@
1
- # teee-map
1
+ # teee-map-sdk
2
2
 
3
- 基于maplibre封装的一套适合太昌业务流的地图组件
4
-
5
- npm i maplibre-gl@5.21.1
3
+ 基于teee-map的npm发布版本
package/dist/teee-map.mjs CHANGED
@@ -35352,7 +35352,7 @@ var l = async () => {
35352
35352
  }]
35353
35353
  };
35354
35354
  //#endregion
35355
- //#region src/utils/ctcTool.ts
35355
+ //#region src/teee-map/utils/ctcTool.ts
35356
35356
  function D() {
35357
35357
  if (!this.mapConfigs) return;
35358
35358
  let e = this.mapConfigs.id;
@@ -35398,7 +35398,7 @@ function O(e) {
35398
35398
  }), e.initState = D;
35399
35399
  }
35400
35400
  //#endregion
35401
- //#region src/utils/baseTool.ts
35401
+ //#region src/teee-map/utils/baseTool.ts
35402
35402
  function k(e, t) {
35403
35403
  let n = this.map;
35404
35404
  if (n && !n.getSource(e)) {
@@ -35502,7 +35502,7 @@ function oe(e) {
35502
35502
  e.addGeoJsonSource = ee, e.addVectorTileSource = k, e.addRasterTileSource = A, e.updateGeoJsonSource = j, e.removeSource = te, e.addGeoJsonLayer = ne, e.updateLayerStyle = re, e.removeLayer = ie, e.onFeatureClick = M, e.destroy = ae;
35503
35503
  }
35504
35504
  //#endregion
35505
- //#region src/utils/index.ts
35505
+ //#region src/teee-map/utils/index.ts
35506
35506
  var se = {
35507
35507
  base: oe,
35508
35508
  ctc: O
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@teeechina/teee-map",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "",
5
5
  "main": "dist/teee-map.umd.js",
6
6
  "module": "dist/teee-map.mjs",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "build": "vite build",
10
+ "format": "prettier --write src/",
11
+ "pub": "npm run build && npm publish"
12
+ },
7
13
  "keywords": [],
8
14
  "author": "Teee",
9
15
  "files": [
@@ -11,6 +17,7 @@
11
17
  "index.d.ts"
12
18
  ],
13
19
  "license": "ISC",
20
+ "packageManager": "pnpm@10.33.0",
14
21
  "dependencies": {
15
22
  "maplibre-gl": "5.21.1",
16
23
  "vite": "^8.0.9"
@@ -18,8 +25,7 @@
18
25
  "publishConfig": {
19
26
  "access": "public"
20
27
  },
21
- "scripts": {
22
- "test": "echo \"Error: no test specified\" && exit 1",
23
- "build": "vite build"
28
+ "devDependencies": {
29
+ "prettier": "^3.8.3"
24
30
  }
25
31
  }