fix(create-robo): dependencies and cli - #476
Conversation
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"
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
create-discord-activity
create-robo
@robojs/server
@robojs/better-stack
@roboplay/plugin-confessions
@robojs/dev
@roboplay/plugin-gpt
@robojs/maintenance
@robojs/moderation
@roboplay/plugin-poll
@robojs/sync
robo.js
@roboplay/sage
@robojs/ai
@robojs/analytics
@robojs/auth
@robojs/cli
@robojs/code
@robojs/cron
@robojs/discordjs
@robojs/flashcore-extras
@robojs/giveaways
@robojs/i18n
@robojs/mock
@robojs/patch
@robojs/roadmap
@robojs/trpc
@robojs/xp
commit: |
To merge later.