Comments (5)
Support for minimatch-based globs added in #534. This will show up in the VS 16.5 preview releases (we'll release NuGet packages at the same time; packages supporting this feature will be versioned 2.1 or higher).
We look for any of *?[
to determine if a specified file is a pattern, as well as a leading !
for exclusions. **
can be used to match any level of folder, as in the bootstrap example above. Any file specified which does not match these new rules will behave exactly as it does today.
from librarymanager.
You definitely need wildcard support for referencing Bootstrap via libman, you don't want the whole package to be downloaded but only certain folders. E.g.,:
files: [ "scss/**/*.scss" ]
would be nice!
from librarymanager.
Update:
Found that omitting the files collection entirely defaults to all files. Though it'd be nice to be able to specify a folder's children explicitly using a wildcard.
As a continuation of my example above, the following example fails on the very first webp
file (specifically webp/account-login-2x.webp
) with this message in the Library Manager output window
webp/account-login-2x.webp could not be written to disk. Make sure the file name is correct
The webp files are in the desiredState.Files
collection, but the cache folder it's trying to copy from is missing the webp folder in it's entirety.
{
"version": "1.0",
"defaultProvider": "cdnjs",
"libraries": [
{
"library": "[email protected]",
"destination": "wwwroot/vendor/open-iconic"
},
]
}
from librarymanager.
I would love support for either wildcards or just specifying a directory as a file. Both supported cdn's support viewing directory contents so this should be possible.
from librarymanager.
how does this get attention, cuz i completely agree.
from librarymanager.
Related Issues (20)
- [Docs] Bundle, minify, etc. HOT 2
- LibMan CLI returns zero exit code even when there was an error
- [MSBuild Task] cannot restore a pattern HOT 1
- Libraries could not be resolved by the "cdnjs" provider HOT 73
- restoring packages from cdnjs is failing HOT 2
- Suggestion: Adding additional 3rd party CDN HOT 5
- Seeminlgly random LIB003 HOT 9
- Library Manager tool does not work on Visual Studio 2022 HOT 20
- Package Microsoft.Web.LibraryManager.Cli 2.1.175 is not compatible with net6.0 HOT 1
- Allow specifying destination per file HOT 7
- Lowering importance of informational messages from `RestoreTask`
- Add macOS Arm64 support to the CLI tool HOT 4
- libman does not allow defining the bootstrap package twice (without ignoring one of them).
- Restore operations happen in foreground in Class Library projects in Visual Studio
- libman: library could not be resolved by 'cdnjs' provider AGAIN HOT 8
- Switch to MIT license
- Consolidate Nuget feed
- version 2.1.175 doesn't support .Net 7.0.11 HOT 9
- Error during restore mentioning libman.config.json in use.
- "[email protected]" library could not be resolved HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librarymanager.