Skip to content

Commit 00e6c4f

Browse files
committed
Add project dependencies
1 parent f593dab commit 00e6c4f

File tree

4 files changed

+65
-2
lines changed

4 files changed

+65
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
__tests__
3+
__mocks__
4+
.temp

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const { fs, path } = require('@vuepress/shared-utils');
1+
const fs = require('fs-extra');
2+
const path = require('path');
23

34
function getTemplate(path) {
45
const result = '<!DOCTYPE html>' +

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,9 @@
2222
"bugs": {
2323
"url": "https://github.com/vaniyokk/vuepress-plugin-alias/issues"
2424
},
25-
"homepage": "https://github.com/vaniyokk/vuepress-plugin-alias#readme"
25+
"homepage": "https://github.com/vaniyokk/vuepress-plugin-alias#readme",
26+
"dependencies": {
27+
"fs-extra": "^7.0.1",
28+
"path": "^0.12.7"
29+
}
2630
}

yarn.lock

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2+
# yarn lockfile v1
3+
4+
5+
fs-extra@^7.0.1:
6+
version "7.0.1"
7+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
8+
integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==
9+
dependencies:
10+
graceful-fs "^4.1.2"
11+
jsonfile "^4.0.0"
12+
universalify "^0.1.0"
13+
14+
graceful-fs@^4.1.2, graceful-fs@^4.1.6:
15+
version "4.1.15"
16+
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00"
17+
integrity sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==
18+
19+
20+
version "2.0.3"
21+
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
22+
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
23+
24+
jsonfile@^4.0.0:
25+
version "4.0.0"
26+
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
27+
integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=
28+
optionalDependencies:
29+
graceful-fs "^4.1.6"
30+
31+
path@^0.12.7:
32+
version "0.12.7"
33+
resolved "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f"
34+
integrity sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8=
35+
dependencies:
36+
process "^0.11.1"
37+
util "^0.10.3"
38+
39+
process@^0.11.1:
40+
version "0.11.10"
41+
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
42+
integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI=
43+
44+
universalify@^0.1.0:
45+
version "0.1.2"
46+
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
47+
integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==
48+
49+
util@^0.10.3:
50+
version "0.10.4"
51+
resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901"
52+
integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==
53+
dependencies:
54+
inherits "2.0.3"

0 commit comments

Comments
 (0)