tutorialkit
tutorialkit copied to clipboard
CLI eject command fails in workspace
Describe the bug
Running tutorialkit eject fails to resolve the @tutoriakit/astro package in a workspace
ERROR ~/withastro-astro-ru7fip/packages/tutorial/node_modules/@tutorialkit/astro does not exists!
Link to a StackBlitz project which shows the error
https://stackblitz.com/edit/withastro-astro-ru7fip
Steps to reproduce
- cd into ./packages/tutorial/
- npx tutorialkit eject
Expected behavior
Package is ejected into the workspace package
Screenshots
No response
Platform
- TutorialKit version: 0.1.2
- OS: Linux
- Browser: NA
- Version: NA
Additional context
Related to #235 but at different location:
https://github.com/stackblitz/tutorialkit/blob/745be37ef20ae97d6ded221fca24670742981879/packages/cli/src/commands/eject/index.ts#L152