Coder Social home page Coder Social logo

wix-gruntfile's People

Contributors

alonbt avatar alonn24 avatar antonpodolsky avatar assafswix avatar barlevalon avatar bolshchikov avatar borislit avatar carmelc avatar danielwix avatar david-pe avatar felixmosh avatar gilamran avatar igalst avatar itaibenda avatar jakutis avatar mastertheblaster avatar maxaon avatar nayish avatar noomorph avatar ofirdagan avatar ran-zilberman avatar ronnyrin avatar roymiloh avatar salickc avatar sarunas avatar shahata avatar shlomitc avatar sthuck avatar tompere avatar yanivefraim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wix-gruntfile's Issues

Publishing Bower component to separate repo

After the campaign of migration to monorepo bower components should be published to separate repo instead of a branch.
What steps should I perform to do this?

I've tried to set $GIT_REMOTE_URL like this:

"release": "[email protected]:wix-private/cashier-settings-component-bower-component.git node_modules/wix-gruntfile/scripts/release.sh"

but then bumped version became incorrect (starts from 1.0.1 again).

I've tried to use wnpm-release + bower-auto-release directly, but seems that bower-auto-release uses different steps and ignore/include patterns, and also incorrectly calculates new version.

Any tips how to migrate? @shahata

graceful-fs@2 and @3 support will be removed soon

Hi. wix-gruntfile is currently #2 in my list of modules that would likely to be broken when nodejs/node#6413 lands (which is anticipated to happen before v7.0).

Note that graceful-fs@1 and graceful-fs@4 are ok and would not be broken by this, but a require() on graceful-fs@2 or graceful-fs@3 would cause an error soon.

That is, runtime warning fs: re-evaluating native module sources is not supported. would be turned into a throw.

If you or your deps use graceful-fs@2 or graceful-fs@3 in runtime โ€” you are affected.

Tracking: nodejs/node#5213.

Add karma:unit:run to the initial run of serve

I think adding an initial test run to the serve task might be beneficial. This is what the config would look like:

grunt.registerTask('serve', function (target) {
    var jshint = grunt.config('jshint');
    jshint.options.force = true;
    grunt.config('jshint', jshint);

    if (target === 'dist') {
      return grunt.task.run(['connect:dist:keepalive']);
    }

    if (target === 'coverage') {
      var karma = grunt.config('karma');
      delete karma.unit.options.preprocessors;
      grunt.config('karma', karma);
    }

    grunt.task.run([
      'karma:unit',
      'pre-build',
      'karma:unit:run',
      'connect:livereload',
      'watch'
    ]);
  });

Note the karma:unit:runin the grunt.task.run block.

This doesn't stop the build if the tests don't pass or anything (which is how it should be, IMO), but it does run the tests so you can immediately see if something's wrong (as opposed to having to manually fake-edit a test/source file to see if tests pass, or cancelling out and running grunt test - both less than optimal).

incorrect src filter for images

No images are copied to debug, because there are no images with .js format.
Should have been:
{
expand: true,
cwd: '.tmp/images/',
src: ['__/
.
'],
dest: 'dist/debug/images'
}, {
expand: true,
cwd: 'app/images/',
src: ['__/
.*'],
dest: 'dist/_debug/images'
}

instead of
{
expand: true,
cwd: '.tmp/images/',
src: ['/*.js'],
dest: 'dist/_debug/images'
}, {
expand: true,
cwd: 'app/images/',
src: ['
/*.js'],
dest: 'dist/_debug/images'
}

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.