Giter Site home page Giter Site logo

bower-copy's People

Contributors

scivey avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

bower-copy's Issues

Issue with angular-cache package

If I install angular-cache:

bower install angular-cache

It'll install angular as well, so all good. Then if I copy the things to a test directory:

bower-copy --dest ./test

The test directory ends up containing angular.js (non-minified) and angular-cache.js (minified).

The problem is that all files ending up i the dest directory are non-minified except angular-cache. Perhaps angular-cache isn't configured correctly, but I have no idea. In any case it'd be nice to either have all dest files always non-minified, or always minified (with an option perhaps, and appending .min to the filename), or append .min to files that are going to end up minified instead of non-minified.

So it's inconsistent. Which in my particular case means that my deployment chain cannot determine which files are already minified and which ones still need minification.

Doesn't support an array of main files

When used with polymer I get:

path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received [ 'polymer.html', 'polymer-mini.html', 'polymer-micro.html' ]
    at assertPath (path.js:7:11)
    at Object.join (path.js:466:7)
    at extractMain (C:\Users\dotnet\Projects\firefund\styleguide\node_modules\bower-copy\index.js:50:21)

bower-copy clearly doesn't support main as array

break on dot dirs in bower_components

I'm not sure why but I suddenly have a .bower-git in my bower_components. This issue is not about that. But the fact thatbower-copy breaks on such a dir. I think it's safe to regard hidden directories as something bower-copy should ignore.

no such file or directory

https://github.com/scivey/bower-copy/blob/master/bin/cmd.js#L1

!/usr/bin/env node is ending with a "\r"

leading to "no such file or directory" error under linux

$> node_modules/.bin/bower-copy -d static/js/components
No such file or directory
$> strace node_modules/.bin/bower-copy
(...)
execve("/usr/local/bin/node\r", ["node\r", "node_modules/.bin/bower-copy", (...) = -1 ENOENT (No such file or directory)

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.