-
Notifications
You must be signed in to change notification settings - Fork 19
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
jquery plugin support #6
Comments
Yes, I think this is a great idea! I think glob will be a good fit for defining files with support for more. Maybe some rewrite is required though, for reading all files. |
If you want to maximize concurrency you could go with two nested calls to In pseudo-code the flow would look like this: async.parallel(_patterns.map(function (pattern)...
glob(pattern, function (files) ...
async.parallel(files.map(function (file)... |
I rewrote the inner workings of the module. It's now using streams internally and supports globs as patterns for supported files - adding a lot more power. Hope you like it! Please notify me if you find any troubles using it. |
Thanks Mikael, it worked beautifully. |
I've been using mversion with great pleasure. Unfortunately mversion does not work for projects which are registered as jquery plugins.
For a jquery plugin named
X
, the plugin file isX.jquery.json
.To support this, mversion should search for all files matching
*.jquery.json
in the current directory, and update their version numbers too (together withpackage.json
,bower.json
, etc)Adding wildcard support to mversion should be relatively straightforward by using the node_module
glob
. I could submit a pull-request implementing this feature if necessary/preferred.The text was updated successfully, but these errors were encountered: