Skip to content

Commit

Permalink
Merge 1536a94 into d887e36
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jun 25, 2021
2 parents d887e36 + 1536a94 commit a1f176c
Show file tree
Hide file tree
Showing 61 changed files with 1,238 additions and 1,954 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# http://editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
indent_brace_style = 1TBS
spaces_around_operators = true
quote_type = auto

[package.json]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,7 @@ Icon
Network Trash Folder
Temporary Items
.apdisk

**/*.env

*.sqlite
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
unsafe-perm=true
save-prefix=~
shrinkwrap=false
save=false
12 changes: 6 additions & 6 deletions packages/keyv-postgres/LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License
The MIT License (MIT)

Copyright (c) 2017 Luke Childs
Copyright © 2021 Kiko Beats <hello@kikobeats.com> (httpss://kikobeats.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -9,13 +9,13 @@ 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 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.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
File renamed without changes
13 changes: 2 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,19 @@
"name": "@keyvhq/mono",
"private": "true",
"devDependencies": {
"@keyvhq/keyv": "file:./packages/keyv",
"@keyvhq/keyv-mongo": "file:packages/keyv-mongo",
"@keyvhq/keyv-mysql": "file:packages/keyv-mysql",
"@keyvhq/keyv-postgres": "file:packages/keyv-postgres",
"@keyvhq/keyv-redis": "file:packages/keyv-redis",
"@keyvhq/keyv-sql": "file:packages/keyv-sql",
"@keyvhq/keyv-sqlite": "file:packages/keyv-sqlite",
"@keyvhq/keyv-test-suite": "file:packages/keyv-test-suite",
"ava": "^3.15.0",
"coveralls": "^3.0.0",
"delay": "^4.3.0",
"dotenv": "^8.2.0",
"eslint-config-xo-lukechilds": "^1.0.0",
"knex": "^0.95.4",
"lerna": "^4.0.0",
"nyc": "^15.1.0",
"pify": "^5.0.0",
"requirable": "^1.0.1",
"sqlite3": "^5.0.2",
"standard": "^16.0.3",
"this": "^1.0.2",
"timekeeper": "^2.0.0",
"xo": "^0.38.2"
"timekeeper": "^2.0.0"
},
"author": "Jytesh & Kikobeats",
"scripts": {
Expand Down
73 changes: 0 additions & 73 deletions packages/keyv-mongo/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions packages/keyv-mongo/LICENSE

This file was deleted.

49 changes: 26 additions & 23 deletions packages/keyv-mongo/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,43 @@
{
"name": "@keyvhq/keyv-mongo",
"version": "0.2.0",
"description": "MongoDB storage adapter for Keyv",
"homepage": "https://github.com/keyvhq/keyv",
"version": "0.2.0",
"main": "src/index.js",
"scripts": {
"test": "xo && nyc --no-clean --temp-dir ../../.nyc_output ava"
"author": {
"email": "lukechilds123@gmail.com",
"name": "Luke Childs",
"url": "http://lukechilds.co.uk"
},
"xo": {
"extends": "xo-lukechilds"
},
"ava": {
"require": [
"requirable"
]
"bugs": {
"url": "https://github.com/keyvhq/keyv/issues"
},
"keywords": [
"adapter",
"cache",
"key",
"keyv",
"mongo",
"mongodb",
"keyv",
"storage",
"adapter",
"key",
"value",
"store",
"cache",
"ttl"
"ttl",
"value"
],
"author": "Luke Childs <lukechilds123@gmail.com> (http://lukechilds.co.uk)",
"license": "MIT",
"bugs": {
"url": "https://github.com/keyvhq/keyv/issues"
},
"homepage": "https://github.com/keyvhq/keyv",
"dependencies": {
"mongodb": "^3.6.5",
"pify": "^5.0.0"
},
"gitHead": "a4e2c1f285236a753de13eb8a42d9a98690526cc"
"files": [
"src"
],
"scripts": {
"test": "standard && nyc --no-clean --temp-dir ../../.nyc_output ava"
},
"license": "MIT",
"ava": {
"require": [
"requirable"
]
}
}
Loading

0 comments on commit a1f176c

Please sign in to comment.