Skip to content

fix(create-robo): dependencies and cli - #476

Open
Asys-sh wants to merge 1 commit into
nextfrom
fix(create-robo)-dependency-issues
Open

fix(create-robo): dependencies and cli#476
Asys-sh wants to merge 1 commit into
nextfrom
fix(create-robo)-dependency-issues

Conversation

@Asys-sh

@Asys-sh Asys-sh commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

To merge later.

image

fix(create-robo): align ESLint deps and allow Robo prereleases

Pin generated ESLint dependencies to matching major 10 versions so npm
does not resolve @eslint/js@10 alongside eslint@9 and fail with ERESOLVE.

 ESLint 10 requires JITI to load the eslint config when using typescript, added that too (owo)

Relax @robojs/discordjs peer dependency on robo.js from ^0.11.0 to
>=0.11.0-0 <0.12.0 so prerelease builds like 0.11.0-next.1 satisfy the
peer range while still staying inside the 0.11 compatibility line.

The new robo CLI accepted and the create-robo tool were differing in terms of signature
so actually using npx create-robo@next was failing due to not decomposing the object properly  like :
````
.handler(async (args, options) => {})
````
vs
````
{
  args,
  options,
  logger,
  cwd,
  argv
}
````

since create-cli expected parameters to be laid out different it would make it crash saying "cannot destructure property of env as options as it is undefined"
@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 02fad88f-f34a-4d8b-a502-6a4dc1920496

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix(create-robo)-dependency-issues

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Jul 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

create-discord-activity

npm i https://pkg.pr.new/Wave-Play/robo.js/create-discord-activity@476

create-robo

npm i https://pkg.pr.new/Wave-Play/robo.js/create-robo@476

@robojs/server

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/server@476

@robojs/better-stack

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/better-stack@476

@roboplay/plugin-confessions

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/plugin-confessions@476

@robojs/dev

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/dev@476

@roboplay/plugin-gpt

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/plugin-gpt@476

@robojs/maintenance

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/maintenance@476

@robojs/moderation

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/moderation@476

@roboplay/plugin-poll

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/plugin-poll@476

@robojs/sync

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/sync@476

robo.js

npm i https://pkg.pr.new/Wave-Play/robo.js@476

@roboplay/sage

npm i https://pkg.pr.new/Wave-Play/robo.js/@roboplay/sage@476

@robojs/ai

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/ai@476

@robojs/analytics

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/analytics@476

@robojs/auth

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/auth@476

@robojs/cli

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/cli@476

@robojs/code

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/code@476

@robojs/cron

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/cron@476

@robojs/discordjs

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/discordjs@476

@robojs/flashcore-extras

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/flashcore-extras@476

@robojs/giveaways

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/giveaways@476

@robojs/i18n

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/i18n@476

@robojs/mock

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/mock@476

@robojs/patch

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/patch@476

@robojs/roadmap

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/roadmap@476

@robojs/trpc

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/trpc@476

@robojs/xp

npm i https://pkg.pr.new/Wave-Play/robo.js/@robojs/xp@476

commit: 1e13d17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant