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

[dev-tool] Work around two minor issues #33250

Merged
merged 3 commits into from
Mar 3, 2025
Merged

Conversation

xirzec
Copy link
Member

@xirzec xirzec commented Feb 28, 2025

Packages impacted by this PR

dev-tool

Describe the problem that is addressed by this PR

One issue is VS Code using up a ton of memory and the TS language service crashing when viewing a .js file. This was fixed by adding a jsconfig.json file. I figured this out from this comment: microsoft/vscode#235547 (comment)

The other issue is I wanted to be able to run dev-tool from outside of a project folder when using admin commands (like listing all projects, checking migration progress, etc) but register.js always tries to load a local package.json and throws if you are in a folder without one so I put a simple check to see if the file exists.

@github-actions github-actions bot added the dev-tool Issues related to the Azure SDK for JS dev-tool label Feb 28, 2025
@mpodwysocki mpodwysocki merged commit fabbcb1 into Azure:main Mar 3, 2025
14 checks passed
@xirzec xirzec deleted the devToolTweaks branch March 3, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev-tool Issues related to the Azure SDK for JS dev-tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants