jacobparis-insiders / sly

Monorepo for Sly CLI
https://sly-cli.fly.dev/
153 stars 11 forks source link

fix: allow sly to work from non project root #54

Closed jacobparis closed 1 month ago

jacobparis commented 1 month ago

Sly would fail to install components if you tried to use it outside of the project root, such as in a subdirectory.

Now it accepts a --cwd ../../ arg, or if you leave that out, it'll search for the nearest package.json

This also removes the annoying warning about --experimental-loader being deprecated