Skip to content

Add create-arkenv package for pnpm create arkenv#1133

Open
pullfrog[bot] wants to merge 2 commits into
devfrom
pullfrog/1115-create-arkenv-proxy
Open

Add create-arkenv package for pnpm create arkenv#1133
pullfrog[bot] wants to merge 2 commits into
devfrom
pullfrog/1115-create-arkenv-proxy

Conversation

@pullfrog

@pullfrog pullfrog Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Closes #1115

This PR adds a new create-arkenv package that acts as a thin proxy for pnpm create arkenv (and equivalents for npm/yarn). When users run:

pnpm create arkenv

It forwards all arguments to @arkenv/cli init, so the full command becomes:

arkenv init <args>

What changed

  • New package: packages/create-arkenv/
    • package.json — published as create-arkenv on npm, with a create-arkenv bin
    • src/index.ts — resolves @arkenv/cli and spawns arkenv init with inherited stdio
    • src/smoke.test.ts — smoke tests verifying --help and argument forwarding
    • tsconfig.json, tsdown.config.ts, vitest.config.ts — standard build/test setup matching other packages
  • pnpm-lock.yaml — updated for the new workspace dependency

How it works

pnpm create arkenv [args]
  → create-arkenv [args]
  → node @arkenv/cli init [args]

The proxy uses require.resolve("@arkenv/cli") to find the CLI binary and spawnSync with stdio: "inherit" to preserve the interactive prompt experience.

Testing

  • pnpm vitest run in packages/create-arkenv/ passes (3/3 smoke tests)
  • pnpm vitest run in packages/cli/ passes (218/218 tests) — no regressions
  • pnpm run typecheck passes

Pullfrog  | View workflow run | via Pullfrog | Using Kimi K2𝕏

@pullfrog pullfrog Bot requested a review from yamcodes June 1, 2026 05:48
@changeset-bot

changeset-bot Bot commented Jun 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fd19be1

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 the tests This issue or PR is about adding, removing or changing tests label Jun 1, 2026
@pullfrog

pullfrog Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Pullfrog stalled

The agent stopped emitting events for 301s and was killed by the activity-timeout watchdog. 164 events were processed before the failure.

Recent agent stderr
INFO  2026-06-01T06:35:02 +24ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +28ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +39ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +11ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +25ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +26ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +27ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +29ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +26ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +27ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +27ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +26ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +28ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +27ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +28ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +28ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +28ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +32ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +56ms service=bus type=message.part.delta publishing
INFO  2026-06-01T06:35:02 +0ms service=bus type=message.part.delta publishing

Pullfrog  | Rerun failed job ➔View workflow run | via Pullfrog | Using Kimi K2𝕏

@pkg-pr-new

pkg-pr-new Bot commented Jun 1, 2026

Copy link
Copy Markdown

Open in StackBlitz

arkenv

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

@arkenv/bun-plugin

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

@arkenv/cli

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

create-arkenv

npm i https://pkg.pr.new/yamcodes/arkenv/create-arkenv@1133

@arkenv/fumadocs-ui

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

@arkenv/nextjs

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

@arkenv/vite-plugin

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

commit: fd19be1

@arkenv-bot

arkenv-bot Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Warning

Deployment cooldown active

@autofix-ci[bot] has triggered deployments too frequently. Please wait 19 minutes and 0 seconds before the next automated deployment.

⌛ How to resolve this issue?

After the wait time has elapsed, a deployment can be triggered by pushing new commits to this PR or by re-running the workflow.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

We enforce rate limits to ensure stability and fair usage of resources for all contributors.

@arkenv-bot

arkenv-bot Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

No results found

All size limits passed!

@yamcodes

yamcodes commented Jun 6, 2026

Copy link
Copy Markdown
Owner

still not sure we need this

@yamcodes yamcodes changed the base branch from main to dev June 6, 2026 06:36
@yamcodes yamcodes changed the title feat: add create-arkenv package for pnpm create arkenv Add create-arkenv package for pnpm create arkenv Jun 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests This issue or PR is about adding, removing or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

should we add a pnpm create arkenv proxy for pnpm @arkenv/cli init

1 participant