From 481cad240eba51ddcb1007b540284a3ff0968e2c Mon Sep 17 00:00:00 2001 From: Hexagon Date: Tue, 26 Mar 2024 19:33:03 +0000 Subject: [PATCH] Fix fmt. Add check+check+deps task. Excklude stuff on publish. Update deps. --- README.md | 4 ++-- deno.jsonc | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 22666e1..9d27462 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ [![JSR Score](https://jsr.io/badges/@cross/env/score?v=0.2.4)](https://jsr.io/@cross/env/score) This library provides a consistent and simple interface for managing environment variables across multiple runtimes, -making it ideal for cross-platform development. -Part of the @cross suite - check out our growing collection of cross-runtime tools at [github.com/cross-org](https://github.com/cross-org). +making it ideal for cross-platform development. 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 dc8d747..9140fae 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -5,9 +5,10 @@ ".": "./mod.ts", "./load": "./load.ts" }, - "tasks": { + "check": "deno fmt --check && deno lint && deno check mod.ts && deno doc --lint mod.ts && deno task test && deno task check-deps --slim", "test": "deno test --allow-env --allow-read", + "check-deps": "deno run -A jsr:@check/deps --ignore-unused", "publish-dry": "deno publish --dry-run" }, "lock": false, @@ -15,10 +16,13 @@ "lineWidth": 120, "indentWidth": 4 }, + "publish": { + "exclude": [".github", "*.test.ts"] + }, "imports": { "@cross/deepmerge": "jsr:@cross/deepmerge@^1.0.0", "@cross/runtime": "jsr:@cross/runtime@^1.0.0", - "@cross/test": "jsr:@cross/test@^0.0.8", - "@std/assert": "jsr:@std/assert@^0.219.1" + "@cross/test": "jsr:@cross/test@^0.0.9", + "@std/assert": "jsr:@std/assert@^0.220.1" } }