mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
tools: fix gitignore for tools/doc/
PR-URL: https://github.com/nodejs/node/pull/17224 Fixes: https://github.com/nodejs/node/issues/17216 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
parent
6f724e1563
commit
887e2327ee
2
Makefile
2
Makefile
|
|
@ -579,7 +579,7 @@ available-node = \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
run-npm-install = $(PWD)/$(NPM) install
|
run-npm-install = $(PWD)/$(NPM) install --production
|
||||||
|
|
||||||
tools/doc/node_modules/js-yaml/package.json:
|
tools/doc/node_modules/js-yaml/package.json:
|
||||||
cd tools/doc && $(call available-node,$(run-npm-install))
|
cd tools/doc && $(call available-node,$(run-npm-install))
|
||||||
|
|
|
||||||
1
tools/doc/node_modules/.bin/marked
generated
vendored
1
tools/doc/node_modules/.bin/marked
generated
vendored
|
|
@ -1 +0,0 @@
|
||||||
../marked/bin/marked
|
|
||||||
3
tools/doc/node_modules/marked/lib/marked.js
generated
vendored
3
tools/doc/node_modules/marked/lib/marked.js
generated
vendored
|
|
@ -1094,7 +1094,8 @@ function escape(html, encode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function unescape(html) {
|
function unescape(html) {
|
||||||
return html.replace(/&([#\w]+);/g, function(_, n) {
|
// explicitly match decimal, hex, and named HTML entities
|
||||||
|
return html.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g, function(_, n) {
|
||||||
n = n.toLowerCase();
|
n = n.toLowerCase();
|
||||||
if (n === 'colon') return ':';
|
if (n === 'colon') return ':';
|
||||||
if (n.charAt(0) === '#') {
|
if (n.charAt(0) === '#') {
|
||||||
|
|
|
||||||
60
tools/doc/node_modules/marked/package.json
generated
vendored
60
tools/doc/node_modules/marked/package.json
generated
vendored
|
|
@ -1,38 +1,27 @@
|
||||||
{
|
{
|
||||||
"_args": [
|
"_from": "marked@^0.3.5",
|
||||||
[
|
"_id": "marked@0.3.6",
|
||||||
"marked",
|
"_inBundle": false,
|
||||||
"/Users/firedfox/git/node/tools/doc"
|
"_integrity": "sha1-ssbGGPzOzk74bE/Gy4p8v1rtqNc=",
|
||||||
]
|
|
||||||
],
|
|
||||||
"_from": "marked@latest",
|
|
||||||
"_id": "marked@0.3.5",
|
|
||||||
"_inCache": true,
|
|
||||||
"_installable": true,
|
|
||||||
"_location": "/marked",
|
"_location": "/marked",
|
||||||
"_nodeVersion": "0.12.7",
|
|
||||||
"_npmUser": {
|
|
||||||
"email": "chjjeffrey@gmail.com",
|
|
||||||
"name": "chjj"
|
|
||||||
},
|
|
||||||
"_npmVersion": "2.13.2",
|
|
||||||
"_phantomChildren": {},
|
"_phantomChildren": {},
|
||||||
"_requested": {
|
"_requested": {
|
||||||
|
"type": "range",
|
||||||
|
"registry": true,
|
||||||
|
"raw": "marked@^0.3.5",
|
||||||
"name": "marked",
|
"name": "marked",
|
||||||
"raw": "marked",
|
"escapedName": "marked",
|
||||||
"rawSpec": "",
|
"rawSpec": "^0.3.5",
|
||||||
"scope": null,
|
"saveSpec": null,
|
||||||
"spec": "latest",
|
"fetchSpec": "^0.3.5"
|
||||||
"type": "tag"
|
|
||||||
},
|
},
|
||||||
"_requiredBy": [
|
"_requiredBy": [
|
||||||
"/"
|
"/"
|
||||||
],
|
],
|
||||||
"_resolved": "https://registry.npmjs.org/marked/-/marked-0.3.5.tgz",
|
"_resolved": "https://registry.npmjs.org/marked/-/marked-0.3.6.tgz",
|
||||||
"_shasum": "4113a15ac5d7bca158a5aae07224587b9fa15b94",
|
"_shasum": "b2c6c618fccece4ef86c4fc6cb8a7cbf5aeda8d7",
|
||||||
"_shrinkwrap": null,
|
"_spec": "marked@^0.3.5",
|
||||||
"_spec": "marked",
|
"_where": "/mnt/d/code/node-github-desktop/tools/doc",
|
||||||
"_where": "/Users/firedfox/git/node/tools/doc",
|
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Christopher Jeffrey"
|
"name": "Christopher Jeffrey"
|
||||||
},
|
},
|
||||||
|
|
@ -42,7 +31,8 @@
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "http://github.com/chjj/marked/issues"
|
"url": "http://github.com/chjj/marked/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {},
|
"bundleDependencies": false,
|
||||||
|
"deprecated": false,
|
||||||
"description": "A markdown parser built for speed",
|
"description": "A markdown parser built for speed",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"gulp": "^3.8.11",
|
"gulp": "^3.8.11",
|
||||||
|
|
@ -51,12 +41,6 @@
|
||||||
"markdown": "*",
|
"markdown": "*",
|
||||||
"showdown": "*"
|
"showdown": "*"
|
||||||
},
|
},
|
||||||
"directories": {},
|
|
||||||
"dist": {
|
|
||||||
"shasum": "4113a15ac5d7bca158a5aae07224587b9fa15b94",
|
|
||||||
"tarball": "https://registry.npmjs.org/marked/-/marked-0.3.5.tgz"
|
|
||||||
},
|
|
||||||
"gitHead": "88ce4df47c4d994dc1b1df1477a21fb893e11ddc",
|
|
||||||
"homepage": "https://github.com/chjj/marked",
|
"homepage": "https://github.com/chjj/marked",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"markdown",
|
"markdown",
|
||||||
|
|
@ -65,19 +49,11 @@
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"main": "./lib/marked.js",
|
"main": "./lib/marked.js",
|
||||||
"maintainers": [
|
|
||||||
{
|
|
||||||
"email": "chjjeffrey@gmail.com",
|
|
||||||
"name": "chjj"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"man": [
|
"man": [
|
||||||
"./man/marked.1"
|
"./man/marked.1"
|
||||||
],
|
],
|
||||||
"name": "marked",
|
"name": "marked",
|
||||||
"optionalDependencies": {},
|
|
||||||
"preferGlobal": true,
|
"preferGlobal": true,
|
||||||
"readme": "ERROR: No README data found!",
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/chjj/marked.git"
|
"url": "git://github.com/chjj/marked.git"
|
||||||
|
|
@ -91,5 +67,5 @@
|
||||||
"markup",
|
"markup",
|
||||||
"html"
|
"html"
|
||||||
],
|
],
|
||||||
"version": "0.3.5"
|
"version": "0.3.6"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
tools/doc/package-lock.json
generated
Normal file
13
tools/doc/package-lock.json
generated
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"name": "node-doc-generator",
|
||||||
|
"version": "0.0.0",
|
||||||
|
"lockfileVersion": 1,
|
||||||
|
"requires": true,
|
||||||
|
"dependencies": {
|
||||||
|
"marked": {
|
||||||
|
"version": "0.3.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/marked/-/marked-0.3.6.tgz",
|
||||||
|
"integrity": "sha1-ssbGGPzOzk74bE/Gy4p8v1rtqNc="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -7,10 +7,11 @@
|
||||||
"node": ">=6"
|
"node": ">=6"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"marked": "^0.3.5",
|
"marked": "^0.3.5"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
"js-yaml": "^3.5.2"
|
"js-yaml": "^3.5.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
|
||||||
"optionalDependencies": {},
|
"optionalDependencies": {},
|
||||||
"bin": "./generate.js"
|
"bin": "./generate.js"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user