Skip to content

Commit 0149cb0

Browse files
addaleaxMyles Borins
authored and
Myles Borins
committed
tools: add mock-y js-yaml dependency to doctool
Add a hack js-yaml module to the doctool dependencies that simply loads the one that’s included with eslint. This helps avoiding to check in the whole dependency tree into the core repo. PR-URL: #6495 Reviewed-By: Robert Jefe Lindstaedt <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent ec25f38 commit 0149cb0

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

tools/doc/node_modules/js-yaml/index.js

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/doc/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"node": ">=0.6.10"
88
},
99
"dependencies": {
10-
"marked": "~0.1.9"
10+
"marked": "~0.1.9",
11+
"js-yaml": "^3.5.2"
1112
},
1213
"devDependencies": {},
1314
"optionalDependencies": {},

0 commit comments

Comments
 (0)