From caaa1bd0a9828ba45969277569492bddc500896a Mon Sep 17 00:00:00 2001 From: Samarpan Bhattacharya Date: Sat, 18 Dec 2021 12:56:06 +0530 Subject: [PATCH] fix(docs): add badge for node and npm version --- packages/core/README.md | 4 ++++ packages/core/package.json | 2 +- packages/custom-sf-changelog/package.json | 2 +- sandbox/audit-ms-example/package.json | 2 +- sandbox/auth-ms-basic-example/package.json | 2 +- sandbox/auth-multitenant-example/package.json | 2 +- sandbox/chat-notification-pubnub-example/facade/package.json | 2 +- .../services/chat-service/package.json | 2 +- .../services/notifications-service/package.json | 2 +- sandbox/feature-toggle-example/package.json | 2 +- sandbox/in-mail-example/package.json | 2 +- sandbox/notification-socket-example/package.json | 2 +- sandbox/pubnub-example/package.json | 2 +- sandbox/scheduler-example/package.json | 2 +- sandbox/search-ms-example/package.json | 2 +- sandbox/video-conferencing-ms-example/package.json | 2 +- sandbox/workflow-ms-example/package.json | 2 +- services/audit-service/README.md | 4 ++++ services/audit-service/package.json | 2 +- services/authentication-service/README.md | 4 ++++ services/authentication-service/package.json | 2 +- services/bpmn-service/README.md | 4 ++++ services/bpmn-service/package.json | 2 +- services/chat-service/README.md | 4 ++++ services/chat-service/package.json | 2 +- services/feature-toggle-service/README.md | 4 ++++ services/feature-toggle-service/package.json | 2 +- services/in-mail-service/README.md | 4 ++++ services/in-mail-service/package.json | 2 +- services/notification-service/README.md | 4 ++++ services/notification-service/package.json | 2 +- services/payment-service/README.md | 4 ++++ services/payment-service/package.json | 2 +- services/scheduler-service/README.md | 4 ++++ services/scheduler-service/package.json | 2 +- services/search-service/README.md | 4 ++++ services/search-service/package.json | 2 +- services/video-conferencing-service/README.md | 4 ++++ services/video-conferencing-service/package.json | 2 +- 39 files changed, 75 insertions(+), 27 deletions(-) diff --git a/packages/core/README.md b/packages/core/README.md index b3fc3127da..00c3e6bf3a 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/core) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/core) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/core/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/core/dev/@loopback/cli) diff --git a/packages/core/package.json b/packages/core/package.json index 07923e296a..91eb2a751b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/packages/custom-sf-changelog/package.json b/packages/custom-sf-changelog/package.json index 834d93b9b2..1ed5e9fd77 100644 --- a/packages/custom-sf-changelog/package.json +++ b/packages/custom-sf-changelog/package.json @@ -22,7 +22,7 @@ ], "author": "Akshat Dubey", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "license": "ISC", "dependencies": { diff --git a/sandbox/audit-ms-example/package.json b/sandbox/audit-ms-example/package.json index 73b9c6a6fc..c468ae1133 100644 --- a/sandbox/audit-ms-example/package.json +++ b/sandbox/audit-ms-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/auth-ms-basic-example/package.json b/sandbox/auth-ms-basic-example/package.json index 3b652715f3..9650d3bbf8 100644 --- a/sandbox/auth-ms-basic-example/package.json +++ b/sandbox/auth-ms-basic-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/auth-multitenant-example/package.json b/sandbox/auth-multitenant-example/package.json index 58a8ecb0a4..be7bdadb4e 100644 --- a/sandbox/auth-multitenant-example/package.json +++ b/sandbox/auth-multitenant-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/chat-notification-pubnub-example/facade/package.json b/sandbox/chat-notification-pubnub-example/facade/package.json index 531ec3c88d..e20c92a73b 100644 --- a/sandbox/chat-notification-pubnub-example/facade/package.json +++ b/sandbox/chat-notification-pubnub-example/facade/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/chat-notification-pubnub-example/services/chat-service/package.json b/sandbox/chat-notification-pubnub-example/services/chat-service/package.json index 19c8a116d6..a29f4a676d 100644 --- a/sandbox/chat-notification-pubnub-example/services/chat-service/package.json +++ b/sandbox/chat-notification-pubnub-example/services/chat-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json b/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json index e554a7fdbf..7bb7073d53 100644 --- a/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json +++ b/sandbox/chat-notification-pubnub-example/services/notifications-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/feature-toggle-example/package.json b/sandbox/feature-toggle-example/package.json index 983cb075dd..066c90a09e 100644 --- a/sandbox/feature-toggle-example/package.json +++ b/sandbox/feature-toggle-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/in-mail-example/package.json b/sandbox/in-mail-example/package.json index 1614387e96..df8f600c4c 100644 --- a/sandbox/in-mail-example/package.json +++ b/sandbox/in-mail-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/notification-socket-example/package.json b/sandbox/notification-socket-example/package.json index e052ab8766..a26be4302e 100644 --- a/sandbox/notification-socket-example/package.json +++ b/sandbox/notification-socket-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/pubnub-example/package.json b/sandbox/pubnub-example/package.json index 24b58d29aa..d29c31fdb6 100644 --- a/sandbox/pubnub-example/package.json +++ b/sandbox/pubnub-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/scheduler-example/package.json b/sandbox/scheduler-example/package.json index 5531feebae..4982abff11 100644 --- a/sandbox/scheduler-example/package.json +++ b/sandbox/scheduler-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "lb-tsc", diff --git a/sandbox/search-ms-example/package.json b/sandbox/search-ms-example/package.json index 5a7229b787..c4bb6b4ffe 100644 --- a/sandbox/search-ms-example/package.json +++ b/sandbox/search-ms-example/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "private": true, "scripts": { diff --git a/sandbox/video-conferencing-ms-example/package.json b/sandbox/video-conferencing-ms-example/package.json index 3ea68b7e34..980b9fd88c 100644 --- a/sandbox/video-conferencing-ms-example/package.json +++ b/sandbox/video-conferencing-ms-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/sandbox/workflow-ms-example/package.json b/sandbox/workflow-ms-example/package.json index f07efafd60..4fc3a440c9 100644 --- a/sandbox/workflow-ms-example/package.json +++ b/sandbox/workflow-ms-example/package.json @@ -10,7 +10,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/services/audit-service/README.md b/services/audit-service/README.md index 5867287ced..f5108bb7a9 100644 --- a/services/audit-service/README.md +++ b/services/audit-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/audit-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/audit-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/audit-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/audit-service/dev/@loopback/cli) diff --git a/services/audit-service/package.json b/services/audit-service/package.json index 544d4318cd..febdaf16bf 100644 --- a/services/audit-service/package.json +++ b/services/audit-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/authentication-service/README.md b/services/authentication-service/README.md index 708e673a69..0e1f95bb47 100644 --- a/services/authentication-service/README.md +++ b/services/authentication-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/authentication-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/authentication-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/authentication-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/authentication-service/dev/@loopback/cli) diff --git a/services/authentication-service/package.json b/services/authentication-service/package.json index a556f527e8..cc3773ad31 100644 --- a/services/authentication-service/package.json +++ b/services/authentication-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "prebuild": "npm run clean", diff --git a/services/bpmn-service/README.md b/services/bpmn-service/README.md index af26f6c6b3..4038223d88 100644 --- a/services/bpmn-service/README.md +++ b/services/bpmn-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/bpmn-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/bpmn-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/bpmn-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/bpmn-service/dev/@loopback/cli) diff --git a/services/bpmn-service/package.json b/services/bpmn-service/package.json index 5516da3f44..8da2624d99 100644 --- a/services/bpmn-service/package.json +++ b/services/bpmn-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/chat-service/README.md b/services/chat-service/README.md index 9a25e11724..1d545b1265 100644 --- a/services/chat-service/README.md +++ b/services/chat-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/chat-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/chat-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/chat-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/chat-service/dev/@loopback/cli) diff --git a/services/chat-service/package.json b/services/chat-service/package.json index 727ed07f96..0b0c405cb0 100644 --- a/services/chat-service/package.json +++ b/services/chat-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/services/feature-toggle-service/README.md b/services/feature-toggle-service/README.md index b75a8fc3a6..3485f57688 100644 --- a/services/feature-toggle-service/README.md +++ b/services/feature-toggle-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/feature-toggle-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/feature-toggle-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/feature-toggle-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/feature-toggle-service/dev/@loopback/cli) diff --git a/services/feature-toggle-service/package.json b/services/feature-toggle-service/package.json index 26fc6cdbbc..b3814b1237 100644 --- a/services/feature-toggle-service/package.json +++ b/services/feature-toggle-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "prebuild": "npm run clean", diff --git a/services/in-mail-service/README.md b/services/in-mail-service/README.md index 8975ecac99..f987cb05f5 100644 --- a/services/in-mail-service/README.md +++ b/services/in-mail-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/in-mail-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/in-mail-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/in-mail-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/in-mail-service/dev/@loopback/cli) diff --git a/services/in-mail-service/package.json b/services/in-mail-service/package.json index 4ae2f2ae73..5eb64f5399 100644 --- a/services/in-mail-service/package.json +++ b/services/in-mail-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/notification-service/README.md b/services/notification-service/README.md index 0241a60072..19e385b1b1 100644 --- a/services/notification-service/README.md +++ b/services/notification-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/notification-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/notification-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/notification-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/notification-service/dev/@loopback/cli) diff --git a/services/notification-service/package.json b/services/notification-service/package.json index 1be7d97702..1298790b08 100644 --- a/services/notification-service/package.json +++ b/services/notification-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/payment-service/README.md b/services/payment-service/README.md index f41a0f40ac..5899cd5935 100644 --- a/services/payment-service/README.md +++ b/services/payment-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/payment-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/payment-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/payment-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/payment-service/dev/@loopback/cli) diff --git a/services/payment-service/package.json b/services/payment-service/package.json index 53c7f4fd4c..7e9338f676 100644 --- a/services/payment-service/package.json +++ b/services/payment-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "prebuild": "npm run clean", diff --git a/services/scheduler-service/README.md b/services/scheduler-service/README.md index 4fa4593120..090125ee15 100644 --- a/services/scheduler-service/README.md +++ b/services/scheduler-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/scheduler-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/scheduler-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/scheduler-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/scheduler-service/dev/@loopback/cli) diff --git a/services/scheduler-service/package.json b/services/scheduler-service/package.json index a090ea5949..833260f25b 100644 --- a/services/scheduler-service/package.json +++ b/services/scheduler-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc && npm run openapi-spec && npm run apidocs", diff --git a/services/search-service/README.md b/services/search-service/README.md index 5e98700554..088a147c48 100644 --- a/services/search-service/README.md +++ b/services/search-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/search-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/search-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/search-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/search-service/dev/@loopback/cli) diff --git a/services/search-service/package.json b/services/search-service/package.json index 41b7c563a3..f98b56ea52 100644 --- a/services/search-service/package.json +++ b/services/search-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10.16" + "node": "12 || 14 || 16 || 17" }, "scripts": { "build": "npm run clean && lb-tsc", diff --git a/services/video-conferencing-service/README.md b/services/video-conferencing-service/README.md index 07bba35424..6208bdf75f 100644 --- a/services/video-conferencing-service/README.md +++ b/services/video-conferencing-service/README.md @@ -2,6 +2,10 @@ [![LoopBack]()](http://loopback.io/) +![npm](https://img.shields.io/npm/dm/@sourceloop/video-conferencing-service) + +![node-current (scoped)](https://img.shields.io/node/v/@sourceloop/video-conferencing-service) + ![npm (prod) dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/video-conferencing-service/@loopback/core) ![npm dev dependency version (scoped)](https://img.shields.io/npm/dependency-version/@sourceloop/video-conferencing-service/dev/@loopback/cli) diff --git a/services/video-conferencing-service/package.json b/services/video-conferencing-service/package.json index 0d72a8b4a9..3f09bb182d 100644 --- a/services/video-conferencing-service/package.json +++ b/services/video-conferencing-service/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { - "node": ">=10" + "node": "12 || 14 || 16 || 17" }, "scripts": { "prebuild": "npm run clean",