Coder Social home page Coder Social logo

sivakumar-kailasam / broccoli-leasot Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 3.0 129 KB

A broccoli plugin which wraps around the leasot module to parse and output TODOs and FIXMEs from comments in your files

License: MIT License

JavaScript 100.00%

broccoli-leasot's People

Contributors

greenkeeperio-bot avatar nummi avatar sivakumar-kailasam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

efueger nummi vuiets

broccoli-leasot's Issues

crashing because `app.trees.app` is not a string in ember-cli 1.13.13

I am using Ember 1.13.11 & Ember-cli 1.13.13. The build fails at https://github.com/sivakumar-kailasam/broccoli-leasot/blob/master/ember-addon-main.js#L15.

the console.log for app.trees looks like

{ app: 
   { _directoryPath: 'app',
     _watched: true,
     _name: 'WatchedDir',
     _annotation: undefined,
     _instantiationStack: '
...

and probably var pathToApp = path.resolve(app.project.root, app.trees.app); expects app.trees.app to be string, and below error is thrown

TypeError: Arguments to path.resolve must be strings
    at Object.exports.resolve (path.js:313:15)
    at Class.module.exports.included ([FULL_PATH]/node_modules/broccoli-leasot/ember-addon-main.js:15:24)

How this crash can be handled?

Improve ember addon

The ember addon fails in some projects like ember data and ember which don't follow the same structure as a normal ember app would. This is because the ember addon I've written in the repo at the moment isn't using the right hooks/options to perform its operations. This needs to be improved.

Parse `/addon` directory

Currently it seems that only the /app directory is getting parsed, but other addons might want to use this package too! It would be great if the /addon directory was included as well (if it exists!).

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.