@vant/area-data 1.1.4 → 1.2.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/build.js +1 -0
- package/dist/index.cjs.js +3899 -0
- package/{lib → dist}/index.d.ts +2 -3
- package/dist/index.esm.js +3891 -0
- package/package.json +22 -6
- package/src/index.ts +5 -6
- package/tsconfig.json +1 -2
- package/lib/index.js +0 -3888
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vant/area-data",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Vant 省市区数据",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
5
|
+
"main": "dist/index.cjs.js",
|
|
6
|
+
"module": "dist/index.esm.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
7
8
|
"scripts": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
9
|
+
"clean": "rimraf ./dist",
|
|
10
|
+
"dev": "node ./build.js -w",
|
|
11
|
+
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
|
12
|
+
"build:bundle": "node ./build.js",
|
|
13
|
+
"build": "pnpm clean && pnpm build:bundle && pnpm build:types",
|
|
14
|
+
"release": "pnpm build && release-it",
|
|
10
15
|
"prepare": "pnpm build"
|
|
11
16
|
},
|
|
12
17
|
"publishConfig": {
|
|
@@ -20,5 +25,16 @@
|
|
|
20
25
|
},
|
|
21
26
|
"bugs": "https://github.com/youzan/vant/issues",
|
|
22
27
|
"author": "chenjiahan",
|
|
23
|
-
"license": "MIT"
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"esbuild": "^0.13.15",
|
|
31
|
+
"release-it": "^14.2.2",
|
|
32
|
+
"typescript": "~4.5.2"
|
|
33
|
+
},
|
|
34
|
+
"release-it": {
|
|
35
|
+
"git": {
|
|
36
|
+
"tag": false,
|
|
37
|
+
"commitMessage": "release: @vant/area-data ${version}"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
24
40
|
}
|
package/src/index.ts
CHANGED
|
@@ -390,7 +390,7 @@ export const areaList = {
|
|
|
390
390
|
711100: '新北市',
|
|
391
391
|
711200: '宜兰县',
|
|
392
392
|
711300: '新竹县',
|
|
393
|
-
711400: '
|
|
393
|
+
711400: '桃园市',
|
|
394
394
|
711500: '苗栗县',
|
|
395
395
|
711700: '彰化县',
|
|
396
396
|
711900: '嘉义县',
|
|
@@ -509,15 +509,14 @@ export const areaList = {
|
|
|
509
509
|
130471: '邯郸经济技术开发区',
|
|
510
510
|
130473: '邯郸冀南新区',
|
|
511
511
|
130481: '武安市',
|
|
512
|
-
130502: '
|
|
513
|
-
130503: '
|
|
514
|
-
|
|
512
|
+
130502: '襄都区',
|
|
513
|
+
130503: '信都区',
|
|
514
|
+
130505: '任泽区',
|
|
515
|
+
130506: '南和区',
|
|
515
516
|
130522: '临城县',
|
|
516
517
|
130523: '内丘县',
|
|
517
518
|
130524: '柏乡县',
|
|
518
519
|
130525: '隆尧县',
|
|
519
|
-
130526: '任县',
|
|
520
|
-
130527: '南和县',
|
|
521
520
|
130528: '宁晋县',
|
|
522
521
|
130529: '巨鹿县',
|
|
523
522
|
130530: '新河县',
|