-
Notifications
You must be signed in to change notification settings - Fork 6
(v1) Internal vs. Published Packages Strategy for Build-time and Runtime Code #1202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yamcodes
merged 22 commits into
v1
from
1199-distribution-implement-standard-mode-packaging-strategy
Jun 23, 2026
Merged
Changes from 43 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
552a9a8
feat: add turborepo skill and ADRs 0007 & 0008 from analyze-zod-expor…
yamcodes 8defbe3
docs: remove ADR 8 (belongs to issue 1200)
yamcodes 1c6fc7f
docs: add ADR 0010 for runtime shared logic strategy
yamcodes 8e35d3c
docs: standardize product name as ArkEnv in ADR and CLI changelog
yamcodes 6d55945
docs: add ADR 0008 to document the migration from createEnv to arkenv…
yamcodes cc0b227
Please provide the list of changes or the files modified so I can gen…
yamcodes 45d9f4f
Merge branch 'v1' into 1199-distribution-implement-standard-mode-pack…
yamcodes ba951a2
Merge branch 'v1' into 1199-distribution-implement-standard-mode-pack…
yamcodes bca2fe0
feat: implement hybrid versioning by decoupling plugins and enforcing…
yamcodes 9f20282
feat: move arkenv to peer dependencies and update changeset documenta…
yamcodes 26663c3
docs: add README for @arkenv/build and clarify runtime strategy in AD…
yamcodes 036127b
docs: clarify independent versioning and fix package name references
yamcodes 185c89a
docs: add rule for future core/standard split in versioning strategy
yamcodes 641b4e2
docs(adr): document peer dependency rationale and CLI onboarding flow
yamcodes f8ef94b
docs(adr): resolve review feedback on independent versioning examples…
yamcodes d88cbe8
refactor: decouple plugins from core engine by replacing workspace pe…
yamcodes 0f5e61a
docs: add enterprise precedent for peer dependency strategy in ADR 0011
yamcodes 61340e1
Merge remote-tracking branch 'origin/dev' into 1199-distribution-impl…
yamcodes a970f14
Merge branch 'v1' into 1199-distribution-implement-standard-mode-pack…
yamcodes 7820207
docs: resolve changeset peerDependency range review comment and AutoT…
yamcodes a710669
Merge branch 'v1' into 1199-distribution-implement-standard-mode-pack…
yamcodes 57b30a5
refactor: rename nuxt internal file to arkenv-internal
yamcodes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| --- | ||
| "@arkenv/nextjs": major | ||
| "@arkenv/nuxt": major | ||
| "@arkenv/vite-plugin": major | ||
| "@arkenv/bun-plugin": major | ||
| --- | ||
|
|
||
| #### Move `arkenv` to peer dependencies in framework plugins | ||
|
|
||
| Framework plugins no longer declare `arkenv` as a regular dependency. `arkenv` is now declared as a `peerDependency` with a caret range (`^1.0.0-alpha.1`), ensuring a single shared instance across all plugins and the host application. | ||
|
pullfrog[bot] marked this conversation as resolved.
Outdated
|
||
|
|
||
| This change prevents duplicate instances of `arkenv` in `node_modules`, which could break ArkType structural typing and schema validation at runtime. | ||
|
|
||
| Plugins affected: | ||
|
|
||
| - `@arkenv/nextjs` | ||
| - `@arkenv/nuxt` | ||
| - `@arkenv/vite-plugin` | ||
| - `@arkenv/bun-plugin` | ||
|
|
||
| Before: | ||
|
|
||
| ```bash | ||
| npm install @arkenv/nextjs | ||
| ``` | ||
|
|
||
| After: | ||
|
|
||
| ```bash | ||
| npm install arkenv @arkenv/nextjs | ||
| ``` | ||
|
|
||
| **BREAKING CHANGE:** Users must now install `arkenv` alongside the plugin. Previously, `arkenv` was automatically pulled in as a regular dependency. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.