Skip to content
Open
Changes from all commits
Commits
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
8 changes: 6 additions & 2 deletions docs/pipelines/ecosystems/customize-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,19 +601,23 @@ The next example publishes to a custom registry defined in your repo's `.npmrc`
inputs:
command: publish
publishRegistry: useExternalRegistry
publishEndpoint: https://my.npmregistry.com
publishEndpoint: https://your-registry.example.com
```

- Replace `your-registry.example.com` with the URL of your npm registry.

The final example publishes the module to an Azure DevOps Services package management feed.

```yaml
- task: Npm@1
inputs:
command: publish
publishRegistry: useFeed
publishFeed: https://my.npmregistry.com
publishFeed: https://your-registry.example.com
```

- Replace `your-registry.example.com` with the URL of your npm registry.

For more information about versioning and publishing npm packages, see [Publish npm packages](../artifacts/npm.md) and [How can I version my npm packages as part of the build process?](#q-how-can-i-version-my-npm-packages-as-part-of-the-build-process).

### Deploy a web app
Expand Down