Skip to content

fix: Collapse bundler plugin exports to arkenvPlugin - #2015

Merged
yamcodes merged 2 commits into
v1from
cursor/collapse-plugin-exports-7f3c
Sep 25, 2026
Merged

yamcodes merged 2 commits into
v1from
cursor/collapse-plugin-exports-7f3c

Conversation

@yamcodes

Copy link
Copy Markdown
Owner

Fixes #2010

Vite, Rsbuild, and Bun plugins now export only arkenvPlugin (default and named), including their /standard entries. arkenvVitePlugin, arkenvRsbuildPlugin, arkenvBunPlugin, and hybrid are gone. Bun's callable-plus-plugin behavior stays on arkenvPlugin.

arkenv init scaffolds that name for Vite and Rsbuild. Guides, references, examples, and playgrounds match. Existing Rsbuild configs that already import the old name are left in place so init does not add a second plugin.

Changesets record a major break for the three plugin packages and a minor for the CLI scaffold output.

Open in Web Open in Cursor 

Remove the host-specific aliases and Bun's hybrid export so Vite, Rsbuild, and Bun plugins expose only arkenvPlugin. Init, docs, examples, and playgrounds now use that name.

Co-authored-by: Yam Borodetsky <[email protected]>
@yamcodes yamcodes added @arkenv/bun-plugin Issues or Pull Requests involving the Bun plugin for ArkEnv @arkenv/cli Issues or Pull Requests involving the ArkEnv CLI @arkenv/standard Issues or Pull Requests involving @arkenv/standard @arkenv/vite-plugin Issues or Pull Requests involving the Vite plugin for ArkEnv docs Adds or changes documentation, or acts as documentation in and of itself enhancement New feature or improvement example Issues or Pull Requests concerning at least one ArkEnv example. (Found in the `examples/` directory) www Improvements or additions to arkenv.js.org labels Sep 25, 2026 — with Cursor
@pkg-pr-new

pkg-pr-new Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@arkenv/agent-plugin

npm i https://pkg.pr.new/@arkenv/agent-plugin@2015

arkenv

npm i https://pkg.pr.new/arkenv@2015

@arkenv/build

npm i https://pkg.pr.new/@arkenv/build@2015

@arkenv/bun-plugin

npm i https://pkg.pr.new/@arkenv/bun-plugin@2015

@arkenv/core

npm i https://pkg.pr.new/@arkenv/core@2015

@arkenv/fumadocs-ui

npm i https://pkg.pr.new/@arkenv/fumadocs-ui@2015

@arkenv/nextjs

npm i https://pkg.pr.new/@arkenv/nextjs@2015

@arkenv/nuxt

npm i https://pkg.pr.new/@arkenv/nuxt@2015

@arkenv/rsbuild-plugin

npm i https://pkg.pr.new/@arkenv/rsbuild-plugin@2015

@arkenv/standard

npm i https://pkg.pr.new/@arkenv/standard@2015

@arkenv/tanstack-addon

npm i https://pkg.pr.new/@arkenv/tanstack-addon@2015

@arkenv/vite-plugin

npm i https://pkg.pr.new/@arkenv/vite-plugin@2015

commit: 20e10e8

@github-actions github-actions Bot added arkenv Changes to the `arkenv` npm package. tests This issue or PR is about adding, removing or changing tests playground Issues or Pull Requests concerning a playground. (Found in the `apps/playgrounds/` directory) and removed @arkenv/cli Issues or Pull Requests involving the ArkEnv CLI labels Sep 25, 2026

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — the collapse is complete and self-consistent. Two minor consistency notes below.

Reviewed changes

  • Plugin exports collapsed — @arkenv/vite-plugin, @arkenv/rsbuild-plugin, and @arkenv/bun-plugin (plus their /standard entries) now expose arkenvPlugin as the default and the only named export; arkenvVitePlugin, arkenvRsbuildPlugin, arkenvBunPlugin, and hybrid are removed.
  • Bun factory return simplified — createBunPlugin returns the callable plugin directly (still carrying name, target, and setup) instead of a { arkenvPlugin, hybrid } pair.
  • CLI scaffolding renamed — arkenv init injects arkenvPlugin for Vite (default import) and Rsbuild (named import); the Rsbuild path still recognizes the legacy alias so existing configs are left alone.
  • Docs, examples, playgrounds, and tests updated — references and the Bun skill snippet track the new name; tests now assert the exact export sets.

No stale live references to the removed identifiers remain: the leftover hits are changelogs, historical .changeset/pre/*, design docs, and tests that deliberately exercise legacy-config idempotency. Changeset bump levels (major for plugins, minor for the CLI) match the pre/rc convention.

ℹ️ TanStack CLI add-on still scaffolds the pre-collapse name

The add-on is the one generated-project surface that was not aligned. packages/tanstack-addon/.add-on/info.json:60 injects import arkenv from '@arkenv/vite-plugin' plus arkenv(), and that string is baked into the committed bundles apps/www/public/tanstack/info.json and add-on.json that @tanstack/cli serves. It still works because the default export is unchanged, so this is optional — but scaffolding a different local name than every other template this PR touched is a rough edge.

Technical details
# Align TanStack CLI add-on with `arkenvPlugin`

## Affected sites
- `packages/tanstack-addon/.add-on/info.json:60-61` — integration uses `import arkenv from '@arkenv/vite-plugin'` / `arkenv()`.
- `packages/tanstack-addon/tests/compile.test.ts:38-39` — asserts the same strings.
- `apps/www/public/tanstack/info.json:60`, `apps/www/public/tanstack/add-on.json:60` — committed compiled output compared byte-for-byte by `templates.test.ts`/`compile.test.ts`.

## Required outcome
- If uniformity is wanted: change the template to `import arkenvPlugin from '@arkenv/vite-plugin'` / `arkenvPlugin()` and regenerate the committed `apps/www/public/tanstack/**` bundles in the same PR, otherwise the drift test fails.
- If the add-on should stay as-is (default-import name is arbitrary), no change needed — leave a note so a future reader knows it is intentional.

## Open questions for the human
- Is the add-on intentionally independent of this standardization, or was it missed?

ℹ️ Agent-skill Vite example still names the default import arkenv

skills/arkenv/SKILL.md was updated for Bun (lines 228, 233) but the Vite example above it still imports the default as arkenv and calls arkenv(). That is valid code, yet the second Vite example in the same file already uses arkenvPlugin, so the file ships two conventions.

Technical details
# Standardize the agent-skill Vite snippet

## Affected sites
- `skills/arkenv/SKILL.md:188` — `import arkenv from "@arkenv/vite-plugin";`
- `skills/arkenv/SKILL.md:191` — `plugins: [arkenv()]`
- `skills/arkenv/SKILL.md:199-210` — the second Vite example already uses `import arkenvPlugin` / `arkenvPlugin()`.

## Required outcome
- The first Vite example should use `arkenvPlugin` for the default import so the skill matches the name `arkenv init` and the docs now scaffold.

Pullfrog  | Fix it ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

The TanStack CLI add-on and the agent skill Vite example now use the same arkenvPlugin name as init and the docs.

Co-authored-by: Yam Borodetsky <[email protected]>
@cursor

cursor Bot commented Sep 25, 2026

Copy link
Copy Markdown

Addressed both review notes in 20e10e8.

  • TanStack CLI add-on now scaffolds import arkenvPlugin from '@arkenv/vite-plugin' and arkenvPlugin(). The committed apps/www/public/tanstack bundles match, and the add-on tests pass.
  • The agent skill Vite example uses arkenvPlugin as well, matching the second Vite snippet and arkenv init.

@changeset-bot

changeset-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 20e10e8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@arkenv/bun-plugin Major
@arkenv/rsbuild-plugin Major
@arkenv/vite-plugin Major
arkenv Minor
@arkenv/tanstack-addon Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • TanStack CLI add-on aligned — packages/tanstack-addon/.add-on/info.json now scaffolds import arkenvPlugin from '@arkenv/vite-plugin' / arkenvPlugin(), and the committed apps/www/public/tanstack/{info,add-on}.json bundles were regenerated to match.
  • Add-on drift test updated — packages/tanstack-addon/tests/compile.test.ts now asserts the new integration strings, so the committed copies and compileAddon() stay in lockstep.
  • Agent-skill Vite example aligned — skills/arkenv/SKILL.md default-imports arkenvPlugin in the first Vite snippet, matching the second snippet and the Bun example.
  • Changeset added — patch for @arkenv/tanstack-addon; the add-on's export surface is unchanged, so patch is right.

Both notes from the prior review are resolved.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@yamcodes
yamcodes merged commit 7417dd7 into v1 Sep 25, 2026
21 checks passed
@yamcodes
yamcodes deleted the cursor/collapse-plugin-exports-7f3c branch September 25, 2026 19:05
@arkenv-bot arkenv-bot Bot mentioned this pull request Sep 25, 2026
yamcodes pushed a commit that referenced this pull request Sep 25, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to v1, this PR will
be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`v1` is currently in **pre mode** so this branch has prereleases rather
than normal releases. If you want to exit prereleases, run `changeset
pre exit` on `v1`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @arkenv/[email protected]

### Major Changes

- #### Remove the SharedSchema key extractors
_[`#2011`](#2011)
[`9483c3c`](9483c3c)
[@yamcodes](https://github.com/yamcodes)_

	
`extractSharedKeys` and `extractSharedBlock` are no longer exported from
`@arkenv/build`. `@arkenv/nextjs/config` and `@arkenv/nuxt` (including
`@arkenv/nuxt/standard/config`) no longer re-export `extractSharedKeys`.
Shared keys in a flat `arkenv()` call still come from `extractKeys` and
`classifyEnvKeys`.
	
**BREAKING CHANGE**: Those helpers scanned source for a `SharedSchema =
{ ... }` assignment. Classify a flat `arkenv()` call instead.
	
	```ts
	import { classifyEnvKeys } from "@arkenv/build";
	
	const { sharedKeys } = classifyEnvKeys(source, ["NEXT_PUBLIC_"]);
	```

### Patch Changes

- #### Reject runtime keys in the plugin option guard
_[`#2012`](#2012)
[`87f3743`](87f3743)
[@yamcodes](https://github.com/yamcodes)_

	
The shared transform-option guard now treats `env`, `coerce`,
`onUndeclaredKey`, `arrayFormat`, `emptyAsUndefined`, `debugSecrets`,
and `toJsonSchema` as unsupported plugin options. The build reads the
loaded environment.
## @arkenv/[email protected]

### Major Changes

- #### Export only `arkenvPlugin` from the Bun plugin
_[`#2015`](#2015)
[`7417dd7`](7417dd7)
[@yamcodes](https://github.com/yamcodes)_

	
`@arkenv/bun-plugin` and `@arkenv/bun-plugin/standard` now export
`arkenvPlugin` as the default and the only named export. The
`arkenvBunPlugin` and `hybrid` aliases have been removed. `arkenvPlugin`
is still both a factory and a plugin object with `name`, `target`, and
`setup`.
	
	```ts
	import arkenvPlugin from "@arkenv/bun-plugin";
	
	await Bun.build({
	  plugins: [arkenvPlugin],
	});
	```
	
**BREAKING CHANGE**: `arkenvBunPlugin` and `hybrid` are no longer
exported. Use `arkenvPlugin` instead.
- #### Reject runtime options on bundler plugins
_[`#2012`](#2012)
[`87f3743`](87f3743)
[@yamcodes](https://github.com/yamcodes)_

	
Vite, Bun, and Rsbuild plugins now accept only `schemaPath`,
`clientPrefix`, `logger`, and `logLevel`. The build validates the
environment loaded for that compile. Variables already set on
`process.env` win over env files.
	
	```ts
	import { arkenvPlugin } from "@arkenv/vite-plugin";
	
	export default {
	  plugins: [arkenvPlugin({ schemaPath: "src/env.ts" })],
	};
	```
	
Set `env`, `coerce`, `onUndeclaredKey`, `arrayFormat`,
`emptyAsUndefined`, `debugSecrets`, and `toJsonSchema` on `arkenv()` in
`env.ts`. The plugin rejects those keys.
	
	```ts
	import arkenv from "@arkenv/core";
	
	export const env = arkenv(
	  { PORT: "number" },
	  { coerce: true, onUndeclaredKey: "reject" },
	);
	```
	
**BREAKING CHANGE**: Plugin option types no longer include runtime
`arkenv()` fields, including `env`. Passing them now throws.
	
	```diff
	- arkenvPlugin({ env: { PORT: "3000" }, coerce: true })
	+ arkenvPlugin({ schemaPath: "src/env.ts" })
	```

### Patch Changes

<details><summary>Updated 3 dependencies</summary>

<small>


[`87f3743`](87f3743)
[`9483c3c`](9483c3c)
[`089ef43`](089ef43)

</small>

- `@arkenv/[email protected]`
- `@arkenv/[email protected]`
- `@arkenv/[email protected]`

</details>
## @arkenv/[email protected]

### Major Changes

- #### Remove the SharedSchema key extractors
_[`#2011`](#2011)
[`9483c3c`](9483c3c)
[@yamcodes](https://github.com/yamcodes)_

	
`extractSharedKeys` and `extractSharedBlock` are no longer exported from
`@arkenv/build`. `@arkenv/nextjs/config` and `@arkenv/nuxt` (including
`@arkenv/nuxt/standard/config`) no longer re-export `extractSharedKeys`.
Shared keys in a flat `arkenv()` call still come from `extractKeys` and
`classifyEnvKeys`.
	
**BREAKING CHANGE**: Those helpers scanned source for a `SharedSchema =
{ ... }` assignment. Classify a flat `arkenv()` call instead.
	
	```ts
	import { classifyEnvKeys } from "@arkenv/build";
	
	const { sharedKeys } = classifyEnvKeys(source, ["NEXT_PUBLIC_"]);
	```

### Patch Changes

<details><summary>Updated 3 dependencies</summary>

<small>


[`87f3743`](87f3743)
[`9483c3c`](9483c3c)
[`089ef43`](089ef43)

</small>

- `@arkenv/[email protected]`
- `@arkenv/[email protected]`
- `@arkenv/[email protected]`

</details>
## @arkenv/[email protected]

### Major Changes

- #### Remove the SharedSchema key extractors
_[`#2011`](#2011)
[`9483c3c`](9483c3c)
[@yamcodes](https://github.com/yamcodes)_

	
`extractSharedKeys` and `extractSharedBlock` are no longer exported from
`@arkenv/build`. `@arkenv/nextjs/config` and `@arkenv/nuxt` (including
`@arkenv/nuxt/standard/config`) no longer re-export `extractSharedKeys`.
Shared keys in a flat `arkenv()` call still come from `extractKeys` and
`classifyEnvKeys`.
	
**BREAKING CHANGE**: Those helpers scanned source for a `SharedSchema =
{ ... }` assignment. Classify a flat `arkenv()` call instead.
	
	```ts
	import { classifyEnvKeys } from "@arkenv/build";
	
	const { sharedKeys } = classifyEnvKeys(source, ["NEXT_PUBLIC_"]);
	```

### Patch Changes

<details><summary>Updated 3 dependencies</summary>

<small>


[`87f3743`](87f3743)
[`9483c3c`](9483c3c)
[`089ef43`](089ef43)

</small>

- `@arkenv/[email protected]`
- `@arkenv/[email protected]`
- `@arkenv/[email protected]`

</details>
## @arkenv/[email protected]

### Major Changes

- #### Export only `arkenvPlugin` from the Rsbuild plugin
_[`#2015`](#2015)
[`7417dd7`](7417dd7)
[@yamcodes](https://github.com/yamcodes)_

	
`@arkenv/rsbuild-plugin` and `@arkenv/rsbuild-plugin/standard` now
export `arkenvPlugin` as the default and the only named export. The
`arkenvRsbuildPlugin` alias has been removed.
	
	```ts
	import { arkenvPlugin } from "@arkenv/rsbuild-plugin";
	
	export default defineConfig({
	  plugins: [arkenvPlugin()],
	});
	```
	
**BREAKING CHANGE**: `arkenvRsbuildPlugin` is no longer exported. Import
`arkenvPlugin` instead.
- #### Reject runtime options on bundler plugins
_[`#2012`](#2012)
[`87f3743`](87f3743)
[@yamcodes](https://github.com/yamcodes)_

	
Vite, Bun, and Rsbuild plugins now accept only `schemaPath`,
`clientPrefix`, `logger`, and `logLevel`. The build validates the
environment loaded for that compile. Variables already set on
`process.env` win over env files.
	
	```ts
	import { arkenvPlugin } from "@arkenv/vite-plugin";
	
	export default {
	  plugins: [arkenvPlugin({ schemaPath: "src/env.ts" })],
	};
	```
	
Set `env`, `coerce`, `onUndeclaredKey`, `arrayFormat`,
`emptyAsUndefined`, `debugSecrets`, and `toJsonSchema` on `arkenv()` in
`env.ts`. The plugin rejects those keys.
	
	```ts
	import arkenv from "@arkenv/core";
	
	export const env = arkenv(
	  { PORT: "number" },
	  { coerce: true, onUndeclaredKey: "reject" },
	);
	```
	
**BREAKING CHANGE**: Plugin option types no longer include runtime
`arkenv()` fields, including `env`. Passing them now throws.
	
	```diff
	- arkenvPlugin({ env: { PORT: "3000" }, coerce: true })
	+ arkenvPlugin({ schemaPath: "src/env.ts" })
	```

### Patch Changes

<details><summary>Updated 3 dependencies</summary>

<small>


[`87f3743`](87f3743)
[`9483c3c`](9483c3c)
[`089ef43`](089ef43)

</small>

- `@arkenv/[email protected]`
- `@arkenv/[email protected]`
- `@arkenv/[email protected]`

</details>
## @arkenv/[email protected]

### Major Changes

- #### Export only `arkenvPlugin` from the Vite plugin
_[`#2015`](#2015)
[`7417dd7`](7417dd7)
[@yamcodes](https://github.com/yamcodes)_

	
`@arkenv/vite-plugin` and `@arkenv/vite-plugin/standard` now export
`arkenvPlugin` as the default and the only named export. The
`arkenvVitePlugin` alias has been removed.
	
	```ts
	import arkenvPlugin from "@arkenv/vite-plugin";
	
	export default defineConfig({
	  plugins: [arkenvPlugin()],
	});
	```
	
**BREAKING CHANGE**: `arkenvVitePlugin` is no longer exported. Import
`arkenvPlugin` instead.
- #### Reject runtime options on bundler plugins
_[`#2012`](#2012)
[`87f3743`](87f3743)
[@yamcodes](https://github.com/yamcodes)_

	
Vite, Bun, and Rsbuild plugins now accept only `schemaPath`,
`clientPrefix`, `logger`, and `logLevel`. The build validates the
environment loaded for that compile. Variables already set on
`process.env` win over env files.
	
	```ts
	import { arkenvPlugin } from "@arkenv/vite-plugin";
	
	export default {
	  plugins: [arkenvPlugin({ schemaPath: "src/env.ts" })],
	};
	```
	
Set `env`, `coerce`, `onUndeclaredKey`, `arrayFormat`,
`emptyAsUndefined`, `debugSecrets`, and `toJsonSchema` on `arkenv()` in
`env.ts`. The plugin rejects those keys.
	
	```ts
	import arkenv from "@arkenv/core";
	
	export const env = arkenv(
	  { PORT: "number" },
	  { coerce: true, onUndeclaredKey: "reject" },
	);
	```
	
**BREAKING CHANGE**: Plugin option types no longer include runtime
`arkenv()` fields, including `env`. Passing them now throws.
	
	```diff
	- arkenvPlugin({ env: { PORT: "3000" }, coerce: true })
	+ arkenvPlugin({ schemaPath: "src/env.ts" })
	```

### Patch Changes

<details><summary>Updated 3 dependencies</summary>

<small>


[`87f3743`](87f3743)
[`9483c3c`](9483c3c)
[`089ef43`](089ef43)

</small>

- `@arkenv/[email protected]`
- `@arkenv/[email protected]`
- `@arkenv/[email protected]`

</details>
## [email protected]

### Minor Changes

- #### Stop installing the agent skill during init
_[`#1984`](#1984)
[`2c1dd0f`](2c1dd0f)
[@yamcodes](https://github.com/yamcodes)_

	
`arkenv init` no longer prompts for or installs the ArkEnv agent skill,
including under `--yes`. When the skill is not already in the project,
the next-steps note still prints `npx skills add yamcodes/arkenv`.
`@arkenv/agent-plugin` already includes the skill.
- #### Scaffold `arkenvPlugin` in Vite and Rsbuild configs
_[`#2015`](#2015)
[`7417dd7`](7417dd7)
[@yamcodes](https://github.com/yamcodes)_

	
`arkenv init` now writes `arkenvPlugin` into new Vite and Rsbuild config
entries. Vite binds the default import as `arkenvPlugin`. Rsbuild
imports the named `arkenvPlugin`.
	
	```ts
	import arkenvPlugin from "@arkenv/vite-plugin";
	
	export default defineConfig({
	  plugins: [arkenvPlugin()],
	});
	```

### Patch Changes

- #### Scaffold Zod and Valibot init on standard mode
_[`#2020`](#2020)
[`a3815e6`](a3815e6)
[@yamcodes](https://github.com/yamcodes)_

	
`arkenv init` no longer installs `arktype` when you choose Zod or
Valibot. Next.js, Nuxt, Vite, Rsbuild, and Bun now scaffold the
`/standard` integration entry, and Next.js and Nuxt also install
`@arkenv/standard`.
	
	```ts
	import arkenv from "@arkenv/nuxt/standard";
	import * as z from "zod";
	
	export const env = arkenv({
	  DATABASE_URL: z.url(),
	});
	```
	
Re-running init replaces the other engine's entry. A Nuxt app that still
registers `@arkenv/nuxt/module` switches to
`@arkenv/nuxt/standard/module` when you choose Zod or Valibot, and the
same replacement applies to the Next.js, Vite, and Rsbuild imports.
Choosing ArkType switches those entries back.
	
ArkType init is unchanged: it still installs `arktype` and uses the
ArkType integration entry.
## @arkenv/[email protected]

### Patch Changes

- #### Parse audit sources with the TypeScript 7 sync API
_[`#1990`](#1990)
[`f3039bf`](f3039bf)
[@yamcodes](https://github.com/yamcodes)_

	
The agent plugin audit now parses source files through
`typescript/unstable/sync` instead of the classic TypeScript compiler
API.
- #### Point init refusals at nextActions
_[`#1977`](#1977)
[`dd2fa82`](dd2fa82)
[@yamcodes](https://github.com/yamcodes)_

	
Agent instructions now tell you to retry only when a refusal's
`nextActions` include a `run-command` with `--force`.
## @arkenv/[email protected]

### Patch Changes

- #### Restore keyword suggestions inside inline schemas
_[`#1975`](#1975)
[`089ef43`](089ef43)
[@yamcodes](https://github.com/yamcodes)_

	
A partial keyword in an inline schema string suggests ArkType keywords
again. `arkenv({ PORT: "n" })` offers `never`, `null`, and `number`. The
same suggestions are back on `arkenv` from `@arkenv/core/safe`.
	
	```ts
	import arkenv from "@arkenv/core";
	
	export const env = arkenv({
	  PORT: "number.port = 3000",
	});
	```
## @arkenv/[email protected]

### Patch Changes

- #### Scaffold `arkenvPlugin` in the TanStack add-on
_[`#2015`](#2015)
[`7417dd7`](7417dd7)
[@yamcodes](https://github.com/yamcodes)_

	
The TanStack CLI add-on now registers the Vite plugin as `arkenvPlugin`.
	
	```ts
	import arkenvPlugin from "@arkenv/vite-plugin";
	
	export default defineConfig({
	  plugins: [arkenvPlugin()],
	});
	```
- #### Point TanStack add-on dependencies at the current release
_[`#1978`](#1978)
[`888e6c2`](888e6c2)
[@yamcodes](https://github.com/yamcodes)_

	
Scaffolded TanStack Start apps now install `@arkenv/core`,
`@arkenv/standard`, and `@arkenv/vite-plugin` at `^1.0.0-rc.2`, which
matches the versions on npm `latest` and still accepts `1.0.0` when it
publishes.
	
	Usage:
	
	```bash
npx @tanstack/cli create my-app --add-ons
https://arkenv.js.org/tanstack/info.json
	```
## @arkenv/[email protected]

No changes in this release.

Co-authored-by: arkenv-bot[bot] <237618717+arkenv-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@arkenv/bun-plugin Issues or Pull Requests involving the Bun plugin for ArkEnv @arkenv/standard Issues or Pull Requests involving @arkenv/standard @arkenv/vite-plugin Issues or Pull Requests involving the Vite plugin for ArkEnv arkenv Changes to the `arkenv` npm package. docs Adds or changes documentation, or acts as documentation in and of itself enhancement New feature or improvement example Issues or Pull Requests concerning at least one ArkEnv example. (Found in the `examples/` directory) playground Issues or Pull Requests concerning a playground. (Found in the `apps/playgrounds/` directory) tests This issue or PR is about adding, removing or changing tests www Improvements or additions to arkenv.js.org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collapse bundler plugin exports to arkenvPlugin

2 participants