jsdoc / jsdoc

An API documentation generator for JavaScript.
https://jsdoc.app/
Apache License 2.0
15.07k stars 1.45k forks source link

Checked in node_modules no longer work with npm@3 #1103

Closed tschaub closed 9 years ago

tschaub commented 9 years ago

Having the dependencies checked into the repo doesn't work with npm@3. A solution to this would be to make this a Node only package (see #1102). Any existing Rhino users could continue to use JSDoc 3.x.

After npm install, this is what git status looks like:

$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#   modified:   node_modules/async/lib/async.js
#   modified:   node_modules/async/package.json
#   modified:   node_modules/bluebird/package.json
#   deleted:    node_modules/buffer-browserify/buffer_ieee754.js
#   deleted:    node_modules/buffer-browserify/index.js
#   deleted:    node_modules/buffer-browserify/node_modules/base64-js/README.md
#   deleted:    node_modules/buffer-browserify/node_modules/base64-js/lib/b64.js
#   deleted:    node_modules/buffer-browserify/node_modules/base64-js/package.json
#   deleted:    node_modules/buffer-browserify/package.json
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/LICENSE
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/index.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/package.json
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.array.builders.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.array.selectors.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.collections.walk.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.function.arity.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.function.combinators.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.function.dispatch.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.function.iterators.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.function.predicates.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.object.builders.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.object.selectors.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.util.existential.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.util.operators.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.util.strings.js
#   deleted:    node_modules/catharsis/node_modules/underscore-contrib/underscore.util.trampolines.js
#   modified:   node_modules/catharsis/package.json
#   deleted:    node_modules/crypto-browserify/index.js
#   deleted:    node_modules/crypto-browserify/package.json
#   deleted:    node_modules/crypto-browserify/rng.js
#   deleted:    node_modules/crypto-browserify/sha.js
#   modified:   node_modules/escape-string-regexp/package.json
#   modified:   node_modules/espree/espree.js
#   modified:   node_modules/espree/package.json
#   modified:   node_modules/js2xmlparser/package.json
#   modified:   node_modules/marked/lib/marked.js
#   modified:   node_modules/marked/package.json
#   modified:   node_modules/strip-json-comments/package.json
#   modified:   node_modules/strip-json-comments/strip-json-comments.js
#   modified:   node_modules/taffydb/package.json
#   modified:   node_modules/tv4/package.json
#   modified:   node_modules/underscore/package.json
#   deleted:    node_modules/url/LICENSE
#   deleted:    node_modules/url/node_modules/punycode/README.md
#   deleted:    node_modules/url/node_modules/punycode/package.json
#   deleted:    node_modules/url/node_modules/punycode/punycode.js
#   deleted:    node_modules/url/package.json
#   deleted:    node_modules/url/url.js
#   modified:   node_modules/wrench/package.json
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#   node_modules/abbrev/
#   node_modules/amdefine/
#   node_modules/ansi-regex/
#   node_modules/ansi-styles/
#   node_modules/archy/
#   node_modules/argparse/
#   node_modules/array-differ/
#   node_modules/array-union/
#   node_modules/array-uniq/
#   node_modules/arrify/
#   node_modules/async/CHANGELOG.md
#   node_modules/balanced-match/
#   node_modules/beeper/
#   node_modules/brace-expansion/
#   node_modules/bufferstreams/
#   node_modules/builtin-modules/
#   node_modules/camelcase-keys/
#   node_modules/camelcase/
#   node_modules/catharsis/README.md
#   node_modules/catharsis/bin/
#   node_modules/catharsis/parse.js
#   node_modules/chalk/
#   node_modules/cli-width/
#   node_modules/clone-stats/
#   node_modules/clone/
#   node_modules/concat-map/
#   node_modules/concat-stream/
#   node_modules/config-chain/
#   node_modules/core-util-is/
#   node_modules/d/
#   node_modules/dateformat/
#   node_modules/debug/
#   node_modules/decamelize/
#   node_modules/deep-is/
#   node_modules/deepmerge/
#   node_modules/defaults/
#   node_modules/del/
#   node_modules/deprecated/
#   node_modules/detect-indent/
#   node_modules/doctrine/
#   node_modules/duplexer2/
#   node_modules/end-of-stream/
#   node_modules/error-ex/
#   node_modules/es5-ext/
#   node_modules/es6-iterator/
#   node_modules/es6-map/
#   node_modules/es6-set/
#   node_modules/es6-symbol/
#   node_modules/es6-weak-map/
#   node_modules/escape-string-regexp/license
#   node_modules/escodegen/
#   node_modules/escope/
#   node_modules/esrecurse/
#   node_modules/estraverse-fb/
#   node_modules/estraverse/
#   node_modules/esutils/
#   node_modules/event-emitter/
#   node_modules/extend/
#   node_modules/fancy-log/
#   node_modules/fast-levenshtein/
#   node_modules/figures/
#   node_modules/file-entry-cache/
#   node_modules/fileset/
#   node_modules/find-index/
#   node_modules/find-up/
#   node_modules/findup-sync/
#   node_modules/first-chunk-stream/
#   node_modules/flagged-respawn/
#   node_modules/flat-cache/
#   node_modules/gaze/
#   node_modules/generate-function/
#   node_modules/generate-object-property/
#   node_modules/get-stdin/
#   node_modules/glob-stream/
#   node_modules/glob-watcher/
#   node_modules/glob/
#   node_modules/glob2base/
#   node_modules/globals/
#   node_modules/globby/
#   node_modules/globule/
#   node_modules/glogg/
#   node_modules/graceful-fs/
#   node_modules/handlebars/
#   node_modules/has-ansi/
#   node_modules/has-flag/
#   node_modules/has-gulplog/
#   node_modules/hosted-git-info/
#   node_modules/indent-string/
#   node_modules/inflight/
#   node_modules/inherits/
#   node_modules/ini/
#   node_modules/inquirer/
#   node_modules/interpret/
#   node_modules/is-absolute/
#   node_modules/is-builtin-module/
#   node_modules/is-finite/
#   node_modules/is-my-json-valid/
#   node_modules/is-path-cwd/
#   node_modules/is-path-in-cwd/
#   node_modules/is-path-inside/
#   node_modules/is-property/
#   node_modules/is-relative/
#   node_modules/is-resolvable/
#   node_modules/is-utf8/
#   node_modules/isarray/
#   node_modules/js-beautify/
#   node_modules/js-yaml/
#   node_modules/js2xmlparser/.idea/
#   node_modules/js2xmlparser/.npmignore
#   node_modules/js2xmlparser/CHANGES.md
#   node_modules/js2xmlparser/NOTICE.md
#   node_modules/js2xmlparser/README.md
#   node_modules/js2xmlparser/example/
#   node_modules/js2xmlparser/test/
#   node_modules/json-stable-stringify/
#   node_modules/jsonify/
#   node_modules/jsonpointer/
#   node_modules/levn/
#   node_modules/liftoff/
#   node_modules/load-json-file/
#   node_modules/lodash._arraycopy/
#   node_modules/lodash._arrayeach/
#   node_modules/lodash._arraymap/
#   node_modules/lodash._baseassign/
#   node_modules/lodash._baseclone/
#   node_modules/lodash._basecopy/
#   node_modules/lodash._basedifference/
#   node_modules/lodash._baseflatten/
#   node_modules/lodash._basefor/
#   node_modules/lodash._baseindexof/
#   node_modules/lodash._basetostring/
#   node_modules/lodash._basevalues/
#   node_modules/lodash._bindcallback/
#   node_modules/lodash._cacheindexof/
#   node_modules/lodash._createassigner/
#   node_modules/lodash._createcache/
#   node_modules/lodash._getnative/
#   node_modules/lodash._isiterateecall/
#   node_modules/lodash._pickbyarray/
#   node_modules/lodash._pickbycallback/
#   node_modules/lodash._reescape/
#   node_modules/lodash._reevaluate/
#   node_modules/lodash._reinterpolate/
#   node_modules/lodash.clonedeep/
#   node_modules/lodash.escape/
#   node_modules/lodash.isarguments/
#   node_modules/lodash.isarray/
#   node_modules/lodash.isplainobject/
#   node_modules/lodash.istypedarray/
#   node_modules/lodash.keys/
#   node_modules/lodash.keysin/
#   node_modules/lodash.merge/
#   node_modules/lodash.omit/
#   node_modules/lodash.restparam/
#   node_modules/lodash.template/
#   node_modules/lodash.templatesettings/
#   node_modules/lodash.toplainobject/
#   node_modules/lodash/
#   node_modules/loud-rejection/
#   node_modules/lru-cache/
#   node_modules/map-obj/
#   node_modules/marked/.npmignore
#   node_modules/marked/.travis.yml
#   node_modules/marked/Gulpfile.js
#   node_modules/marked/Makefile
#   node_modules/marked/README.md
#   node_modules/marked/bin/
#   node_modules/marked/bower.json
#   node_modules/marked/component.json
#   node_modules/marked/doc/
#   node_modules/marked/man/
#   node_modules/marked/marked.min.js
#   node_modules/meow/
#   node_modules/minimatch/
#   node_modules/minimist/
#   node_modules/mkdirp/
#   node_modules/ms/
#   node_modules/multipipe/
#   node_modules/mute-stream/
#   node_modules/nopt/
#   node_modules/normalize-package-data/
#   node_modules/number-is-nan/
#   node_modules/object-assign/
#   node_modules/once/
#   node_modules/optimist/
#   node_modules/optionator/
#   node_modules/orchestrator/
#   node_modules/ordered-read-streams/
#   node_modules/os-homedir/
#   node_modules/parse-json/
#   node_modules/path-exists/
#   node_modules/path-is-absolute/
#   node_modules/path-is-inside/
#   node_modules/path-type/
#   node_modules/pify/
#   node_modules/pinkie-promise/
#   node_modules/pinkie/
#   node_modules/prelude-ls/
#   node_modules/pretty-hrtime/
#   node_modules/process-nextick-args/
#   node_modules/proto-list/
#   node_modules/read-json-sync/
#   node_modules/read-pkg-up/
#   node_modules/read-pkg/
#   node_modules/readable-stream/
#   node_modules/readline2/
#   node_modules/rechoir/
#   node_modules/redent/
#   node_modules/repeating/
#   node_modules/replace-ext/
#   node_modules/resolve/
#   node_modules/rimraf/
#   node_modules/run-async/
#   node_modules/rx-lite/
#   node_modules/semver/
#   node_modules/sequencify/
#   node_modules/shelljs/
#   node_modules/sigmund/
#   node_modules/source-map/
#   node_modules/sparkles/
#   node_modules/spdx-correct/
#   node_modules/spdx-exceptions/
#   node_modules/spdx-expression-parse/
#   node_modules/spdx-license-ids/
#   node_modules/sprintf-js/
#   node_modules/stream-consume/
#   node_modules/string_decoder/
#   node_modules/strip-ansi/
#   node_modules/strip-bom/
#   node_modules/strip-indent/
#   node_modules/strip-json-comments/cli.js
#   node_modules/strip-json-comments/license
#   node_modules/strip-json-comments/readme.md
#   node_modules/supports-color/
#   node_modules/text-table/
#   node_modules/through/
#   node_modules/through2/
#   node_modules/tildify/
#   node_modules/to-double-quotes/
#   node_modules/to-single-quotes/
#   node_modules/trim-newlines/
#   node_modules/tryit/
#   node_modules/tv4/.jshintrc
#   node_modules/tv4/.npmignore
#   node_modules/tv4/.travis.yml
#   node_modules/tv4/Gruntfile.js
#   node_modules/tv4/bower.json
#   node_modules/tv4/component.json
#   node_modules/tv4/doc/
#   node_modules/tv4/index.html
#   node_modules/tv4/source/
#   node_modules/tv4/test/
#   node_modules/tv4/try/
#   node_modules/tv4/tv4.min.js
#   node_modules/type-check/
#   node_modules/typedarray/
#   node_modules/uglify-js/
#   node_modules/uglify-to-browserify/
#   node_modules/underscore-contrib/
#   node_modules/underscore/README.md
#   node_modules/underscore/underscore-min.js
#   node_modules/underscore/underscore-min.map
#   node_modules/unique-stream/
#   node_modules/user-home/
#   node_modules/util-deprecate/
#   node_modules/v8flags/
#   node_modules/validate-npm-package-license/
#   node_modules/vinyl-fs/
#   node_modules/vinyl/
#   node_modules/which/
#   node_modules/window-size/
#   node_modules/wordwrap/
#   node_modules/wrappy/
#   node_modules/wrench/.npmignore
#   node_modules/wrench/readme.md
#   node_modules/wrench/tests/
#   node_modules/write/
#   node_modules/xml-escape/
#   node_modules/xtend/
#   node_modules/yargs/
no changes added to commit (use "git add" and/or "git commit -a")
hegemonic commented 9 years ago

Fixed in #1102.