-
๐ญ Iโm currently working on Inquirer
-
๐ซ How to reach me [email protected]
sboudrias / file-utils Goto Github PK
View Code? Open in Web Editor NEWGrunt.file utility fork to add some goodness
License: MIT License
Grunt.file utility fork to add some goodness
License: MIT License
๐ญ Iโm currently working on Inquirer
๐ซ How to reach me [email protected]
Please update lodash to v3 to fix this npm install warning:
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^3.0.0.
Please update to latest minimatch to avoid install warning
Hi there,
I'm having some issues with the current version of isBinaryFile that you're using. The russian text file has some characters my build server is having trouble parsing. It appears that 2.0.4 has addressed this by renaming to "russian_text_file.rst".
I'll be happy to make the PR.
This bug can be reproduced with a Yeoman Generator like this minimalistic one:
var util = require('util');
var yeoman = require('yeoman-generator');
var Generator = module.exports = function (args, options) {
yeoman.generators.Base.apply(this, arguments);
};
util.inherits(Generator, yeoman.generators.Base);
Generator.prototype.copyFiles = function () {
var cb = this.async();
this.src.copy("foobar.sh", "other-foobar1.sh");
cb();
};
with chmod +x foobar.sh
before launching the generator
You should then notice that other-foobar1.sh
hasn't the exec flag
The globbing stuff in Grunt.file been extracted to node-globule. This is a place where we should sync API for base paths.
We should add a function to copy directories.
also, we'd need a way to "bulk copy" without exploding with too much recursion.
Related module seems pretty promising: https://npmjs.org/package/ncp
This is used a lot in Yeoman, and as long as we don't have it it makes it hard for people to upgrade.
isBinaryFile renamed a Russian-named file to prevent some Jenkins-CI issues. this fix should be in isBinaryFile 2.0.1. I notice that you have that in your package.json now. any chance of an npm release so I can avoid this issue?
The logic of file-utils
being to run copy files from an env to another env, this logic should be spreaded to all functions, such as isDir
and so on
This is currently breaking delete
in yeoman-generator
.
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.