Skip to content
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

Runtime Commands #79

Open
Mentors4EDU opened this issue Jul 26, 2023 · 3 comments
Open

Runtime Commands #79

Mentors4EDU opened this issue Jul 26, 2023 · 3 comments

Comments

@Mentors4EDU
Copy link

This runs with Turborepo.
Is there a recommended version?
Can you run this w/ NPM as well?

Docs were a bit vague on runtime/build requirements

@bernaferrari
Copy link
Owner

Yeah, they changed many times and I haven't had time to update the docs, sorry. :(

Turbo-repo is "less needed" (it is just a npm run all, sort of).

Yes, theoretically you can run with NPM, but you probably need to set-up workspaces first. Right now, the recommended way is pnpm.

Just pnpm i, and pnpm dev (which calls turbo dev). This will build a nextjs website with a debug UI and the plugin, if you want the plugin only, you can just cd to the plugin dir and pnpm dev from there.

After you install from pnpm, you can execute from npm, but I think you need to install the first time using pnpm.

@xiaoshude
Copy link

how to run the test in local dev

@bernaferrari
Copy link
Owner

The tests were disabled on the last version in favor of the debug UI, so pnpm i and pnpm dev gives everything you need

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

No branches or pull requests

3 participants