Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit bc3d394

Browse files
committed
Don't add npm-cli-login as a dependency in the published package
1 parent a66dce2 commit bc3d394

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# UNRELEASED
2+
- [FIXED] Remove unnecessary `npm-cli-login` dependency.
23

34
# 4.1.0 (2019-05-14)
45
- [NEW] Added partitioned database support.

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ stage('Publish') {
109109
// 4. publish the build to NPM adding a snapshot tag if pre-release
110110
sh """
111111
${isReleaseVersion ? '' : ('npm version --no-git-tag-version ' + version + '.' + env.BUILD_ID)}
112-
npm install npm-cli-login
112+
npm install --no-save npm-cli-login
113113
./node_modules/.bin/npm-cli-login
114114
npm publish ${isReleaseVersion ? '' : '--tag snapshot'}
115115
"""

0 commit comments

Comments
 (0)