From f36abfd3b40c9fd7bebaafa370c84f5dcfc271a3 Mon Sep 17 00:00:00 2001 From: Rishi-web <68048332+Rishi-web@users.noreply.github.com> Date: Tue, 18 Oct 2022 21:58:24 +0530 Subject: [PATCH] fix(build): enable semantic-release (#29) Signed-off-by: Rushil --- .releaserc | 2 +- .travis.yml | 4 +++- CHANGELOG.md | 23 ----------------------- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- 5 files changed, 15 insertions(+), 36 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/.releaserc b/.releaserc index 2dcec67..12db0ec 100644 --- a/.releaserc +++ b/.releaserc @@ -1,5 +1,5 @@ { - "branch": "master", + "branches": ["master"], "verifyConditions": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"], "prepare": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"], "publish": [ diff --git a/.travis.yml b/.travis.yml index 4c74274..1b6a66e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,9 @@ node_js: - 14 - 16 +cache: + npm: false + before_install: - npm i -g npm@8 - npm --version @@ -11,7 +14,6 @@ before_install: script: - npm run build - npm run test-unit-travis || travis_terminate 1 -- npm run test-integration-travis || travis_terminate 1 - npm run lint - npm run check-packages diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index e1660c5..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,23 +0,0 @@ -# 1.0.0 (2022-10-18) - - -### Bug Fixes - -* **build:** fix repository url ([#25](https://github.com/IBM/keyprotect-nodejs-client/issues/25)) ([76e184e](https://github.com/IBM/keyprotect-nodejs-client/commit/76e184ea85868d6c471364b1dabbd1f16c3576ed)) -* **build:** Updating travis for semantic-release ([#23](https://github.com/IBM/keyprotect-nodejs-client/issues/23)) ([ddacf88](https://github.com/IBM/keyprotect-nodejs-client/commit/ddacf88f20d992d9f899ec621163efcbeebce54b)) -* **build:** version fix ([#26](https://github.com/IBM/keyprotect-nodejs-client/issues/26)) ([ddeea81](https://github.com/IBM/keyprotect-nodejs-client/commit/ddeea813b80735628b787ef2e5da1a4be905f4ab)) - -# 1.0.0 (2022-10-18) - - -### Bug Fixes - -* **build:** fix repository url ([#25](https://github.com/IBM/keyprotect-nodejs-client/issues/25)) ([76e184e](https://github.com/IBM/keyprotect-nodejs-client/commit/76e184ea85868d6c471364b1dabbd1f16c3576ed)) -* **build:** Updating travis for semantic-release ([#23](https://github.com/IBM/keyprotect-nodejs-client/issues/23)) ([ddacf88](https://github.com/IBM/keyprotect-nodejs-client/commit/ddacf88f20d992d9f899ec621163efcbeebce54b)) - -# 1.0.0 (2022-10-14) - - -### Bug Fixes - -* **build:** Updating travis for semantic-release ([#23](https://github.com/IBM/keyprotect-nodejs-client/issues/23)) ([ddacf88](https://github.com/IBM/keyprotect-nodejs-client/commit/ddacf88f20d992d9f899ec621163efcbeebce54b)) diff --git a/package-lock.json b/package-lock.json index dea8d96..4bb7ce6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "@ibm-cloud/ibm-key-protect", - "version": "1.0.0", + "version": "0.1.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ibm-cloud/ibm-key-protect", - "version": "1.0.0", + "version": "0.1.2", "license": "Apache-2.0", "dependencies": { "@ibm-cloud/platform-services": "^0.20.3", "@types/node": "^12.0.8", "extend": "^3.0.2", - "ibm-cloud-sdk-core": "^3.1.0" + "ibm-cloud-sdk-core": "^3.2.0" }, "devDependencies": { "@semantic-release/changelog": "^6.0.1", @@ -4675,9 +4675,9 @@ } }, "node_modules/ibm-cloud-sdk-core": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-3.1.0.tgz", - "integrity": "sha512-r8xvCjAUs4SZc4EXd0LeKS6avThN09El87zLhJZJ3OrXyZtLZuC/WOp2MeReTN5P2xMPezzYkrKmkTYF/LhWkQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-3.2.0.tgz", + "integrity": "sha512-d18ULJjNFAM2VmuvcnuNApOMARkTWTzOGH7pKri6yGUvEqHvKyQjbTzieG7sz/kxgxeRIUbkeXGgJYoY6fBLgw==", "dependencies": { "@types/file-type": "~5.2.1", "@types/isstream": "^0.1.0", @@ -16619,9 +16619,9 @@ "dev": true }, "ibm-cloud-sdk-core": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-3.1.0.tgz", - "integrity": "sha512-r8xvCjAUs4SZc4EXd0LeKS6avThN09El87zLhJZJ3OrXyZtLZuC/WOp2MeReTN5P2xMPezzYkrKmkTYF/LhWkQ==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-3.2.0.tgz", + "integrity": "sha512-d18ULJjNFAM2VmuvcnuNApOMARkTWTzOGH7pKri6yGUvEqHvKyQjbTzieG7sz/kxgxeRIUbkeXGgJYoY6fBLgw==", "requires": { "@types/file-type": "~5.2.1", "@types/isstream": "^0.1.0", diff --git a/package.json b/package.json index b16a3ee..26635bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ibm-cloud/ibm-key-protect", - "version": "1.0.0", + "version": "0.1.2", "description": "IBM Cloud Key Protect Node SDK", "repository": { "type": "git", @@ -39,7 +39,7 @@ "@ibm-cloud/platform-services": "^0.20.3", "@types/node": "^12.0.8", "extend": "^3.0.2", - "ibm-cloud-sdk-core": "^3.1.0" + "ibm-cloud-sdk-core": "^3.2.0" }, "devDependencies": { "@semantic-release/changelog": "^6.0.1",