From ce29844b7ad82db130f58c0caa148f19be265f34 Mon Sep 17 00:00:00 2001 From: Neferett Date: Tue, 26 May 2020 18:53:54 +0200 Subject: [PATCH] Public release --- .npmrc | 1 - LICENSE | 21 +++++++++++++++++++++ databasecollector.iml => Nedis.iml | 1 + package.json | 6 +++--- src/handler/ModelHandler.ts | 2 -- 5 files changed, 25 insertions(+), 6 deletions(-) delete mode 100644 .npmrc create mode 100644 LICENSE rename databasecollector.iml => Nedis.iml (85%) diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 78b7cdf..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -registry=https://npm.pkg.github.com/jordanbonaldi \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a494ce7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018 Jordan Bonaldi + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/databasecollector.iml b/Nedis.iml similarity index 85% rename from databasecollector.iml rename to Nedis.iml index 80cc739..8021953 100644 --- a/databasecollector.iml +++ b/Nedis.iml @@ -3,6 +3,7 @@ + \ No newline at end of file diff --git a/package.json b/package.json index 56c0679..e7a827f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@jordanbonaldi/databasecollector", - "version": "1.1.14", + "name": "@neferett/nedis", + "version": "1.1.17", "scripts": { "watch": "nodemon", "build": "rimraf ./build && tsc", @@ -8,7 +8,7 @@ "prepublish": "npm run build && npm-auto-version" }, "publishConfig": { - "registry": "https://npm.pkg.github.com/" + "registry": "https://registry.npmjs.org" }, "keywords": [], "author": "", diff --git a/src/handler/ModelHandler.ts b/src/handler/ModelHandler.ts index 8941d55..4b0c585 100644 --- a/src/handler/ModelHandler.ts +++ b/src/handler/ModelHandler.ts @@ -1,8 +1,6 @@ import RedisModel from "../model/RedisModel"; -import Database from "../database/Database"; import RedisCrud from "../crud/RedisCrud"; import RedisClientOverride from "../database/RedisClientOverride"; -import Crud from "../crud/Crud"; export default new (class ModelHandler{