Skip to content

Fix init so Zod and Valibot use standard mode - #2020

Merged
yamcodes merged 3 commits into
v1from
cursor/init-standard-mode-b10e
Sep 25, 2026
Merged

yamcodes merged 3 commits into
v1from
cursor/init-standard-mode-b10e

Conversation

@yamcodes

@yamcodes yamcodes commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

arkenv init treated Next.js, Nuxt, Vite, Rsbuild, and Bun as ArkType projects even when you chose Zod or Valibot. It installed arktype and registered the ArkType plugin entry.

Zod and Valibot init now installs @arkenv/standard plus that validator, and scaffolds the /standard integration entry (@arkenv/nextjs/standard, @arkenv/nuxt/standard/module, @arkenv/vite-plugin/standard, and the Rsbuild and Bun equivalents). ArkType init is unchanged.

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. The same replacement applies to the Next.js, Vite, and Rsbuild imports. Choosing ArkType switches those entries back.

Test plan

  • does not install arktype for Zod or Valibot in the scaffold planner. It checks Next.js, Nuxt, Vite, Rsbuild, and Bun for both Zod and Valibot.
  • The same test against the previous planner fails on all 10 cases. Next.js + Zod planned ['zod', '@arkenv/nextjs', 'arktype']. Nuxt + Zod planned ['zod', '@arkenv/nuxt', 'arktype']. Vite, Rsbuild, and Bun with a serve feature did the same.
  • On this branch that test passes.
  • Re-init replaces the opposite Nuxt module, Vite import, Rsbuild import, and Next.js withArkEnv import, and leaves the same-engine config unchanged.
  • packages/arkenv tsc --noEmit passes. The planner cases use satisfies so bunFeatures is a mutable array.
  • Init a Next.js, Nuxt, Vite, or Rsbuild app with Zod and confirm package.json has @arkenv/standard and zod, and does not add arktype
Open in Web Open in Cursor 

arkenv init installed arktype and registered the ArkType plugin entry even when the selected validator was Zod or Valibot. Those setups now install @arkenv/standard and scaffold the /standard integration entry.

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

changeset-bot Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0704478

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

This PR includes changesets to release 1 package
Name Type
arkenv 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

@github-actions github-actions Bot added docs Adds or changes documentation, or acts as documentation in and of itself arkenv Changes to the `arkenv` npm package. tests This issue or PR is about adding, removing or changing tests labels Sep 25, 2026
@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@2020

arkenv

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

@arkenv/build

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

@arkenv/bun-plugin

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

@arkenv/core

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

@arkenv/fumadocs-ui

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

@arkenv/nextjs

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

@arkenv/nuxt

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

@arkenv/rsbuild-plugin

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

@arkenv/standard

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

@arkenv/tanstack-addon

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

@arkenv/vite-plugin

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

commit: 0704478

@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 — one minor observation inline about re-init engine migration.

Reviewed changes

  • Standard engine helper — new engine.ts centralizes usesStandardEngine / integrationEntry, so Zod and Valibot resolve to the /standard subpath everywhere.
  • Planner deps — requiresArktypePeer is removed from the strategy contract; ArkType installs @arkenv/core, Zod/Valibot install @arkenv/standard, and arktype is no longer force-added for Zod/Valibot.
  • Framework bootstrappers — each transform now writes the /standard import for Zod/Valibot while ArkType stays on the package root.
  • Executor wiring — passes { standard } to every workspace bootstrap method and threads the flag into the Next.js runCodegen call.
  • Templates — flat layout import path and Next.js next-steps note select the standard entry.
  • Tests — planner, executor, validators, next-steps, and bootstrapper specs pin the new specifiers and assert arktype / @arkenv/core are absent for Zod.

I verified the load-bearing contracts directly: the /standard entries exist in every integration package's exports, runCodegen takes the _forceStandard third parameter (packages/nextjs/src/config/codegen.ts:73), and @arkenv/standard does not peer arktype, so removing the forced install is safe.

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

The planner regression covers Next.js, Nuxt, Vite, Rsbuild, and Bun for both validators. The same assertion fails on the previous planner, which put arktype on every one of those install lists.

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

@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.

Important

The new regression test does not compile: as const makes each element's bunFeatures a readonly ["serve"], so nub run typecheck (tsc --noEmit) fails for packages/arkenv.

Reviewed changes

This incremental pass reviewed the one commit added since the prior pullfrog review (78b9427f):

  • Parametrized regression test — 8771464f adds does not install arktype for Zod or Valibot, asserting across Next.js, Nuxt, Vite, Rsbuild, and Bun for both Zod and Valibot that the planned install list never contains arktype. The intent and coverage are right; the array is annotated in a way that breaks typecheck (see inline).

The prior review's open observation about re-init engine migration is unchanged by this commit and remains open.

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

Re-running init with Zod or Valibot now switches Nuxt, Vite, Rsbuild, and Next.js off the ArkType specifier instead of treating either entry as already registered. The planner regression cases use satisfies so bunFeatures stays a mutable array under exactOptionalPropertyTypes.

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

@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

This incremental pass reviewed 07044786 (the commit added since the prior pullfrog review at 8771464f) plus the full PR diff end-to-end as context:

  • Re-init engine replacement — retargetImports rewrites an existing integration import to the selected engine (Vite default, Rsbuild named/aliased, Next.js withArkEnv), and transformNuxtConfig splices out the opposite module string before registering the wanted one. updated: false now only fires when the selected entry is genuinely already present.
  • Executor messaging — the "already registers …" notes now name the selected entry, consistent with the transform's updated result.
  • satisfies type fix — the planner regression cases array uses satisfies Pick<CollectedState["options"], "framework" | "validator" | "bunFeatures">[], so bunFeatures stays mutable; bunFeatures is optional on ProjectOptions, so the abbreviated cases compile.
  • Changeset — notes the re-init replacement behavior.

Both prior pullfrog threads are now addressed and retired. I confirmed the retarget mutation actually persists through magicast generateCode and re-ran the four transforms in a scratch harness across both directions (ArkType↔Standard), an aliased Rsbuild import, and Nuxt with other modules present — all pass, with idempotent no-ops returning updated: false.

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

@yamcodes
yamcodes merged commit a3815e6 into v1 Sep 25, 2026
19 checks passed
@yamcodes
yamcodes deleted the cursor/init-standard-mode-b10e branch September 25, 2026 20:47
@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 Changes to the `arkenv` npm package. docs Adds or changes documentation, or acts as documentation in and of itself tests This issue or PR is about adding, removing or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants