From 814539ba0a38d9025ae8965e4718f5d08abb0d97 Mon Sep 17 00:00:00 2001 From: WhyK Date: Sat, 12 Jun 2021 22:28:46 +0900 Subject: [PATCH 1/5] fix: version locking for deps --- mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index 7a29b7a..edcbe62 100644 --- a/mod.ts +++ b/mod.ts @@ -3,7 +3,7 @@ import { readFileSync, writeFile, writeFileSync, -} from "https://github.com/windchime-yk/deno-util/raw/master/mod.ts"; +} from "https://github.com/windchime-yk/deno-util/raw/v0.0.1/modules/file.ts"; export type BracesDBOption = { /** From 16ac7d03426d52fe427e8047031690e4ba7ef29f Mon Sep 17 00:00:00 2001 From: WhyK Date: Sat, 12 Jun 2021 22:38:43 +0900 Subject: [PATCH 2/5] refactor: changed for option defined method --- mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index edcbe62..0715193 100644 --- a/mod.ts +++ b/mod.ts @@ -5,7 +5,7 @@ import { writeFileSync, } from "https://github.com/windchime-yk/deno-util/raw/v0.0.1/modules/file.ts"; -export type BracesDBOption = { +export interface BracesDBOption { /** * Save type. * From 2ebd7a0b2f1066d31ae55dd2f557d48418608ba9 Mon Sep 17 00:00:00 2001 From: WhyK Date: Sat, 12 Jun 2021 22:39:30 +0900 Subject: [PATCH 3/5] docs: add docs badge --- README.md | 2 ++ README_JP.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index c1a43ab..e9bfffc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # BracesDB +[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/bracesdb/mod.ts) + 【[日本語](./README_JP.md) / English】 DB module in JSON format created with Deno. diff --git a/README_JP.md b/README_JP.md index 8dfcb21..2f8a3d5 100644 --- a/README_JP.md +++ b/README_JP.md @@ -1,4 +1,6 @@ # BracesDB +[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/bracesdb/mod.ts) + 【日本語 / [English](./README.md)】 Denoで作られたJSON形式のDBモジュール。 From bfe1c73fa147df910b29c6e9cffad8089c7433b0 Mon Sep 17 00:00:00 2001 From: WhyK Date: Sat, 12 Jun 2021 22:54:12 +0900 Subject: [PATCH 4/5] docs: update denon config file --- scripts.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts.config.ts b/scripts.config.ts index 829136f..c906824 100644 --- a/scripts.config.ts +++ b/scripts.config.ts @@ -1,4 +1,4 @@ -import { DenonConfig } from "https://deno.land/x/denon@2.4.4/mod.ts"; +import { DenonConfig } from "https://deno.land/x/denon@2.4.7/mod.ts"; const config: DenonConfig = { scripts: { @@ -7,6 +7,10 @@ const config: DenonConfig = { allow: ["write", "read"], watch: false, }, + fmt: { + cmd: "deno fmt --ignore=README.md,README_JP.md,./.github/,.vscode/", + watch: false, + }, }, }; From d19582ddc30a3c12b06e2108abd5ca8518ddf420 Mon Sep 17 00:00:00 2001 From: WhyK Date: Sat, 12 Jun 2021 22:57:10 +0900 Subject: [PATCH 5/5] style: deno fmt --- mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index 0715193..2493ec8 100644 --- a/mod.ts +++ b/mod.ts @@ -28,7 +28,7 @@ export interface BracesDBOption { * If the type is `memory`, you don't need it. */ filename?: string; -}; +} export class BracesDB { private readonly type: string;