From 39808d6939833e18528628e7af9495f8d080150b Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 29 Oct 2024 10:32:02 -0500 Subject: feat: Deno and Changesets Signed-off-by: Matt Strapp --- src/packages/locusts/deno.json | 14 ++++++++++++++ src/packages/locusts/mod.ts | 1 + src/packages/locusts/mod_test.ts | 11 +++++++++++ src/packages/locusts/src/index.ts | 6 ++++-- 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 src/packages/locusts/deno.json create mode 100644 src/packages/locusts/mod.ts create mode 100644 src/packages/locusts/mod_test.ts (limited to 'src') diff --git a/src/packages/locusts/deno.json b/src/packages/locusts/deno.json new file mode 100644 index 0000000..2e0e371 --- /dev/null +++ b/src/packages/locusts/deno.json @@ -0,0 +1,14 @@ +{ + "name": "@locusts-r-us/locusts", + "version": "0.0.0", + "exports": "./mod.ts", + "tasks": { + "dev": "deno test --watch mod.ts" + }, + "license": "MIT", + "imports": { + "@std/testing": "jsr:@std/testing@1", + "@std/expect": "jsr:@std/expect@1", + "locusts": "npm:locusts" + } +} diff --git a/src/packages/locusts/mod.ts b/src/packages/locusts/mod.ts new file mode 100644 index 0000000..6042c3b --- /dev/null +++ b/src/packages/locusts/mod.ts @@ -0,0 +1 @@ +export * from "./src/index.ts" \ No newline at end of file diff --git a/src/packages/locusts/mod_test.ts b/src/packages/locusts/mod_test.ts new file mode 100644 index 0000000..3b15eba --- /dev/null +++ b/src/packages/locusts/mod_test.ts @@ -0,0 +1,11 @@ +import { describe, it } from "jsr:@std/testing/bdd"; +import { expect } from "jsr:@std/expect"; + +import { introduceLocusts } from "./mod.ts"; + +describe("Locusts", () => { + it("should be introduced", () => { + const result = introduceLocusts() + expect(result).toBe(undefined); + }); +}); diff --git a/src/packages/locusts/src/index.ts b/src/packages/locusts/src/index.ts index d78bab8..4491602 100644 --- a/src/packages/locusts/src/index.ts +++ b/src/packages/locusts/src/index.ts @@ -10,6 +10,8 @@ * ``` * @returns void */ -export default function introduceLocusts() { +export function introduceLocusts() { // This space intentionally left blank -} \ No newline at end of file +} + +export default introduceLocusts; \ No newline at end of file -- cgit v1.2.3