Skip to content

Commit b182e7c

Browse files
committed
build($shared-utils): add types defs package
1 parent 8d0c27b commit b182e7c

File tree

2 files changed

+29
-21
lines changed

2 files changed

+29
-21
lines changed

packages/@vuepress/shared-utils/package.json

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,33 @@
22
"name": "@vuepress/shared-utils",
33
"version": "1.2.0",
44
"description": "shared-utils for vuepress",
5-
"main": "lib/index.js",
6-
"types": "types/index.d.ts",
7-
"files": [
8-
"lib",
9-
"types"
5+
"keywords": [
6+
"documentation",
7+
"generator",
8+
"vue",
9+
"vuepress"
1010
],
11-
"scripts": {
12-
"tsc": "tsc",
13-
"update-index": "node scripts/update-index.js"
14-
},
15-
"publishConfig": {
16-
"access": "public"
11+
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/shared-utils#readme",
12+
"bugs": {
13+
"url": "https://github.com/vuejs/vuepress/issues"
1714
},
1815
"repository": {
1916
"type": "git",
2017
"url": "git+https://github.com/vuejs/vuepress.git",
2118
"directory": "packages/@vuepress/shared-utils"
2219
},
23-
"keywords": [
24-
"documentation",
25-
"vue",
26-
"vuepress",
27-
"generator"
20+
"license": "MIT",
21+
"author": "ULIVZ <[email protected]>",
22+
"files": [
23+
"lib",
24+
"types"
2825
],
26+
"main": "lib/index.js",
27+
"types": "types/index.d.ts",
28+
"scripts": {
29+
"tsc": "tsc",
30+
"update-index": "node scripts/update-index.js"
31+
},
2932
"dependencies": {
3033
"chalk": "^2.3.2",
3134
"diacritics": "^1.3.0",
@@ -37,10 +40,10 @@
3740
"semver": "^6.0.0",
3841
"upath": "^1.1.0"
3942
},
40-
"author": "ULIVZ <[email protected]>",
41-
"license": "MIT",
42-
"bugs": {
43-
"url": "https://github.com/vuejs/vuepress/issues"
43+
"devDependencies": {
44+
"@types/diacritics": "^1.3.1"
4445
},
45-
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/shared-utils#readme"
46+
"publishConfig": {
47+
"access": "public"
48+
}
4649
}

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,11 @@
20862086
version "3.5.27"
20872087
resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.27.tgz#61eb4d75dc6bfbce51cf49ee9bbebe941b2cb5d0"
20882088

2089+
"@types/diacritics@^1.3.1":
2090+
version "1.3.1"
2091+
resolved "https://registry.yarnpkg.com/@types/diacritics/-/diacritics-1.3.1.tgz#925fbaf4bfbaafbcafe5ac1be67c58c965a0ad40"
2092+
integrity sha512-tAH+RY51Zbz7ZSzN7yxQBKEue78U6weZ1UUBNjFoitoLbJGFJCKI7KVHwGsnYo4s2xSFr9KGEkjst2FolpYqyA==
2093+
20892094
"@types/escape-html@^0.0.20":
20902095
version "0.0.20"
20912096
resolved "https://registry.yarnpkg.com/@types/escape-html/-/escape-html-0.0.20.tgz#cae698714dd61ebee5ab3f2aeb9a34ba1011735a"

0 commit comments

Comments
 (0)