Giter Site home page Giter Site logo

gulp-file's People

Contributors

alexmingoia avatar demurgos avatar ninbryan avatar zypa13510 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gulp-file's Issues

License

Hello, nice code you have. Can you please tell me what version of BSD License your project has?

Proposal: Create CHANGELOG.md

Hey there!

Would you consider creating a CHANGELOG.md (and update it at releases), so it is easier to look through the changes between versions?
It would make deciding whether to update the package a lot easier :)

Thanks a lot!

Richard

Task Won't Finish

I have this simple task which never finishes:

gulp.task('envJS', [], function () {
    var env = {
        build: {
            dev: dev
        }
    };

    var envJS = 'var env = JSON.parse(\''+JSON.stringify(env)+'\');';

    return file('env.js', envJS)
        .pipe(gulp.dest('temp'));
});

I get the start log:

[01:55:32] Starting 'envJS'...

but no finish and I see the main task getting done:

[Finished in 5.4s]

but I don't see the task which is depending on "envJS" start.

FIAL: env.js is unexpected

I am probably missing something simple. It is adding the string into the file via gulp and the stream though I always get the following output on both win and linux:

[10:33:15] โœ— FAIL: env.js is unexpected

My gulpfile looks like this:

gulp.task('assembleAppJS', ['bower'], function (cb) {

    var envJS = 'var envConfig = JSON.parse(\''+JSON.stringify(envConfig)+'\');';

    pump([
        gulp.src(src, {base: "."}),
        file('env.js', envJS),
        expect(src),
        concat('app.js'),
        gulp.dest(destDir)
    ], cb);
});

Replace deprecated dependency gulp-util

gulp-util has been deprecated recently. Continuing to use this dependency may prevent the use of your library with the latest release of Gulp 4 so it is important to replace gulp-util.

The README.md lists alternatives for all the components so a simple replacement should be enough.

Your package is one of the most popular packages still relying on gulp-util, it would be good to publish a fixed version to npm as soon as possible.

See:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.