Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 6.13.1 #494

Merged
merged 23 commits into from
Nov 18, 2019
Merged
Show file tree
Hide file tree
Changes from 20 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
938d612
fix(fund): support funding string shorthand
ruyadorno Nov 11, 2019
b49c553
fix: should not publish tap-snapshot folder
ruyadorno Nov 11, 2019
dbbf977
feat: added workflow to trigger and run benchmarks [2]
Nov 1, 2019
3471d52
windows: Add preliminary WSL support for npm and npx
infinnie Sep 20, 2019
b8c1576
chore(docs): fix links on markdowns
claudiahdz Nov 6, 2019
30b013a
feat(docs): add UI state to docs website
claudiahdz Nov 7, 2019
26c1b2e
docs: compress inlined SVG
XhmikosR Nov 10, 2019
b4f5e38
feat(docs): adding tests and updating docs to reflect changes in regi…
Nov 8, 2019
9f943a7
chore(docs): docs cleanup
claudiahdz Nov 11, 2019
c0346b1
chore(docs): fix spelling mistake in npm-install.md docs
brettz9 Nov 6, 2019
8e09d5a
chore(docs): Added depreciation note in npm-scripts.md
mkotsollaris Oct 16, 2019
4a2f551
chore(docs): Add how to install all deps when NODE_ENV=production
mugli Aug 10, 2019
87d6725
chore(docs): fix case-sensitive filenames
claudiahdz Nov 13, 2019
5c3b327
docs: remove coding-style from docs
claudiahdz Nov 13, 2019
454c7dd
test: fix git configs for git 2.23 and above
isaacs Nov 8, 2019
661d86c
make-fetch-happen@5.0.2
claudiahdz Nov 15, 2019
b150eae
docs: package aliases
claudiahdz Nov 15, 2019
3ef295f
fix: print quick audit report for human output
isaacs Nov 15, 2019
7555a74
docs: add netlify docs website config
claudiahdz Nov 18, 2019
b89423e
docs: ignore netlify file
claudiahdz Nov 18, 2019
1d61a3c
docs: update changelog for 6.13.1
claudiahdz Nov 18, 2019
464036b
update AUTHORS
claudiahdz Nov 18, 2019
b829d62
6.13.1
claudiahdz Nov 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Benchmark Suite

on:
push:
branches:
- "latest"
pull_request:
branches:
- "**"

jobs:
build:
name: Trigger Benchmarks

runs-on: ubuntu-latest

steps:
# Checkout the npm/cli repo
- uses: actions/checkout@v1.1.0

# Installs the specific version of nodejs
- name: Use nodejs 12.x
uses: actions/setup-node@v1
with:
node-version: "12.x"

# Trigger Webhook
- name: Trigger Webhook
env:
DISPATCH_REPO: "benchmarks"
DISPATCH_OWNER: "npm"
run: |
curl \
-s \
-X POST https://api.github.com/repos/${DISPATCH_OWNER}/${DISPATCH_REPO}/dispatches \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.NPM_DEPLOY_USER_PAT }}" \
-d \
'
{
"event_type": "${{ github.event_name }}",
"client_payload": {
"pr_id": "${{ github.event.pull_request.number }}",
"repo": "${{ github.event.repository.name }}",
"owner": "${{ github.event.repository.owner.login }}",
"commit_sha": "${{ github.event.after }}"
}
}'
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ npm-debug.log
/docs/.cache/
/docs/node_modules/
/man/
/doc/*/npm-index.md
/npmrc
/release/
/npm-*.tgz
Expand All @@ -25,3 +24,4 @@ npm-debug.log
.nyc_output
/test/npm_cache*
/node_modules/.cache
.DS_Store
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
*.swp
.*.swp
netlify.toml
npm-debug.log
/.github
/test
node_modules/marked
node_modules/marked-man
node_modules/tap
tap-snapshots
node_modules/.bin
node_modules/npm-registry-mock
/npmrc
Expand Down
4 changes: 4 additions & 0 deletions bin/npm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ case `uname` in
esac

NODE_EXE="$basedir/node.exe"
if [ -x "$NODE_EXE" ] && [ -f "/bin/wslpath" ]; then # run the corresponding command prompt when Node for Windows is executed within WSL
cmd.exe /c `wslpath -w "$basedir/npm.cmd"` "$@"
exit $?
fi
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE="$basedir/node"
fi
Expand Down
4 changes: 4 additions & 0 deletions bin/npx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ case `uname` in
esac

NODE_EXE="$basedir/node.exe"
if [ -x "$NODE_EXE" ] && [ -f "/bin/wslpath" ]; then # run the corresponding command prompt when Node for Windows is executed within WSL
cmd.exe /c `wslpath -w "$basedir/npx.cmd"` "$@"
exit $?
fi
if ! [ -x "$NODE_EXE" ]; then
NODE_EXE=node
fi
Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-access.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-access
description: Set access level on published packages
---

# npm-access
# npm-access(1)

## Set access level on published packages

Expand Down
12 changes: 5 additions & 7 deletions docs/content/cli-commands/npm-adduser.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-adduser
description: Set access level on published packages
---

# npm-adduser
# npm-adduser(1)

## Add a registry user account

Expand All @@ -20,7 +20,7 @@ aliases: login, add-user

Create or verify a user named `<username>` in the specified registry, and
save the credentials to the `.npmrc` file. If no registry is specified,
the default registry will be used (see [`npm-config`](npm-config)).
the default registry will be used (see [`config`](/using-npm/config)).

The username, password, and email are read in from prompts.

Expand All @@ -43,14 +43,14 @@ Default: https://registry.npmjs.org/

The base URL of the npm package registry. If `scope` is also specified,
this registry will only be used for packages with that scope. `scope` defaults
to the scope of the project directory you're currently in, if any. See [`npm-scope`](/docs/using-npm/scope).
to the scope of the project directory you're currently in, if any. See [`scope`](/using-npm/scope).

#### scope

Default: none

If specified, the user and login credentials given will be associated
with the specified scope. See [`npm-scope`](/docs/using-npm/scope). You can use both at the same time,
with the specified scope. See [`scope`](/using-npm/scope). You can use both at the same time,
e.g.

```bash
Expand All @@ -75,9 +75,7 @@ registries. Can be used with `--registry` and / or `--scope`, e.g.
This will ensure that all requests to that registry (including for tarballs)
include an authorization header. This setting may be necessary for use with
private registries where metadata and package tarballs are stored on hosts with
different hostnames. See `always-auth` in [`npm-config`](/docs/using-npm/config) for more details on
always-auth. Registry-specific configuration of `always-auth` takes precedence
over any global configuration.
different hostnames. See `always-auth` in [`config`](/using-npm/config) for more details on always-auth. Registry-specific configuration of `always-auth` takes precedence over any global configuration.

#### auth-type

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-audit.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-audit
description: Run a security audit
---

# npm-audit
# npm-audit(1)

## Run a security audit

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-bin.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-bin
description: Display npm bin folder
---

# npm-bin
# npm-bin(1)

## Display npm bin folder

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-bugs.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-bugs
description: Bugs for a package in a web browser maybe
---

# npm-bugs
# npm-bugs(1)

## Bugs for a package in a web browser maybe

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-build.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-build
description: Build a package
---

# npm-build
# npm-build(1)

## Build a package

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-bundle.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-bundle
description: REMOVED
---

# npm-bundle
# npm-bundle(1)

## REMOVED

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-cache.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-cache
description: Manipulates packages cache
---

# npm-cache
# npm-cache(1)

## Manipulates packages cache

Expand Down
4 changes: 2 additions & 2 deletions docs/content/cli-commands/npm-ci.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-ci
description: Install a project with a clean slate
---

# npm-ci
# npm-ci(1)

## Install a project with a clean slate

Expand Down Expand Up @@ -45,7 +45,7 @@ cache:

### Description

This command is similar to [`npm-install`](npm-install), except it's meant to be used in
This command is similar to [`npm install`](/cli-commands/npm-install), except it's meant to be used in
automated environments such as test platforms, continuous integration, and
deployment -- or any situation where you want to make sure you're doing a clean
install of your dependencies. It can be significantly faster than a regular npm
Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-completion.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-completion
description: Tab Completion for npm
---

# npm-completion
# npm-completion(1)

## Tab Completion for npm

Expand Down
6 changes: 3 additions & 3 deletions docs/content/cli-commands/npm-config.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-config
description: Manage the npm configuration files
---

# npm-config
# npm-config(1)

## Manage the npm configuration files

Expand All @@ -26,9 +26,9 @@ aliases: c
npm gets its config settings from the command line, environment
variables, `npmrc` files, and in some cases, the `package.json` file.

See [npmrc](/docs/configuring-npm/npmrc) for more information about the npmrc files.
See [npmrc](/configuring-npm/npmrc) for more information about the npmrc files.

See [config](/docs/using-npm/config) for a more thorough discussion of the mechanisms
See [config](/using-npm/config) for a more thorough discussion of the mechanisms
involved.

The `npm config` command can be used to update and edit the contents
Expand Down
4 changes: 2 additions & 2 deletions docs/content/cli-commands/npm-dedupe.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-dedupe
description: Reduce duplication
---

# npm-dedupe
# npm-dedupe(1)

## Reduce duplication

Expand Down Expand Up @@ -32,7 +32,7 @@ a
`-- c@1.0.10
```

In this case, `npm-dedupe` will transform the tree to:
In this case, `npm dedupe` will transform the tree to:

```bash
a
Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-deprecate.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ section: cli-commands
title: npm-deprecate
description: Deprecate a version of a package
---
# npm-deprecate
# npm-deprecate(1)

## Deprecate a version of a package

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-dist-tag.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-dist-tag
description: Modify package distribution tags
---

# npm-dist-tag
# npm-dist-tag(1)

## Modify package distribution tags

Expand Down
3 changes: 1 addition & 2 deletions docs/content/cli-commands/npm-docs.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ title: npm-docs
description: Docs for a package in a web browser maybe
---

# npm-docs
# npm-docs(1)

## Docs for a package in a web browser maybe


### Synopsis

```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-doctor.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-doctor
description: Check your environments
---

# npm-doctor
# npm-doctor(1)

## Check your environments

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-edit.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-edit
description: Edit an installed package
---

# npm-edit
# npm-edit(1)

## Edit an installed package

Expand Down
4 changes: 2 additions & 2 deletions docs/content/cli-commands/npm-explore.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ title: npm-explore
description: Browse an installed package
---

# npm-explore
# npm-explore(1)

## description: Browse an installed package
## Browse an installed package

### Synopsis

Expand Down
10 changes: 5 additions & 5 deletions docs/content/cli-commands/npm-fund.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-fund
description: Retrieve funding information
---

# npm-fund
# npm-fund(1)

## Retrieve funding information

Expand Down Expand Up @@ -53,8 +53,8 @@ Set it to `false` in order to use all-ansi output.

## See Also

* [npm-docs](/cli-commands/npm-docs)
* [npm-config](/cli-commands/npm-config)
* [npm-install](/cli-commands/npm-install)
* [npm-ls](/cli-commands/npm-ls)
* [npm docs](/cli-commands/npm-docs)
* [npm config](/cli-commands/npm-config)
* [npm install](/cli-commands/npm-install)
* [npm ls](/cli-commands/npm-ls)

2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-help-search.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-help-search
description: Search npm help documentation
---

# npm-help-search
# npm-help-search(1)

## Search npm help documentation

Expand Down
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-help.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-help
description: Get help on npm
---

# npm-help
# npm-help(1)

## Get help on npm

Expand Down
5 changes: 2 additions & 3 deletions docs/content/cli-commands/npm-hook.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: npm-hook
description: Manage registry hooks
---

# npm-hook
# npm-hook(1)

## Manage registry hooks

Expand Down Expand Up @@ -56,8 +56,7 @@ $ npm hook rm id-deadbeef

### Description

Allows you to manage [npm
hooks](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm),
Allows you to manage [npm hooks](https://blog.npmjs.org/post/145260155635/introducing-hooks-get-notifications-of-npm),
including adding, removing, listing, and updating.

Hooks allow you to configure URL endpoints that will be notified whenever a
Expand Down
Loading