@happyvertical/weather 0.80.0 → 0.80.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- import { existsSync as o, mkdirSync as i, copyFileSync as m } from "node:fs";
3
- import { dirname as s, join as e } from "node:path";
4
- import { fileURLToPath as d } from "node:url";
5
- const l = s(d(import.meta.url)), t = e(l, "../.."), a = e(process.cwd(), ".claude");
6
- o(a) || i(a, { recursive: !0 });
7
- const n = "weather", r = o(e(t, "AGENT.md")) ? e(t, "AGENT.md") : e(t, "CLAUDE.md"), c = o(e(t, "metadata.json")) ? e(t, "metadata.json") : e(t, ".claude-meta.json");
8
- o(r) && m(r, e(a, `have-${n}.md`));
9
- o(c) && m(c, e(a, `have-${n}.meta.json`));
10
- console.log(`✓ Installed @happyvertical/${n} context to .claude/`);
2
+ import { copyFileSync as e, existsSync as t, mkdirSync as n } from "node:fs";
3
+ import { dirname as r, join as i } from "node:path";
4
+ import { fileURLToPath as a } from "node:url";
5
+ //#region src/cli/claude-context.ts
6
+ var o = i(r(a(import.meta.url)), "../.."), s = i(process.cwd(), ".claude");
7
+ t(s) || n(s, { recursive: !0 });
8
+ var c = "weather", l = t(i(o, "AGENT.md")) ? i(o, "AGENT.md") : i(o, "CLAUDE.md"), u = t(i(o, "metadata.json")) ? i(o, "metadata.json") : i(o, ".claude-meta.json");
9
+ t(l) && e(l, i(s, `have-${c}.md`)), t(u) && e(u, i(s, `have-${c}.meta.json`)), console.log(`✓ Installed @happyvertical/${c} context to .claude/`);
10
+ //#endregion