mincer icon indicating copy to clipboard operation
mincer copied to clipboard

Support for CoffeeScript v2

Open igoramadas opened this issue 8 years ago • 4 comments

Any plans to update the module to use "coffeescript" instead of "coffee-script"? Seems the new v2 is available only as "coffeescript".

igoramadas avatar Jun 23 '17 16:06 igoramadas

No such plans, sorry. We do not develop mincer anymore. Only do critical bugfixes. I can grant permissions to anyone who is able to maintain this project.

As far as i understand you can split-out CS wrapper as plugin and be independent on my opinion/plans. May be someone already did it in npm.

puzrin avatar Jun 23 '17 16:06 puzrin

Hi @puzrin!

Although I don't have time to properly maintain the project, I could make the necessary changes to support newer versions of coffeescript from now on. If you're interested please give me the permissions and I'll create a pull request.

igoramadas avatar Jun 26 '17 07:06 igoramadas

You don't need any special permissions to create PR. If it will be backward-compatible, i see no problems to accept it.

puzrin avatar Jun 30 '17 18:06 puzrin

I was updating a really old application to remove some vulnerable dependencies and wanted to update to coffeescript@2. I did the following and it ended up working pretty well:

const mincer = require('mincer');
mincer.Template.libs.coffee = require('coffeescript');

reaktivo avatar Mar 25 '18 17:03 reaktivo