jonschlinkert / gray-matter

Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert
https://github.com/jonschlinkert
MIT License
3.97k stars 138 forks source link

Rename coffee-script to coffeescript everywhere #63

Closed marcolabreu closed 6 years ago

marcolabreu commented 6 years ago

Reasons

The npm package coffee-script was renamed coffeescript after version 1.12.7. This causes no error really, but a warning is generated every time it's installed using the old name. So this is more of a cosmetic patch than anything else.

Renaming

A searched the entire project for coffeescript to verify possible namespace collisions. Then coffee-script was renamed to coffeescript 8 times in 6 files.

Testing

Tested using both npm install && npm run test and yarn && yarn test. Both resulted in good green 69 passing.

Bower didn't work

Just for you to know, bower install failed every time informing that some package was not found—a different package each time—. It also issued some warnings about the package.json formatting.

jonschlinkert commented 6 years ago

duplicate of https://github.com/jonschlinkert/gray-matter/pull/59