v1.4.0
·
15 commits
to master
since this release
- 🌟 #70 new
NpmPluginprovides NPM package data forpackage.jsonfilesimport { 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
latestVersionfrom package.json and are markedpublished: false
- version info is fetched for published packages using
- #69
MarkdownPluginpage nodes now havesourcePathproperty - new
Documentalist()option:sourceBaseDiris starting point for relativesourcePathfields