literate-ts

Code samples that scale

APACHE-2.0 License

Downloads
27
Stars
101
Committers
3

Bot releases are hidden (Show)

literate-ts - v2.5.0 Latest Release

Published by danvk 4 months ago

What's Changed

This is the version of literate-ts that I used to verify the second edition of Effective TypeScript and extract the code samples and playground URLs for its companion repo.

Full Changelog: https://github.com/danvk/literate-ts/compare/v2.4.0...v2.5.0

literate-ts - v2.4.0

Published by danvk 7 months ago

What's Changed

New features:

Also many dependency updates.

Full Changelog: https://github.com/danvk/literate-ts/compare/v2.3.0...v2.4.0

literate-ts - v2.3.0

Published by danvk 7 months ago

What's Changed

📘 With any luck, this will be the version used to check the second edition of Effective TypeScript.

New features:

Bug fixes:

Also many dependency updates.

Full Changelog: https://github.com/danvk/literate-ts/compare/v2.2.0...v2.3.0

literate-ts - v2.2.0

Published by danvk about 1 year ago

What's Changed

New features:

Bug fixes:

Various dependency updates:

Full Changelog: https://github.com/danvk/literate-ts/compare/v2.1.0...v2.2.0

literate-ts - v2.1.0

Published by danvk about 1 year ago

What's Changed

  • Two new directives: replace-with-id and prepend-subset-of-id-to-following
  • Report precise error spans for much better error highlighting in your editor

Full Changelog: https://github.com/danvk/literate-ts/compare/v2.0.0...v2.1.0

literate-ts - v2.0.0

Published by danvk about 1 year ago

What's Changed

Major changes:

  • literate-ts now uses an on-disk cache. This results in dramatic speedups when you repeatedly run literate-ts on the same set of files with only a few changes. You can bypass the cache with --nocache and delete it with rm -rf node_modules/.cache/literate-ts.
  • literate-ts now uses ES modules. You'll need to use a version of Node that supports them.
  • literate-ts can now be run inside VS Code as a task to highlight problems inline in your document.

All changes

New Contributors

Full Changelog: https://github.com/danvk/literate-ts/compare/v1.3.0...v2.0.0

literate-ts - v1.3.0

Published by danvk about 1 year ago

What's Changed

literate-ts - v1.2.0

Published by danvk over 1 year ago

  • Update dependencies
  • Add triple-tick codeblock support to asciidoc processor (#36) thanks @JoshuaKGoldberg!
  • Document CLI flags in README.md (#46) thanks @JoshuaKGoldberg!
  • Print failures as filename:line (#37 / #54) thanks @JoshuaKGoldberg!
  • Switch from CircleCI → GitHub Actions and set up Code Coverage (currently at 63.29%)
  • Fixes for error messages in recent Node.js versions (#53)
literate-ts - Initial release

Published by danvk over 4 years ago

First version on npm.

Package Rankings
Top 12.99% on Npmjs.org