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

You shouldn't be able to run package info commands not in js/ts project #109

Open
vuki656 opened this issue Jan 1, 2022 · 3 comments
Open
Labels
🤝 Contributions Welcome Not on the roadmap but can be picked up by someone 💡 Feature New features
Projects
Milestone

Comments

@vuki656
Copy link
Owner

vuki656 commented Jan 1, 2022

If you run change_version in a lua project, it still opens the dialog.

Detection can probably be done by trying to find a package.json

@vuki656 vuki656 added 💡 Feature New features 🤝 Contributions Welcome Not on the roadmap but can be picked up by someone labels Jan 1, 2022
@vuki656 vuki656 added this to the 0.3 milestone Jan 1, 2022
@vuki656 vuki656 added this to 📋 To do in 📦 Core via automation Jan 1, 2022
@vuki656 vuki656 changed the title You shouldn't be able to run package info commands not i js/ts project You shouldn't be able to run package info commands not in js/ts project Jan 4, 2022
@danielo515
Copy link

What about only attaching the key maps when the uffer name is exactly package.json ? I think most if not all, commands does not make sense outside of it anyway

@vuki656
Copy link
Owner Author

vuki656 commented Jun 17, 2022

What about only attaching the key maps when the uffer name is exactly package.json ? I think most if not all, commands does not make sense outside of it anyway

True for some but not for all. For example sometimes when I'm working on a ts project in some random file, I run PackageInfoInstall to add a package and don't have to go to the terminal or package JSON to do it.

@danielo515
Copy link

danielo515 commented Jun 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤝 Contributions Welcome Not on the roadmap but can be picked up by someone 💡 Feature New features
Projects
📦 Core
  
📋 To do
Development

No branches or pull requests

2 participants