From ee23091d4f8a0a192164072fe5ae1e270f8f3991 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 14 Aug 2024 23:18:31 +0300 Subject: [PATCH] add changelog --- package-lock.json | 48 +++++++++++++++++++++++++++++++++++++++++++++-- package.json | 6 ++++-- 2 files changed, 50 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6bcbe058..b09d83fc0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ocean-node", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ocean-node", - "version": "0.0.1", + "version": "0.0.2", "license": "Apache-2.0", "dependencies": { "@chainsafe/libp2p-gossipsub": "^13.1.0", @@ -89,6 +89,7 @@ "@types/node-cron": "^3.0.11", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", + "auto-changelog": "^2.4.0", "chai": "^4.3.10", "concurrently": "^8.2.1", "eslint": "^8.51.0", @@ -7341,6 +7342,36 @@ "node": ">= 4.0.0" } }, + "node_modules/auto-changelog": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/auto-changelog/-/auto-changelog-2.4.0.tgz", + "integrity": "sha512-vh17hko1c0ItsEcw6m7qPRf3m45u+XK5QyCrrBFViElZ8jnKrPC1roSznrd1fIB/0vR/zawdECCRJtTuqIXaJw==", + "dev": true, + "license": "MIT", + "dependencies": { + "commander": "^7.2.0", + "handlebars": "^4.7.7", + "node-fetch": "^2.6.1", + "parse-github-url": "^1.0.2", + "semver": "^7.3.5" + }, + "bin": { + "auto-changelog": "src/index.js" + }, + "engines": { + "node": ">=8.3" + } + }, + "node_modules/auto-changelog/node_modules/commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, "node_modules/available-typed-arrays": { "version": "1.0.5", "license": "MIT", @@ -21612,6 +21643,19 @@ "node": ">=6" } }, + "node_modules/parse-github-url": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/parse-github-url/-/parse-github-url-1.0.3.tgz", + "integrity": "sha512-tfalY5/4SqGaV/GIGzWyHnFjlpTPTNpENR9Ea2lLldSJ8EWXMsvacWucqY3m3I4YPtas15IxTLQVQ5NSYXPrww==", + "dev": true, + "license": "MIT", + "bin": { + "parse-github-url": "cli.js" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/parse-json": { "version": "5.2.0", "license": "MIT", diff --git a/package.json b/package.json index aab6d8b62..5c07497d2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ocean-node", - "version": "0.0.1", + "version": "0.0.2", "description": "Ocean Node is used to run all core services in the Ocean stack", "author": "Ocean Protocol Foundation", "license": "Apache-2.0", @@ -41,7 +41,8 @@ "test:load": "npm run test:k6-common k6 run -e TEST_TYPE=load \"./dist/test/performance/perf_test.js\"", "test:stress": "npm run test:k6-common k6 run -e TEST_TYPE=stress \"./dist/test/performance/perf_test.js\"", "test:request:rate": "npm run test:k6-common && k6 run -e RATE=true \"./dist/test/performance/perf_test.js\"", - "release": "release-it --non-interactive" + "release": "release-it --non-interactive", + "changelog": "auto-changelog -p" }, "dependencies": { "@chainsafe/libp2p-gossipsub": "^13.1.0", @@ -124,6 +125,7 @@ "@types/node-cron": "^3.0.11", "@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/parser": "^6.8.0", + "auto-changelog": "^2.4.0", "chai": "^4.3.10", "concurrently": "^8.2.1", "eslint": "^8.51.0",