Skip to content

Commit

Permalink
Merge pull request #12 from windchime-yk/minimal-change
Browse files Browse the repository at this point in the history
minimal change
  • Loading branch information
windchime-yk committed Jun 13, 2021
2 parents 48091d4 + d19582d commit 2d34b50
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions README_JP.md
Original file line number Diff line number Diff line change
@@ -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モジュール。
Expand Down
6 changes: 3 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ 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 = {
export interface BracesDBOption {
/**
* Save type.
*
Expand All @@ -28,7 +28,7 @@ export type BracesDBOption = {
* If the type is `memory`, you don't need it.
*/
filename?: string;
};
}

export class BracesDB<T> {
private readonly type: string;
Expand Down
6 changes: 5 additions & 1 deletion scripts.config.ts
Original file line number Diff line number Diff line change
@@ -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: {
Expand All @@ -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,
},
},
};

Expand Down

0 comments on commit 2d34b50

Please sign in to comment.