From 417227ebbd88858a943142aa45f127c800973e4f Mon Sep 17 00:00:00 2001 From: "Ricardo Q. Bazan" Date: Mon, 18 May 2026 21:13:38 -0500 Subject: [PATCH 1/5] chore: drop type-fest dep and polish docsite landing - package: replace PartialDeep import with a local equivalent type so @vlandoss/env no longer depends on type-fest. Public Config and Defaults shapes unchanged. - docsite: link version chip to npm, route Variable Land link through LANDING_META, switch nav paddings to Tailwind utility scale, rename brand to "Variable Land" in README footer. Co-Authored-By: Claude Opus 4.7 (1M context) --- .changeset/drop-type-fest-dep.md | 5 +++++ README.md | 12 +++++------ docsite/src/components/landing/close.tsx | 11 ++++++++-- docsite/src/components/landing/data.ts | 2 ++ docsite/src/components/landing/nav.tsx | 26 ++++++++++++------------ package/package.json | 5 ++--- package/src/lib/types.ts | 19 ++++++++++++++++- pnpm-lock.yaml | 17 ---------------- 8 files changed, 55 insertions(+), 42 deletions(-) create mode 100644 .changeset/drop-type-fest-dep.md diff --git a/.changeset/drop-type-fest-dep.md b/.changeset/drop-type-fest-dep.md new file mode 100644 index 0000000..c5c7961 --- /dev/null +++ b/.changeset/drop-type-fest-dep.md @@ -0,0 +1,5 @@ +--- +"@vlandoss/env": patch +--- + +Drop the `type-fest` dependency. `PartialDeep` is now defined locally in `src/lib/types.ts` with an equivalent shape, so the public surface of `Config` and `Defaults` is unchanged. One fewer transitive dep for consumers. diff --git a/README.md b/README.md index 9e7cb31..710b2d4 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,11 @@ pnpm add @vlandoss/env This is the monorepo. Three things live here: -| Path | What it is | -| -------------------------- | ----------------------------------------------------------------------------------------------------- | -| [`package/`](./package) | The [`@vlandoss/env`](./package) library — published to npm | -| [`docsite/`](./docsite) | The Fumadocs site behind [env.oss.variable.land](https://env.oss.variable.land), on Cloudflare Workers | -| [`examples/`](./examples) | 9 runtime-isolated demos (Node, Bun, Deno, Workers, Edge, Vite SPA, SSR) — each one is a real consumer of the published tarball | +| Path | What it is | +| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | +| [`package/`](./package) | The [`@vlandoss/env`](./package) library — published to npm | +| [`docsite/`](./docsite) | The Fumadocs site behind [env.oss.variable.land](https://env.oss.variable.land), on Cloudflare Workers | +| [`examples/`](./examples) | 9 runtime-isolated demos (Node, Bun, Deno, Workers, Edge, Vite SPA, SSR) — each one is a real consumer of the published tarball | ## Working on it @@ -53,4 +53,4 @@ Issues, ideas, and PRs welcome. Read [CONTRIBUTING.md](./docs/CONTRIBUTING.md) b ## License -[MIT](./LICENSE) © [Variableland](https://variable.land) +[MIT](./LICENSE) © [Variable Land](https://variable.land) diff --git a/docsite/src/components/landing/close.tsx b/docsite/src/components/landing/close.tsx index 9c7dc8c..596e9bb 100644 --- a/docsite/src/components/landing/close.tsx +++ b/docsite/src/components/landing/close.tsx @@ -71,7 +71,7 @@ export function Close() { · made at · - {LANDING_META.version} + + {LANDING_META.version} + · {LANDING_META.publishDate} diff --git a/docsite/src/components/landing/data.ts b/docsite/src/components/landing/data.ts index c3cdf94..bc31ee4 100644 --- a/docsite/src/components/landing/data.ts +++ b/docsite/src/components/landing/data.ts @@ -117,7 +117,9 @@ export const WHY_POINTS = [ export const LANDING_META = { version: "v0.2.0", + vlandUrl: "https://variable.land", githubUrl: "https://github.com/variableland/env", + npmUrl: "https://npmx.dev/package/@vlandoss/env", docsHref: "/docs", publishDate: "2026", } as const; diff --git a/docsite/src/components/landing/nav.tsx b/docsite/src/components/landing/nav.tsx index df8dd40..ef38918 100644 --- a/docsite/src/components/landing/nav.tsx +++ b/docsite/src/components/landing/nav.tsx @@ -21,9 +21,9 @@ export function LandingNav() { className=" relative z-10 flex items-center justify-between gap-3 border-b border-landing-border - px-16 py-[26px] - @max-[1100px]/dirA:px-10 @max-[1100px]/dirA:py-[22px] - @max-[760px]/dirA:px-7 @max-[760px]/dirA:py-[18px] + px-16 py-6.5 + @max-[1100px]/dirA:px-10 @max-[1100px]/dirA:py-5.5 + @max-[760px]/dirA:px-7 @max-[760px]/dirA:py-4.5 @max-[480px]/dirA:px-5 @max-[480px]/dirA:py-4 " > @@ -32,21 +32,21 @@ export function LandingNav() { @vlandoss/env - - {LANDING_META.version} - + + + {LANDING_META.version} + +