From 4f8066c4f695ff9f8110b744ff61ed2351770d10 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Tue, 26 Mar 2024 19:53:48 +0000 Subject: [PATCH] Fix fmt. Add tasks --- README.md | 3 ++- deno.jsonc | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d283e3e..45feba1 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ This library provides a simple, cross-platform mechanism for retrieving the path Bun and Node.js. It's designed for flexibility and ease of use, ensuring your applications can locate critical directories regardless of the operating system or runtime environment. -Part of the @cross suite - check out our growing collection of cross-runtime tools at [github.com/cross-org](https://github.com/cross-org). +Part of the @cross suite - check out our growing collection of cross-runtime tools at +[github.com/cross-org](https://github.com/cross-org). **Features** diff --git a/deno.jsonc b/deno.jsonc index d55c820..77e9f8b 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -4,9 +4,14 @@ "exports": "./mod.ts", "tasks": { - "check-deps": "deno run -A jsr:@check/deps", + "check": "deno fmt --check && deno lint && deno check mod.ts && deno task test && deno task check-deps --slim", + "check-deps": "deno run -A jsr:@check/deps --ignore-unused", + "test": "echo \"No tests yet\"", "publish-dry": "deno publish --dry-run" }, + "publish": { + "exclude": [".github", "*.test.ts"] + }, "lock": true, "fmt": { "lineWidth": 120, @@ -16,6 +21,6 @@ "@cross/deepmerge": "jsr:@cross/deepmerge@^1.0.0", "@cross/env": "jsr:@cross/env@^1.0.0", "@cross/runtime": "jsr:@cross/runtime@^1.0.0", - "@cross/utils": "jsr:@cross/utils@^0.7.0" + "@cross/utils": "jsr:@cross/utils@^0.8.2" } }