Skip to content

v1.4.0

Compare
Choose a tag to compare
@giladgray giladgray released this 20 Jun 00:13
· 15 commits to master since this release
  • 🌟 #70 new NpmPlugin provides NPM package data for package.json files
    import { Documentalist, NpmPlugin } from "documentalist";
    new Documentalist({ sourceBaseDir: "../../" })
       .use("package.json", new NpmPlugin({ excludePrivate: true, excludeNames: [/-app$/] }))
       .documentGlobs("packages/*/package.json")
       .then(({ npm }) => console.log(npm["package-name"].latestVersion));
    • version info is fetched for published packages using npm info
    • unpublished packages expose only latestVersion from package.json and are marked published: false
  • #69 MarkdownPlugin page nodes now have sourcePath property
  • new Documentalist() option: sourceBaseDir is starting point for relative sourcePath fields