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
16 changes: 0 additions & 16 deletions .changeset/align-dev-missing-schema-init.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/optional-strict-shared.md

This file was deleted.

27 changes: 27 additions & 0 deletions packages/build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @arkenv/build

## 0.0.3

### Patch Changes

- #### Make missing-schema errors short and actionable across hosts _[`#1490`](https://github.com/yamcodes/arkenv/pull/1490) [`9de492a`](https://github.com/yamcodes/arkenv/commit/9de492a24ba777f766b02805fa4e2a107ca0b0c1) [@yamcodes](https://github.com/yamcodes)_

When Bun, Next, or Nuxt cannot find an env schema, throw a consistent message that names the expected path / `schemaPath` and points to `npx @arkenv/cli@latest init`, without embedding a starter `env.ts` module.

Example:

```text
[ArkEnv] Could not find schema file at src/env.ts or env.ts. Please specify 'schemaPath' in ArkEnv options (or run `npx @arkenv/cli@latest init`).
```

- #### Make `env/internal/shared.ts` optional in strict layout _[`#1503`](https://github.com/yamcodes/arkenv/pull/1503) [`0b17e32`](https://github.com/yamcodes/arkenv/commit/0b17e320295606ec9c673c63cb72164de7a0e5c5) [@yamcodes](https://github.com/yamcodes)_

Strict layout now works with just `client.ts` and `server.ts`. Omit `internal/shared.ts` when you have nothing to share — shared keys are treated as empty.

```ts
// env/client.ts + env/server.ts alone is enough
export default withArkEnv(nextConfig, {
layout: "strict",
});
```

The CLI still scaffolds `shared.ts` by default for convenience.

## 0.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkenv/build",
"version": "0.0.2",
"version": "0.0.3",
"description": "Shared build and codegen utilities for ArkEnv framework plugins",
"type": "module",
"main": "./dist/index.cjs",
Expand Down
26 changes: 26 additions & 0 deletions packages/bun-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @arkenv/bun-plugin

## 0.1.13

### Patch Changes

- #### Make missing-schema errors short and actionable across hosts _[`#1490`](https://github.com/yamcodes/arkenv/pull/1490) [`9de492a`](https://github.com/yamcodes/arkenv/commit/9de492a24ba777f766b02805fa4e2a107ca0b0c1) [@yamcodes](https://github.com/yamcodes)_

When Bun, Next, or Nuxt cannot find an env schema, throw a consistent message that names the expected path / `schemaPath` and points to `npx @arkenv/cli@latest init`, without embedding a starter `env.ts` module.

Example:

```text
[ArkEnv] Could not find schema file at src/env.ts or env.ts. Please specify 'schemaPath' in ArkEnv options (or run `npx @arkenv/cli@latest init`).
```

<details><summary>Updated 1 dependency</summary>

<small>

[`9de492a`](https://github.com/yamcodes/arkenv/commit/9de492a24ba777f766b02805fa4e2a107ca0b0c1) [`0b17e32`](https://github.com/yamcodes/arkenv/commit/0b17e320295606ec9c673c63cb72164de7a0e5c5)

</small>

- `@arkenv/build@0.0.3`

</details>

## 0.1.12

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bun-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkenv/bun-plugin",
"version": "0.1.12",
"version": "0.1.13",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down
39 changes: 39 additions & 0 deletions packages/nextjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# @arkenv/nextjs

## 0.1.5

### Patch Changes

- #### Make missing-schema errors short and actionable across hosts _[`#1490`](https://github.com/yamcodes/arkenv/pull/1490) [`9de492a`](https://github.com/yamcodes/arkenv/commit/9de492a24ba777f766b02805fa4e2a107ca0b0c1) [@yamcodes](https://github.com/yamcodes)_

When Bun, Next, or Nuxt cannot find an env schema, throw a consistent message that names the expected path / `schemaPath` and points to `npx @arkenv/cli@latest init`, without embedding a starter `env.ts` module.

Example:

```text
[ArkEnv] Could not find schema file at src/env.ts or env.ts. Please specify 'schemaPath' in ArkEnv options (or run `npx @arkenv/cli@latest init`).
```

- #### Make `env/internal/shared.ts` optional in strict layout _[`#1503`](https://github.com/yamcodes/arkenv/pull/1503) [`0b17e32`](https://github.com/yamcodes/arkenv/commit/0b17e320295606ec9c673c63cb72164de7a0e5c5) [@yamcodes](https://github.com/yamcodes)_

Strict layout now works with just `client.ts` and `server.ts`. Omit `internal/shared.ts` when you have nothing to share — shared keys are treated as empty.

```ts
// env/client.ts + env/server.ts alone is enough
export default withArkEnv(nextConfig, {
layout: "strict",
});
```

The CLI still scaffolds `shared.ts` by default for convenience.

<details><summary>Updated 1 dependency</summary>

<small>

[`9de492a`](https://github.com/yamcodes/arkenv/commit/9de492a24ba777f766b02805fa4e2a107ca0b0c1) [`0b17e32`](https://github.com/yamcodes/arkenv/commit/0b17e320295606ec9c673c63cb72164de7a0e5c5)

</small>

- `@arkenv/build@0.0.3`

</details>

## 0.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkenv/nextjs",
"version": "0.1.4",
"version": "0.1.5",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down
39 changes: 39 additions & 0 deletions packages/nuxt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# @arkenv/nuxt

## 0.1.1

### Patch Changes

- #### Make missing-schema errors short and actionable across hosts _[`#1490`](https://github.com/yamcodes/arkenv/pull/1490) [`9de492a`](https://github.com/yamcodes/arkenv/commit/9de492a24ba777f766b02805fa4e2a107ca0b0c1) [@yamcodes](https://github.com/yamcodes)_

When Bun, Next, or Nuxt cannot find an env schema, throw a consistent message that names the expected path / `schemaPath` and points to `npx @arkenv/cli@latest init`, without embedding a starter `env.ts` module.

Example:

```text
[ArkEnv] Could not find schema file at src/env.ts or env.ts. Please specify 'schemaPath' in ArkEnv options (or run `npx @arkenv/cli@latest init`).
```

- #### Make `env/internal/shared.ts` optional in strict layout _[`#1503`](https://github.com/yamcodes/arkenv/pull/1503) [`0b17e32`](https://github.com/yamcodes/arkenv/commit/0b17e320295606ec9c673c63cb72164de7a0e5c5) [@yamcodes](https://github.com/yamcodes)_

Strict layout now works with just `client.ts` and `server.ts`. Omit `internal/shared.ts` when you have nothing to share — shared keys are treated as empty.

```ts
// env/client.ts + env/server.ts alone is enough
export default withArkEnv(nextConfig, {
layout: "strict",
});
```

The CLI still scaffolds `shared.ts` by default for convenience.

<details><summary>Updated 1 dependency</summary>

<small>

[`9de492a`](https://github.com/yamcodes/arkenv/commit/9de492a24ba777f766b02805fa4e2a107ca0b0c1) [`0b17e32`](https://github.com/yamcodes/arkenv/commit/0b17e320295606ec9c673c63cb72164de7a0e5c5)

</small>

- `@arkenv/build@0.0.3`

</details>

## 0.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkenv/nuxt",
"version": "0.1.0",
"version": "0.1.1",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down
Loading