-
-
Notifications
You must be signed in to change notification settings - Fork 51
chore: remove unused packages #829
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
base: main
Are you sure you want to change the base?
chore: remove unused packages #829
Conversation
🦋 Changeset detectedLatest commit: c38bd74 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
4bf110c
to
c38bd74
Compare
(On my phone now) But as far as I recall the sirv-cli is used for starting the server in from the CLI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, can you please check my comment?
@@ -31,7 +31,6 @@ | |||
"dependencies": { | |||
"@inquirer/prompts": "^7.3.2", | |||
"ora": "^8.2.0", | |||
"sirv-cli": "^3.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's used here, not sure if you have a better way to do this, but for now I believe this packages still needs to be in the deps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npx
should install the package, but I will investigate it a bit further.
In theory npx my-package
should download the my-package
and also its dependency.
In the code you linked we are calling npx sirv
which is for sirv
package, but it does not have sirv-cli
as a dependency (here).
So it should not have any impact, but I will double check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I remember sirv is the command and npx is also used to run the server if it's already installed
fs-extra
andsirv-cli
seems to be unused dependencies that we can remove