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
25 changes: 0 additions & 25 deletions .changeset/large-taxis-check.md

This file was deleted.

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

## 0.6.0

### Minor Changes

- #### Expose `type` function _[`#139`](https://github.com/yamcodes/arkenv/pull/139) [`721c014`](https://github.com/yamcodes/arkenv/commit/721c014679983d18a235cece0259fe6940269b07) [@yamcodes](https://github.com/yamcodes)_

ArkEnv now exposes a `type` function with built-in ArkEnv scope, providing access to environment-specific types like `string.host` and `number.port`.

```ts
import { type } from "arkenv";

const env = type({
NODE_ENV: "string",
HOST: "string.host",
PORT: "number.port",
});

const result = env.assert({
NODE_ENV: "development",
HOST: "localhost",
PORT: "3000",
});
```

This extends ArkType's `type` function with ArkEnv-specific validations for common environment variable patterns.

## 0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/arkenv/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "arkenv",
"type": "module",
"version": "0.5.0",
"version": "0.6.0",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
16 changes: 16 additions & 0 deletions packages/vite-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @arkenv/vite-plugin

## 0.0.9

### Patch Changes

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

<small>

[`721c014`](https://github.com/yamcodes/arkenv/commit/721c014679983d18a235cece0259fe6940269b07)

</small>

- `arkenv@0.6.0`

</details>

## 0.0.8

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