A command-line journaling application

remove deps.ts and begin prepping for JSR

bitquabit.com 582eff04 01a2531b

verified
+6 -7
+2 -1
cli.ts
··· 1 1 import { partition } from "@std/collections"; 2 2 import * as cli from "@std/cli"; 3 - import { DateTime, parseDate } from "./deps.ts"; 3 + import { DateTime } from "luxon"; 4 + import parseDate from "date.js"; 4 5 import { loadConfig } from "./config.ts"; 5 6 import { 6 7 Entry,
+3 -1
deno.jsonc
··· 4 4 "@std/cli": "jsr:@std/cli@^1.0.23", 5 5 "@std/collections": "jsr:@std/collections@^1.1.3", 6 6 "@std/path": "jsr:@std/path@^1.1.2", 7 - "@std/toml": "jsr:@std/toml@^1.0.11" 7 + "@std/toml": "jsr:@std/toml@^1.0.11", 8 + "luxon": "https://esm.sh/luxon@3.4.4", 9 + "date.js": "https://esm.sh/date.js@0.3.3" 8 10 }, 9 11 "tasks": { 10 12 "install": "deno install -g -n hayom -A ./cli.ts",
-4
deps.ts
··· 1 - import { DateTime } from "https://esm.sh/luxon@3.4.4"; 2 - import parseDate from "https://esm.sh/date.js@0.3.3"; 3 - 4 - export { DateTime, parseDate };
+1 -1
mod.ts
··· 1 1 import { chunk } from "@std/collections"; 2 - import { DateTime } from "./deps.ts"; 2 + import { DateTime } from "luxon"; 3 3 4 4 export interface Entry { 5 5 date: DateTime;