-
Notifications
You must be signed in to change notification settings - Fork 6
(v1) Strict layout for Vite/Bun via ADR 0013 import blocking #1330
Copy link
Copy link
Open
Labels
@arkenv/bun-pluginIssues or Pull Requests involving the Bun plugin for ArkEnvIssues or Pull Requests involving the Bun plugin for ArkEnv@arkenv/vite-pluginIssues or Pull Requests involving the Vite plugin for ArkEnvIssues or Pull Requests involving the Vite plugin for ArkEnvblockedWork cannot proceed; waiting on something elseWork cannot proceed; waiting on something elseenhancementNew feature or improvementNew feature or improvementready for agentFully specified, ready for immediate implementationFully specified, ready for immediate implementation
Milestone
Description
Metadata
Metadata
Assignees
Labels
@arkenv/bun-pluginIssues or Pull Requests involving the Bun plugin for ArkEnvIssues or Pull Requests involving the Bun plugin for ArkEnv@arkenv/vite-pluginIssues or Pull Requests involving the Vite plugin for ArkEnvIssues or Pull Requests involving the Vite plugin for ArkEnvblockedWork cannot proceed; waiting on something elseWork cannot proceed; waiting on something elseenhancementNew feature or improvementNew feature or improvementready for agentFully specified, ready for immediate implementationFully specified, ready for immediate implementation
Summary
Bring the strict layout (
env/client.ts,env/server.ts) to Vite and Bun with compile-time import blocking, reusing the ADR 0013 mechanism.Scope
@arkenv/nuxt) — generalize it so client-graph imports of/serverschema files fail the build with a descriptive error.onResolvehooks forBun.buildclient targets.@arkenv/build(resolveLayout, per ADR 0009 / (v1) Consolidate Vite/Bun plugin plumbing into @arkenv/build #1331).Acceptance criteria
env/server(or any/serverschema file) from client-graph code fails the Vite build and theBun.buildclient target with a descriptive error.env/servernormally with boot-time validation.Landing
v1 branch only — see ADR 0015 landing strategy. Depends on #1328 / #1329. Part of #1105 (ADR: #1326).