From 51f0b71b54e0c53a94ba589d947661fc126c1b1b Mon Sep 17 00:00:00 2001
From: furknyavuz
Date: Thu, 26 Aug 2021 22:12:01 +0300
Subject: [PATCH] updare package json and readme files
---
.run/install.run.xml | 9 +++++
NPM-README.md | 4 +--
README.md | 9 +++--
app.json | 14 --------
package.json | 79 ++++++++++++++++++--------------------------
5 files changed, 50 insertions(+), 65 deletions(-)
create mode 100644 .run/install.run.xml
delete mode 100644 app.json
diff --git a/.run/install.run.xml b/.run/install.run.xml
new file mode 100644
index 0000000..e30b554
--- /dev/null
+++ b/.run/install.run.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/NPM-README.md b/NPM-README.md
index abec3db..8a7c539 100644
--- a/NPM-README.md
+++ b/NPM-README.md
@@ -5,14 +5,14 @@
-Open Template Hub - Common Library
+Open Template Hub - Common Library v2
[![GitHubRepo](https://img.shields.io/badge/GitHub-Repository-24292e.svg?style=for-the-badge&logo=github)](https://github.com/open-template-hub/common)
[![SonarCloud](https://img.shields.io/sonar/quality_gate/open-template-hub_common?server=https%3A%2F%2Fsonarcloud.io&label=Sonar%20Cloud&style=for-the-badge&logo=sonarcloud)](https://sonarcloud.io/dashboard?id=open-template-hub_common)
[![BTC](https://img.shields.io/badge/Donate-BTC-ORANGE?color=F5922F&style=for-the-badge&logo=bitcoin)](https://commerce.coinbase.com/checkout/8313af5f-de48-498d-b2cb-d98819ca7d5e)
-This library contains common functionality for [Open Template Hub](https://github.com/open-template-hub) servers.
+This library contains common functionalities for Server Templates on [Open Template Hub](https://github.com/open-template-hub)
## About the NPM Package
diff --git a/README.md b/README.md
index e0f2a75..937ab6c 100644
--- a/README.md
+++ b/README.md
@@ -5,15 +5,20 @@
-Open Template Hub - Common Library
+Open Template Hub - Common Library v2
[![Version](https://img.shields.io/npm/v/@open-template-hub/common?color=CB3837&style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@open-template-hub/common)
[![Downloads](https://img.shields.io/npm/dt/@open-template-hub/common?color=CB3837&logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@open-template-hub/common)
+[![License](https://img.shields.io/github/license/open-template-hub/common?color=43b043&style=for-the-badge)](LICENSE)
+[![Issues](https://img.shields.io/github/issues/open-template-hub/common?color=43b043&style=for-the-badge)](https://github.com/open-template-hub/common/issues)
+[![PRCLosed](https://img.shields.io/github/issues-pr-closed-raw/open-template-hub/common?color=43b043&style=for-the-badge)](https://github.com/open-template-hub/common/pulls?q=is%3Apr+is%3Aclosed)
+[![LastCommit](https://img.shields.io/github/last-commit/open-template-hub/common?color=43b043&style=for-the-badge)](https://github.com/open-template-hub/common/commits/master)
+[![Release](https://img.shields.io/github/release/open-template-hub/common?include_prereleases&color=43b043&style=for-the-badge)](https://github.com/open-template-hub/common/releases)
[![SonarCloud](https://img.shields.io/sonar/quality_gate/open-template-hub_common?server=https%3A%2F%2Fsonarcloud.io&label=Sonar%20Cloud&style=for-the-badge&logo=sonarcloud)](https://sonarcloud.io/dashboard?id=open-template-hub_common)
[![BTC](https://img.shields.io/badge/Donate-BTC-ORANGE?color=F5922F&style=for-the-badge&logo=bitcoin)](https://commerce.coinbase.com/checkout/8313af5f-de48-498d-b2cb-d98819ca7d5e)
-This library contains common functionality for [Open Template Hub](https://github.com/open-template-hub) servers.
+This library contains common functionalities for Server Templates on [Open Template Hub](https://github.com/open-template-hub)
## About the NPM Package
diff --git a/app.json b/app.json
deleted file mode 100644
index d632f8e..0000000
--- a/app.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "name": "Analytics Server Template",
- "description": "Analytics Server Template in NodeJS Express.js",
- "repository": "https://github.com/open-template-hub/analytics-server-template",
- "logo": "https://avatars2.githubusercontent.com/u/65504426?s=200&v=4",
- "keywords": [
- "server",
- "template",
- "nodejs",
- "typescript",
- "mongodb",
- "mongoose"
- ]
-}
diff --git a/package.json b/package.json
index 0fcc1cc..1b95bbe 100644
--- a/package.json
+++ b/package.json
@@ -1,47 +1,13 @@
{
"name": "@open-template-hub/common",
- "version": "1.0.28",
- "description": "Open Template Hub Servers Common Library",
+ "description": "This library contains common functionalities for Server Templates on Open Template Hub",
+ "version": "2.0.0",
+ "license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
- "license": "MIT",
- "keywords": [
- "Express generator",
- "server",
- "rest",
- "node",
- "nodejs",
- "typescript",
- "mongo",
- "mongodb",
- "mongoose",
- "postgre",
- "postgresql",
- "cli",
- "auth",
- "authentication",
- "payment",
- "basic",
- "basic info",
- "backend",
- "template",
- "server template",
- "auth server example",
- "auth server template",
- "payment server example",
- "payment server template",
- "basic info server example",
- "basic info server template",
- "Open Template Hub",
- "Open Template Hub Library",
- "Util",
- "Utility",
- "Token"
- ],
- "git repository": "https://github.com/open-template-hub/open-template-hub-common",
- "repository": {
- "type": "git",
- "url": "https://github.com/open-template-hub/common.git"
+ "scripts": {
+ "start": "ts-node index.ts",
+ "build": "tsc"
},
"dependencies": {
"@types/crypto-js": "^4.0.1",
@@ -66,12 +32,31 @@
"@types/object-path": "^0.11.0",
"@types/pg": "^7.14.7"
},
- "scripts": {
- "start": "ts-node index.ts",
- "build": "tsc"
+ "git repository": "https://github.com/open-template-hub/open-template-hub-common",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/open-template-hub/common.git"
},
- "engines": {
- "node": "12.13.1",
- "npm": "6.12.1"
- }
+ "keywords": [
+ "common",
+ "server",
+ "rest",
+ "node",
+ "nodejs",
+ "typescript",
+ "mongo",
+ "mongodb",
+ "mongoose",
+ "postgre",
+ "postgresql",
+ "cli",
+ "backend",
+ "template",
+ "open template hub",
+ "open template hub library",
+ "util",
+ "utility",
+ "utilities",
+ "token"
+ ]
}