-
Notifications
You must be signed in to change notification settings - Fork 6
(v1) Guard that integration /standard entries never pull arktype #1439
Copy link
Copy link
Closed
Labels
@arkenv/bun-pluginIssues or Pull Requests involving the Bun plugin for ArkEnvIssues or Pull Requests involving the Bun plugin for ArkEnv@arkenv/nextjsIssues or Pull Requests involving the Next.js integration for ArkEnvIssues or Pull Requests involving the Next.js integration for ArkEnv@arkenv/nuxtIssues or Pull Requests involving the Nuxt integration for ArkEnvIssues or Pull Requests involving the Nuxt integration for ArkEnv@arkenv/vite-pluginIssues or Pull Requests involving the Vite plugin for ArkEnvIssues or Pull Requests involving the Vite plugin for ArkEnvenhancementNew feature or improvementNew feature or improvementready for agentFully specified, ready for immediate implementationFully specified, ready for immediate implementationtestsThis issue or PR is about adding, removing or changing testsThis issue or PR is about adding, removing or changing tests
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/nextjsIssues or Pull Requests involving the Next.js integration for ArkEnvIssues or Pull Requests involving the Next.js integration for ArkEnv@arkenv/nuxtIssues or Pull Requests involving the Nuxt integration for ArkEnvIssues or Pull Requests involving the Nuxt integration for ArkEnv@arkenv/vite-pluginIssues or Pull Requests involving the Vite plugin for ArkEnvIssues or Pull Requests involving the Vite plugin for ArkEnvenhancementNew feature or improvementNew feature or improvementready for agentFully specified, ready for immediate implementationFully specified, ready for immediate implementationtestsThis issue or PR is about adding, removing or changing testsThis issue or PR is about adding, removing or changing tests
Natural continuation of #1199 (Standard Mode packaging). Spun out while closing #1436.
Agent Brief
Category: enhancement
Summary: Add install/bundle isolation checks so each integration's
/standardentry never imports or bundlesarktype(or@arkenv/core).Current behavior:
@arkenv/standardand the framework/standardsubpaths are designed to be ArkType-free (ADR 0007). Core already has isolation coverage for the standard engine entry. Integrations expose/standard(and Next/Nuxt nested/standard/*) but there is no automated guard that those published entries stay free ofarktype/@arkenv/core.Desired behavior:
CI (or package tests) fails if any published
/standardentry for Vite, Bun, Next.js, or Nuxt pulls inarktypeor@arkenv/core— via static import graph and/or built dist inspection, matching the spirit of existing core isolation tests.Key interfaces:
exportsmaps for@arkenv/vite-plugin,@arkenv/bun-plugin,@arkenv/nextjs,@arkenv/nuxt— every path under/standard(including nested./standard/*)@arkenv/standard/@arkenv/core(reuse the same approach where possible)Acceptance criteria:
/standard(and nested/standard/*) export for vite-plugin, bun-plugin, nextjs, and nuxt is covered by an isolation checkarktypeor@arkenv/coreOut of scope:
ImportMetaEnvAugmented/ProcessEnvAugmentedStandard Mode typing ((v1) Adopt the env object as the canonical surface for Vite/Bun (transform design) #1105)