Age | Commit message (Collapse) | Author |
|
PR-URL: https://github.com/npm/npm/pull/20398
Credit: @kapouer
Reviewed-By: @iarna
|
|
The 'clean' rule calls 'uninstall', which attemts ***destructive***
operation in the host system and fails if run as unprivileged user.
PR-URL: https://github.com/npm/npm/pull/16540
Credit: @metux
Reviewed-By: @iarna
Reviewed-By: @zkat
|
|
The build tools for the documentation need to be built/installed
before the documents, even with parallel builds.
Make has a simple mechanism which was made exactly for that:
target dependencies.
PR-URL: https://github.com/npm/npm/pull/16550
Credit: @metux
Reviewed-By: @iarna
|
|
npx is an npm package runner with a bunch of nice features. While
it is also available on the npm registry as `npx`, it's the sort
of thing that's better off being bundles with npm itself.
Fixes: #6053
PR-URL: https://github.com/npm/npm/pull/17685
Credit: @zkat
Reviewed-By: @iarna
|
|
We were doing `npm install -g` on `make install` and in the `install.sh`
bootstrapper, which now makes a symlink. This updates it to go back to
creating a global copy.
Fixes: #17554
Fixes: #17377
Fixes: #16916
Credit: @iarna
Reviewed-By: @zkat
PR-URL: https://github.com/npm/npm/pull/17626
|
|
|
|
* scripts: replace cli.js with npm-cli.js
* cli: remove unused file cli.js
* docs: replace cli.js with bin/npm-cli.js
PR-URL: https://github.com/npm/npm/pull/12096
Credit: @watilde
Reviewed-By: @zkat
|
|
|
|
PR-URL: https://github.com/npm/npm/pull/12146
Credit: @watilde
Reviewed-By: @zkat
|
|
|
|
Also, clean out the docs and prune the tree before making a release
tarball, to keep as much cruft as possible out of the release tarball.
PR-URL: https://github.com/npm/npm/pull/10798
Credit: @othiym23
|
|
The API is awkward, brittle, and frequently counterintuitive. Having it
documented sets an unrealistic expectation of it being a supported /
encouraged thing for developers outside the team to use. Until we have
an API we should stand behind, having it be undocumented is actually a
net win because people won't be misled into thinking they're gonna have
a good time by using it.
|
|
This reverts commit 8b58ad09b719295461167a34f666c5aa4d6e26f2.
As it turned out, those partial docs aren't actually used by the
http://docs.npmjs.com site, so there's no sense slowing down the build.
PR-URL: https://github.com/npm/npm/pull/9201
|
|
|
|
|
|
|
|
This allows make install from a script to override userconfig in particular
|
|
|
|
This is literally how it's always *supposed* to have been working. Yet,
mysteriously, it has not been.
|
|
The better to docs.npmjs.com for great good
|
|
|
|
|
|
|
|
|
|
|
|
Doesn't work that way any more anyway
|
|
Since 1.4.10, the html docs are generated via the marked module. when
doing the usual "make" dance, the build process stops when attempting to
generate the first html doc complaining about a missing
node_modules/.bin/marked.
This patch is a quick'n'dirty copy-pasta of the treatment applied to
load the ronn module but applied to marked. When applied against the
1.4.13 tarball it allows -- at least in a works-for-me manner -- to
generate all the docs.
|
|
Required so that non-node-core committers can push new npm versions.
|
|
Hasn't been needed, or used at all by anyone, for a VERY long time.
Also, 'npm i npm@1.4' will already get the latest 1.4.x, so I'm not
entirely sure what this was *ever* needed for.
|
|
|
|
|
|
|
|
|
|
Otherwise it fails when you do `npm install` in a fresh repo.
|
|
Otherwise the `make test` command fails to find ronn when generating the
docs for the first time in the prepublish step.
Probably there's a better way to do this, since tarball generation
requires a dev dep to be installed. But this works on Unix at least,
and gets it by for now.
|
|
|
|
|
|
Otherwise, we end up creating 'man 7 index' which is weird.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I keep forgetting to do this. We have more committers now, releases
sometimes end up on a merge branch, which is unnecessarily ugly.
|
|
|
|
|
|
|
|
|