diff --git a/.gitignore b/.gitignore index efbdc824d29289..83b2ea0cedffee 100644 --- a/.gitignore +++ b/.gitignore @@ -104,6 +104,7 @@ deps/npm/node_modules/.bin/ /SHASUMS*.txt* # test artifacts +package-lock.json tools/faketime tools/remark-cli/node_modules tools/remark-preset-lint-node/node_modules diff --git a/tools/doc/node_modules/js-yaml/package.json b/tools/doc/node_modules/js-yaml/package.json new file mode 100644 index 00000000000000..14c5bd3c1e6424 --- /dev/null +++ b/tools/doc/node_modules/js-yaml/package.json @@ -0,0 +1,27 @@ +{ + "_from": "js-yaml@3.10.0", + "_id": "js-yaml@3.10.0", + "_inBundle": false, + "_integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==", + "_location": "/js-yaml", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "js-yaml@3.10.0", + "name": "js-yaml", + "escapedName": "js-yaml", + "rawSpec": "3.10.0", + "saveSpec": null, + "fetchSpec": "3.10.0" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz", + "_shasum": "2e78441646bd4682e963f22b6e92823c309c62dc", + "_spec": "js-yaml@3.10.0", + "_where": "d:\\code\\node\\tools\\doc", + "name": "js-yaml", + "version": "3.10.0" +} diff --git a/tools/doc/package-lock.json b/tools/doc/npm-shrinkwrap.json similarity index 52% rename from tools/doc/package-lock.json rename to tools/doc/npm-shrinkwrap.json index 67bdbe87faf361..560a43e2e3b80e 100644 --- a/tools/doc/package-lock.json +++ b/tools/doc/npm-shrinkwrap.json @@ -2,8 +2,14 @@ "name": "node-doc-generator", "version": "0.0.0", "lockfileVersion": 1, + "preserveSymlinks": "1", "requires": true, "dependencies": { + "js-yaml": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz", + "integrity": "sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==" + }, "marked": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.6.tgz", diff --git a/tools/doc/package.json b/tools/doc/package.json index d33943eacddbbd..7cfd6b4cafc0b4 100644 --- a/tools/doc/package.json +++ b/tools/doc/package.json @@ -7,11 +7,12 @@ "node": ">=6" }, "dependencies": { + "js-yaml": "3.10.0", "marked": "^0.3.5" }, - "devDependencies": { - "js-yaml": "^3.5.2" - }, - "optionalDependencies": {}, + "bundledDependencies": [ + "js-yaml", + "marked" + ], "bin": "./generate.js" } diff --git a/tools/remark-cli/package-lock.json b/tools/remark-cli/npm-shrinkwrap.json similarity index 100% rename from tools/remark-cli/package-lock.json rename to tools/remark-cli/npm-shrinkwrap.json diff --git a/tools/remark-preset-lint-node/package-lock.json b/tools/remark-preset-lint-node/npm-shrinkwrap.json similarity index 100% rename from tools/remark-preset-lint-node/package-lock.json rename to tools/remark-preset-lint-node/npm-shrinkwrap.json