Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/fix-homepage-url.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@vlandoss/env": patch
---

- Fix `homepage` URL in `package.json` after flattening the monorepo (`packages/env` → `package`).
- Add `keywords` to `package.json` for npm discoverability.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

🌱 Contract-first environment configuration with typed schemas and per-runtime entrypoints.

> Monorepo home for [`@vlandoss/env`](./packages/env) and its examples.
> Monorepo home for [`@vlandoss/env`](./package) and its examples.

## Packages

| Name | Description | Documentation |
| ----------------- | ------------------------------------------------------------------------------------------ | ------------------------------- |
| `@vlandoss/env` | 🌱 Contract-first environment configuration with typed schemas and per-runtime entrypoints | [env](./packages/env/README.md) |
```bash
pnpm add @vlandoss/env
```

## Development

Expand All @@ -31,10 +29,9 @@ pnpm test

This monorepo uses [Turborepo](https://turbo.build/repo/docs):

- `pnpm build` — build all packages
- `pnpm test` — run unit tests
- `pnpm test:e2e` — run end-to-end tests (Playwright)
- `pnpm test:types` — typecheck all packages
- `pnpm test:types` — js & ts checks

It also uses [run-run](https://github.com/variableland/dx/blob/main/packages/run-run/README.md) 🦊:

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `@vlandoss/env` examples

Real-world usage examples for [`@vlandoss/env`](../packages/env). Each example is a standalone workspace package with end-to-end tests (Playwright) that exercise real `env` failure modes — missing required vars, wrong types, per-mode config isolation, SSR↔client hydration drift.
Real-world usage examples for [`@vlandoss/env`](../package). Each example is a standalone workspace package with end-to-end tests (Playwright) that exercise real `env` failure modes — missing required vars, wrong types, per-mode config isolation, SSR↔client hydration drift.

| Example | Entry of `env` exercised | Stack |
|---|---|---|
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@changesets/changelog-github": "0.5.2",
"@changesets/cli": "2.29.8",
"@playwright/test": "1.59.1",
"@vlandoss/config": "latest",
"@vlandoss/run-run": "latest",
"@vlandoss/config": "0.2.0",
"@vlandoss/run-run": "0.5.3",
"lefthook": "2.1.1",
"playwright": "1.59.1",
"turbo": "2.8.12",
Expand Down
File renamed without changes.
File renamed without changes.
12 changes: 11 additions & 1 deletion packages/env/package.json → package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@vlandoss/env",
"version": "0.1.0",
"description": "A simple helper to define environment-based configuration",
"homepage": "https://github.com/variableland/env/tree/main/packages/env#readme",
"homepage": "https://github.com/variableland/env/tree/main/package#readme",
"bugs": {
"url": "https://github.com/variableland/env/issues"
},
Expand All @@ -13,6 +13,16 @@
"license": "MIT",
"author": "rcrd <rcrd@variable.land>",
"type": "module",
"keywords": [
"env",
"environment",
"config",
"configuration",
"typed",
"standard-schema",
"zod",
"vite"
],
"exports": {
".": "./src/lib/index.ts",
"./node": "./src/node.ts",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading