Skip to content

Sync devmain - #1222

Merged
yamcodes merged 23 commits into
mainfrom
dev
Jun 21, 2026
Merged

Sync devmain#1222
yamcodes merged 23 commits into
mainfrom
dev

Conversation

@arkenv-bot

@arkenv-bot arkenv-bot Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

This PR is automatically maintained by the Sync PR workflow.

It tracks all commits on dev that have not yet been merged into main, keeping the two branches in sync after every push to dev.

🌍 Preview the latest dev documentation: https://arkenv-dev.vercel.app

Note

This PR is opened and managed by arkenv-bot. It is skipped by Pullfrog and other bot-aware workflows.

yamcodes and others added 23 commits June 22, 2026 00:18
…rounds

mdxlint aggressively escapes bracket syntax like [step] to \[step].
The fix.js post-processing step already handled [! markers — this
extends it to also unescape [step] markers, eliminating the need for
<!-- prettier-ignore --> comments in every MDX file.
Replace @ts-expect-error (which suppresses errors) with @errors: 2339
(which renders the red squiggly underline in the Twoslash output).
This visually demonstrates that accessing DATABASE_URL on the client
env object is a compile-time TypeScript error.
Twoslash's virtual file system can't resolve path aliases like
~~/env/client and @/env/client, producing error 2307 alongside
the intended 2339. Both must be declared in // @errors.
Instead of listing 2307 in @errors (which renders the module-not-found
error visually), add declare module declarations for ~~/env/client and
@/env/client in the hidden setup section. This satisfies Twoslash's
virtual FS so only the intended 2339 error renders on DATABASE_URL.
The re-export pattern (export { env } from './env/client') inside
declare module caused a V8 crash in Twoslash's eval context.
Replaced with inline type declarations that give Twoslash a simple
type to validate against without cross-file resolution.
declare module triggers V8 segfaults in Twoslash's sandboxed compiler.
Revert to the stable approach: @Noerrors suppresses the unresolvable
path alias error, and @ts-expect-error annotates the intentional
type error with a descriptive comment.
@arkenv-bot arkenv-bot Bot added the maintenance Routine tasks, tooling, and syncs label Jun 21, 2026
@changeset-bot

changeset-bot Bot commented Jun 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2a84a45

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions github-actions Bot added docs Adds or changes documentation, or acts as documentation in and of itself www Improvements or additions to arkenv.js.org labels Jun 21, 2026
@yamcodes
yamcodes merged commit 2b41a07 into main Jun 21, 2026
22 checks passed
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 maintenance Routine tasks, tooling, and syncs www Improvements or additions to arkenv.js.org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant