diff --git a/README.md b/README.md index e2c1206..fe88b3a 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,23 @@ const firstJohn = db.where('name = John').first() npm run build ``` +## Testing + +**Type check** — format, lint, and type-check: + +```bash +deno task check +``` + +**Unit tests** — format/lint tests and run all tests: + +```bash +deno task test +``` + +- Tests live under `tests/` (public API tests in `tests/jsonary.test.ts`). +- The test task uses `--allow-read`, `--allow-write`, and `--allow-env`. + ## License This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for details. diff --git a/deno.json b/deno.json index 508c7b2..e849ad8 100644 --- a/deno.json +++ b/deno.json @@ -1,7 +1,7 @@ { "name": "@neabyte/jsonary", "description": "File-based JSON database for TypeScript, with a simple query builder", - "version": "1.0.1", + "version": "1.1.0", "type": "module", "license": "MIT", "exports": "./src/index.ts", diff --git a/package.json b/package.json index 2d7ec83..1de6f80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@neabyte/jsonary", - "version": "1.0.1", + "version": "1.1.0", "description": "File-based JSON database for TypeScript, with a simple query builder", "type": "module", "main": "dist/index.cjs",