jonschlinkert / markdown-toc

API and CLI for generating a markdown TOC (table of contents) for a README or any markdown files. Uses Remarkable to parse markdown. Used by NASA/openmct, Prisma, Joi, Mocha, Sass, Prettier, Orbit DB, FormatJS, Raneto, hapijs/code, webpack-flow, docusaurus, release-it, ts-loader, json-server, reactfire, bunyan, husky, react-easy-state, react-snap, chakra-ui, carbon, alfresco, repolinter, Assemble, Verb, and thousands of other projects.
https://github.com/jonschlinkert
MIT License
1.65k stars 707 forks source link

Update gray-matter to v4 #138

Open bjankord opened 5 years ago

bjankord commented 5 years ago

Seeing a npm warning about:

npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)

Looks like gray-matter v4 updated to use coffeescript instead of coffee-script. Updating the gray-matter would resolve this npm deprecation warning. 👍

JasonKleban commented 3 years ago

This is a dependency in ts-loader that prevents npm link from working because of a systax error (on Windows at least?) Removing the dependency in ts-loader (which will break some npm scripts) will let npm link preinstall activities succeed.