diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1558d1377..aae70d55e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,7 +12,7 @@ To make a release, you first need to ensure that the released version will eithe - Update `CHANGELOG.md` so that the unreleased section gets its version number. Commit this change. - Run `lerna version patch`, `lerna version minor`, depending on which part of the version number has to be bumped. We should never have the need to bump the major version, so do not run `lerna version major`. - - Lerna will push the commit and the tag created by `lerna version` to GitHub. Check that this has happened. + - Lerna will push the commit and the tag created by `lerna version` to GitHub. Check that this has happened. Also check that the version numbers in package-lock.json have been updated as well. ### Pushing Artifacts to NPM Once the release is properly committed and tagged, you can release the artifacts to NPM in the following way: diff --git a/package.json b/package.json index b73487565..5755824b1 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "test:nolint": "lerna run test:nolint --stream", "test:debug": "lerna run test:debug --stream", "test:lint": "lerna run test:lint --stream", - "test": "lerna run test --stream" + "test": "lerna run test --stream", + "version": "lerna clean --yes && lerna bootstrap --ignore-scripts -- --package-lock-only --no-audit && git add packages/*/package-lock.json" }, "devDependencies": { "@grpc/proto-loader": "^0.3.0", diff --git a/packages/collector/package-lock.json b/packages/collector/package-lock.json index acd135c64..14698653d 100644 --- a/packages/collector/package-lock.json +++ b/packages/collector/package-lock.json @@ -1,6 +1,6 @@ { "name": "@instana/collector", - "version": "1.64.0", + "version": "1.65.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -250,7 +250,8 @@ "code-point-at": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "optional": true }, "color-convert": { "version": "1.9.3", @@ -293,7 +294,8 @@ "console-control-strings": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -877,6 +879,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -999,6 +1002,7 @@ "version": "2.3.5", "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.3.5.tgz", "integrity": "sha512-Gi1W4k059gyRbyVUZQ4mEqLm0YIUiGYfvxhF6SIlk3ui1WVxMTGfGdQ2SInh3PDrRTVvPKgULkpJtT4RH10+VA==", + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -1007,7 +1011,8 @@ "yallist": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz", - "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==" + "integrity": "sha512-S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==", + "optional": true } } }, @@ -1233,7 +1238,8 @@ "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "optional": true }, "object-assign": { "version": "4.1.1", @@ -1552,6 +1558,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 8f77e0eaf..2e468fe7a 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,6 +1,6 @@ { "name": "@instana/core", - "version": "1.64.0", + "version": "1.65.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/legacy-sensor/package-lock.json b/packages/legacy-sensor/package-lock.json index ef9758735..d5c6abf60 100644 --- a/packages/legacy-sensor/package-lock.json +++ b/packages/legacy-sensor/package-lock.json @@ -1,6 +1,6 @@ { "name": "instana-nodejs-sensor", - "version": "1.64.0", + "version": "1.65.0", "lockfileVersion": 1, "requires": true, "dependencies": {