diff --git a/egg.yml b/egg.yml index 4fee1a4..a6aeb01 100644 --- a/egg.yml +++ b/egg.yml @@ -2,12 +2,14 @@ name: filedb description: ⚡ A lightweight local JSON database for Deno. repository: 'https://github.com/jswildcards/filedb' unstable: true -version: 0.0.3 -checkAll: true -unlisted: false +entry: ./mod.ts files: + - ./example/**/* + - ./README.md - ./mod.ts - ./deps.ts - - ./README.md - ./src/**/* - - ./example/**/* + - ./mod.ts +version: 0.0.4 +checkAll: true +unlisted: false diff --git a/example/hello_world.ts b/example/hello_world.ts index 96ce88f..8d5cc7c 100644 --- a/example/hello_world.ts +++ b/example/hello_world.ts @@ -1,4 +1,4 @@ -import { FileDB, Document } from "../mod.ts"; +import { Document, FileDB } from "../mod.ts"; interface User extends Document { firstName?: string; diff --git a/example/with_oak.ts b/example/with_oak.ts index 1d5fbba..b7a443f 100644 --- a/example/with_oak.ts +++ b/example/with_oak.ts @@ -1,5 +1,5 @@ import { Application, Router } from "https://deno.land/x/oak/mod.ts"; -import { FileDB, Document } from "../mod.ts"; +import { Document, FileDB } from "../mod.ts"; interface User extends Document { username?: string; diff --git a/src/collection.ts b/src/collection.ts index a276698..86e0027 100644 --- a/src/collection.ts +++ b/src/collection.ts @@ -79,7 +79,6 @@ export class Collection { return this.findOne({ id: el.id } as T); } - /** * Bulk Insert *