Skip to content

Commit 22b924c

Browse files
committed
Delete yuidocs from package.json because the potential security vulnerabilities
1 parent 2ea8f0c commit 22b924c

File tree

3 files changed

+7
-680
lines changed

3 files changed

+7
-680
lines changed

gulpfile.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,13 @@ gulp.task('clean', shell.task([
7474
`rm -rf ${DIST_DIR} docs`
7575
]));
7676

77+
/**
78+
* NPM alert potential security vulnerabilities.
79+
* yuidocjs seems to be no longer maintained.
80+
* If need the document, run the gulp task.
81+
*/
7782
gulp.task('docs', ['clean'], shell.task([
83+
'npm install --no-save yuidocjs yuidoc-lucid-theme',
7884
'./node_modules/.bin/yuidoc -c yuidoc.json ./src'
7985
]));
8086

0 commit comments

Comments
 (0)