Skip to content

Version Packages (alpha) - #1808

Merged
yamcodes merged 1 commit into
v1from
changeset-release/v1
Sep 5, 2026
Merged

Version Packages (alpha)#1808
yamcodes merged 1 commit into
v1from
changeset-release/v1

Conversation

@arkenv-bot

@arkenv-bot arkenv-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release 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/rsbuild-plugin@1.0.0-alpha.1

Minor Changes

  • Add @arkenv/rsbuild-plugin for Rsbuild and TanStack Start #1802 b13f263 @yamcodes

    The new @arkenv/rsbuild-plugin brings the same server/client env path as @arkenv/vite-plugin to Rsbuild projects, including TanStack Start apps built with Rsbuild:

    • Client rewrite: in web and web-worker environments, the env.ts module is replaced with a scrubbed client module — public/shared keys (default prefix PUBLIC_) are inlined as coerced literals and server-only keys become throwing getters, so secrets never reach the browser bundle.
    • Server passthrough: in node environments the real env.ts runs unchanged against the deployment environment.
    • Build-time validation: the schema is validated via @arkenv/build before each environment compiles; missing or invalid required variables fail the build before assets are emitted.
    • Dev reload: the schema and .env* files are registered as build dependencies, so edits re-validate and refresh inlined values during rsbuild dev.
    • Standard Schema: an @arkenv/rsbuild-plugin/standard entry mirrors the ArkType-free path of @arkenv/vite-plugin/standard.

    Usage:

     // rsbuild.config.ts
     import { defineConfig } from "@rsbuild/core";
     import { arkenvPlugin } from "@arkenv/rsbuild-plugin";
     
     export default defineConfig({
       plugins: [arkenvPlugin({ schemaPath: "src/env.ts" })],
     });

    Install with npm install @arkenv/rsbuild-plugin arktype.

@github-actions github-actions Bot added the docs Adds or changes documentation, or acts as documentation in and of itself label Sep 5, 2026
@pkg-pr-new

pkg-pr-new Bot commented Sep 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

@arkenv/agent-plugin

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

arkenv

npm i https://pkg.pr.new/yamcodes/arkenv@1808

@arkenv/build

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

@arkenv/bun-plugin

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

@arkenv/core

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

@arkenv/fumadocs-ui

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

@arkenv/nextjs

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

@arkenv/nuxt

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

@arkenv/rsbuild-plugin

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

@arkenv/standard

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

@arkenv/vite-plugin

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

commit: c4165eb

@yamcodes
yamcodes merged commit 2ad2b4d into v1 Sep 5, 2026
18 checks passed
@yamcodes
yamcodes deleted the changeset-release/v1 branch September 5, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Adds or changes documentation, or acts as documentation in and of itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant