sketchbuch / vsc-packages Goto Github PK
View Code? Open in Web Editor NEWA VSC extension to list packages from package.json and search for and install packages.
License: MIT License
A VSC extension to list packages from package.json and search for and install packages.
License: MIT License
Support for yarn workspaces
On save now updates the sidebar, but updates made programatically don't trigger this. Also watching would cover creation/deletion of the file.
Either:
It doesn't seem that a tree view search is possible (see: microsoft/vscode#50062)
Bug
vsc-packages
1.5.1
Windows_NT x64 6.0.6002
1.49.0
Not working with VS Code Insiders.
Currently commands added by vsc-packages are callable, but arguments are required. Either find out how to stop them being called directly or handle missing arguments
Currently it is ""workspaceContains:./package.json""
If there is no root package.json, sub folders should still be checked.
export class FolderList implements vscode.TreeDataProvider<FolderListItem> {
// ...
constructor(
private workspaceFolders: vscode.WorkspaceFolder[] | undefined,
private context: vscode.ExtensionContext
) {
vscode.workspace.onDidChangeWorkspaceFolders(() => {
this.refresh(vscode.workspace.workspaceFolders);
});
}
//...
}
Try and use Parcel
Current system using string literals could be replaced with a proper templating system, espcially as search may also require a webview
Also make sure JS listeners are cleaned up
The current one is not very professional
See timeago.js detail page as an example
Like in dependencies and optionalDependencies, or maybe just twice in the same json file
There are projects, where package.json is not in the root of the workspace. This is fully supported by VS Code core functions, so I guess it would be easy to follow the same path and implement it for this extension too.
Dependabot was set up to create pull requests against the branch develop
, but couldn't find it.
If the branch has been permanently deleted you can update Dependabot's target branch in the .dependabot/config.yml
file in this repo.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.