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
35 changes: 0 additions & 35 deletions .changeset/vast-bananas-win.md

This file was deleted.

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

## 0.5.0

### Minor Changes

- #### Export `createEnv` as the default export _[`#136`](https://github.com/yamcodes/arkenv/pull/136) [`2b06c4c`](https://github.com/yamcodes/arkenv/commit/2b06c4c09f3be7192dbd0e23a1bc78506a4d7293) [@yamcodes](https://github.com/yamcodes)_

You can now import `createEnv` as the default export:

```ts
import arkenv from "arkenv";
```

This enables syntax highlighting along with the [ArkType VS Code extension](https://marketplace.visualstudio.com/items?itemName=arktypeio.arkdark):

![ArkType syntax highlighting in VS Code](https://raw.githubusercontent.com/yamcodes/arkenv/main/assets/dx.png)

Note that named imports still work:

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

**BREAKING CHANGE:** The default export now directly exports `createEnv` instead of an object containing all exports. If you previously used:

```ts
import arkenv from "arkenv";
const env = arkenv.createEnv({ ... });
```

Update to:

```ts
import arkenv from "arkenv";
const env = arkenv({ ... });
```

## 0.4.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.4.0",
"version": "0.5.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.8

### Patch Changes

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

<small>

[`2b06c4c`](https://github.com/yamcodes/arkenv/commit/2b06c4c09f3be7192dbd0e23a1bc78506a4d7293)

</small>

- `arkenv@0.5.0`

</details>

## 0.0.7

### 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.7",
"version": "0.0.8",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down