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 all 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/workflows/benchmark.yml
@@ -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
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
@@ -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
5 changes: 5 additions & 0 deletions AUTHORS
Expand Up @@ -667,3 +667,8 @@ Jason Etcovitch <jasonetco@github.com>
Darcy Clarke <darcy@darcyclarke.me>
orion <oletizi@mac.com>
NoDocCat <nodoccat@outlook.com>
joan xie <w4ergf@qq.com>
Amal Hussein <amal@npmjs.com>
Brett Zamir <brettz9@yahoo.com>
Menelaos Kotsollaris <mkotsollaris@users.noreply.github.com>
Mehdi Hasan Khan <mhasan@omicronlab.com>
58 changes: 58 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,61 @@
## 6.13.1 (2019-11-18)

### BUG FIXES

* [`938d6124d`](https://github.com/npm/cli/commit/938d6124d6d15d96b5a69d0ae32ef59fceb8ceab)
[#472](https://github.com/npm/cli/pull/472)
fix(fund): support funding string shorthand
([@ruyadorno](https://github.com/ruyadorno))
* [`b49c5535b`](https://github.com/npm/cli/commit/b49c5535b7c41729a8d167b035924c3c66b36de0)
[#471](https://github.com/npm/cli/pull/471)
should not publish tap-snapshot folder
([@ruyadorno](https://github.com/ruyadorno))
* [`3471d5200`](https://github.com/npm/cli/commit/3471d5200217bfa612b1a262e36c9c043a52eb09)
[#253](https://github.com/npm/cli/pull/253)
Add preliminary WSL support for npm and npx
([@infinnie](https://github.com/infinnie))
* [`3ef295f23`](https://github.com/npm/cli/commit/3ef295f23ee1b2300abf13ec19e935c47a455179)
[#486](https://github.com/npm/cli/pull/486)
print quick audit report for human output
([@isaacs](https://github.com/isaacs))

### TESTING

* [`dbbf977ac`](https://github.com/npm/cli/commit/dbbf977acd1e74bcdec859c562ea4a2bc0536442)
[#278](https://github.com/npm/cli/pull/278)
added workflow to trigger and run benchmarks
([@mikemimik](https://github.com/mikemimik))
* [`b4f5e3825`](https://github.com/npm/cli/commit/b4f5e3825535256aaada09c5e8f104570a3d96a4)
[#457](https://github.com/npm/cli/pull/457)
feat(docs): adding tests and updating docs to reflect changes in registry teams API.
([@nomadtechie](https://github.com/nomadtechie))
* [`454c7dd60`](https://github.com/npm/cli/commit/454c7dd60c78371bf606f11a17ed0299025bc37c)
[#456](https://github.com/npm/cli/pull/456)
fix git configs for git 2.23 and above
([@isaacs](https://github.com/isaacs))

### DOCUMENTATION

* [`b8c1576a4`](https://github.com/npm/cli/commit/b8c1576a448566397c721655b95fc90bf202b35a) [`30b013ae8`](https://github.com/npm/cli/commit/30b013ae8eacd04b1b8a41ce2ed0dd50c8ebae25) [`26c1b2ef6`](https://github.com/npm/cli/commit/26c1b2ef6be1595d28d935d35faa8ec72daae544) [`9f943a765`](https://github.com/npm/cli/commit/9f943a765faf6ebb8a442e862b808dbb630e018d) [`c0346b158`](https://github.com/npm/cli/commit/c0346b158fc25ab6ca9954d4dd78d9e62f573a41) [`8e09d5ad6`](https://github.com/npm/cli/commit/8e09d5ad67d4f142241193cecbce61c659389be3) [`4a2f551ee`](https://github.com/npm/cli/commit/4a2f551eeb3285f6f200534da33644789715a41a) [`87d67258c`](https://github.com/npm/cli/commit/87d67258c213d9ea9a49ce1804294a718f08ff13) [`5c3b32722`](https://github.com/npm/cli/commit/5c3b3272234764c8b4d2d798b69af077b5a529c7) [`b150eaeff`](https://github.com/npm/cli/commit/b150eaeff428180bfa03be53fd741d5625897758) [`7555a743c`](https://github.com/npm/cli/commit/7555a743ce4c3146d6245dd63f91503c7f439a6c) [`b89423e2f`](https://github.com/npm/cli/commit/b89423e2f6a09b290b15254e7ff7e8033b434d83)
[#463](https://github.com/npm/cli/pull/463)
[#285](https://github.com/npm/cli/pull/285)
[#268](https://github.com/npm/cli/pull/268)
[#232](https://github.com/npm/cli/pull/232)
[#485](https://github.com/npm/cli/pull/485)
[#453](https://github.com/npm/cli/pull/453)
docs cleanup: typos, styling and content
([@claudiahdz](https://github.com/claudiahdz))
([@XhmikosR](https://github.com/XhmikosR))
([@mugli](https://github.com/mugli))
([@brettz9](https://github.com/brettz9))
([@mkotsollaris](https://github.com/mkotsollaris))

### DEPENDENCIES

* [`661d86cd2`](https://github.com/npm/cli/commit/661d86cd229b14ddf687b7f25a66941a79d233e7)
`make-fetch-happen@5.0.2`
([@claudiahdz](https://github.com/claudiahdz))

## 6.13.0 (2019-11-05)

### NEW FEATURES
Expand Down
4 changes: 4 additions & 0 deletions bin/npm
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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