LibraryManager icon indicating copy to clipboard operation
LibraryManager copied to clipboard

Configure libman to not include restored files in the project

Open spongessuck opened this issue 6 years ago • 2 comments

Feature request

I'd like to be able to configure libman to not add restored files to the target project, either at a global or per-library level.

Functional impact

I have a library project with some shared JS compiled from TS files that I've added to a web project using the filesystem provider. When restored, all of the library files are added to the project, but I just want the JS files and not the TS definition files (.d.ts). I can manually exclude the definition files from the project, but when restored again, all the files are back in the project. I want the definition files to be restored, just not added to the project.

spongessuck avatar Aug 24 '18 15:08 spongessuck

Seconded. I want to only include the dist folder in my project so I have lib//dist/** included in my csproj, however on every library change and every time one of my coworkers pulls an updated libman.json every single file in all referenced packages is added to the csproj and my explicit lib//dist/** is removed.

rouke-broersma avatar May 15 '19 06:05 rouke-broersma

Thirded, I don't want to include all the third party libraries in my source, just my gulped and minified version of them.

dove avatar Sep 26 '19 13:09 dove