expo-gaode-map-web-api 1.1.0 → 1.1.2
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 +2 -2
- package/package.json +15 -9
- package/package.json.backup +0 -40
package/README.md
CHANGED
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
|
|
36
36
|
安装本模块:
|
|
37
37
|
```bash
|
|
38
|
-
|
|
38
|
+
bun add expo-gaode-map-web-api
|
|
39
39
|
# 或
|
|
40
40
|
yarn add expo-gaode-map-web-api
|
|
41
41
|
# 或
|
|
42
|
-
|
|
42
|
+
npm install expo-gaode-map-web-api
|
|
43
43
|
```
|
|
44
44
|
注:若未安装上述基础包,安装时或运行时会给出明确提示。
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-gaode-map-web-api",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "高德地图 Web API 服务 - 搜索、路径规划、地理编码(纯 JavaScript 实现),配合 expo-gaode-map 使用",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"build",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"dev": "tsc --watch",
|
|
14
|
+
"clean": "rm -rf build",
|
|
15
|
+
"test": "bun test",
|
|
16
|
+
"prepare": "npm run build",
|
|
17
|
+
"postinstall": "node -e \"try{require.resolve('expo-gaode-map');process.exit(0)}catch(e1){try{require.resolve('expo-gaode-map-navigation');process.exit(0)}catch(e2){console.error('[expo-gaode-map-web-api] 需要安装基础地图组件:expo-gaode-map 或 expo-gaode-map-navigation 中的任意一个。\\bun add expo-gaode-map 或 bun add expo-gaode-map-navigation');process.exit(1)}}\""
|
|
18
|
+
},
|
|
7
19
|
"keywords": [
|
|
8
20
|
"react-native",
|
|
9
21
|
"expo",
|
|
@@ -19,7 +31,7 @@
|
|
|
19
31
|
"bugs": {
|
|
20
32
|
"url": "https://github.com/TomWq/expo-gaode-map/issues"
|
|
21
33
|
},
|
|
22
|
-
"author": "
|
|
34
|
+
"author": "(https://github.com/TomWq)",
|
|
23
35
|
"license": "MIT",
|
|
24
36
|
"homepage": "https://github.com/TomWq/expo-gaode-map#readme",
|
|
25
37
|
"dependencies": {},
|
|
@@ -29,11 +41,5 @@
|
|
|
29
41
|
},
|
|
30
42
|
"peerDependencies": {
|
|
31
43
|
"react-native": "*"
|
|
32
|
-
},
|
|
33
|
-
"scripts": {
|
|
34
|
-
"build": "tsc",
|
|
35
|
-
"dev": "tsc --watch",
|
|
36
|
-
"clean": "rm -rf build",
|
|
37
|
-
"postinstall": "node -e \"try{require.resolve('expo-gaode-map');process.exit(0)}catch(e1){try{require.resolve('expo-gaode-map-navigation');process.exit(0)}catch(e2){console.error('[expo-gaode-map-web-api] 需要安装基础地图组件:expo-gaode-map 或 expo-gaode-map-navigation 中的任意一个。\\n请执行:pnpm add expo-gaode-map 或 pnpm add expo-gaode-map-navigation');process.exit(1)}}\""
|
|
38
44
|
}
|
|
39
|
-
}
|
|
45
|
+
}
|
package/package.json.backup
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "expo-gaode-map-web-api",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "高德地图 Web API 服务 - 搜索、路径规划、地理编码(纯 JavaScript 实现),配合 expo-gaode-map 使用",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"types": "build/index.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"dev": "tsc --watch",
|
|
10
|
-
"clean": "rm -rf build",
|
|
11
|
-
"prepare": "npm run build",
|
|
12
|
-
"postinstall": "node -e \"try{require.resolve('expo-gaode-map');process.exit(0)}catch(e1){try{require.resolve('expo-gaode-map-navigation');process.exit(0)}catch(e2){console.error('[expo-gaode-map-web-api] 需要安装基础地图组件:expo-gaode-map 或 expo-gaode-map-navigation 中的任意一个。\\n请执行:pnpm add expo-gaode-map 或 pnpm add expo-gaode-map-navigation');process.exit(1)}}\""
|
|
13
|
-
},
|
|
14
|
-
"keywords": [
|
|
15
|
-
"react-native",
|
|
16
|
-
"expo",
|
|
17
|
-
"amap",
|
|
18
|
-
"gaode",
|
|
19
|
-
"web-api",
|
|
20
|
-
"search",
|
|
21
|
-
"geocode",
|
|
22
|
-
"route",
|
|
23
|
-
"高德地图"
|
|
24
|
-
],
|
|
25
|
-
"repository": "https://github.com/TomWq/expo-gaode-map",
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/TomWq/expo-gaode-map/issues"
|
|
28
|
-
},
|
|
29
|
-
"author": "尚博信_王强 <wangqiang03@sunboxsoft.com> (https://github.com/TomWq)",
|
|
30
|
-
"license": "MIT",
|
|
31
|
-
"homepage": "https://github.com/TomWq/expo-gaode-map#readme",
|
|
32
|
-
"dependencies": {},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@types/react": "~19.1.0",
|
|
35
|
-
"typescript": "^5.9.3"
|
|
36
|
-
},
|
|
37
|
-
"peerDependencies": {
|
|
38
|
-
"react-native": "*"
|
|
39
|
-
}
|
|
40
|
-
}
|