aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-29 10:32:02 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-29 10:32:02 -0500
commit39808d6939833e18528628e7af9495f8d080150b (patch)
tree07a27b110e9061bb29017ea3a6584d93620f7e60 /src
parentBasic README + LFS strikes again (diff)
downloadlocusts-39808d6939833e18528628e7af9495f8d080150b.tar
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.gz
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.bz2
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.lz
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.xz
locusts-39808d6939833e18528628e7af9495f8d080150b.tar.zst
locusts-39808d6939833e18528628e7af9495f8d080150b.zip
feat: Deno and Changesets
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'src')
-rw-r--r--src/packages/locusts/deno.json14
-rw-r--r--src/packages/locusts/mod.ts1
-rw-r--r--src/packages/locusts/mod_test.ts11
-rw-r--r--src/packages/locusts/src/index.ts6
4 files changed, 30 insertions, 2 deletions
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