This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@shopify/docs-tools
TypeScript icon, indicating that this package has built-in type declarations

0.0.23 • Public • Published

@shopify/docs-tools

Tooling for documenting TypeScript projects at Shopify

Overview

This package provides utilities that will parse the tsdoc comments within a package so that they can be used as output for documentation. This is currently only in use in Checkout for maintaining documentation on Shopify.dev.

API Reference

createDependencyGraph(entry: string)

The createDependencyGraph function produces a Map of strings to Modules for a given entry point.

const graph = await createDependencyGraph(componentIndex);

graph.forEach((value) => {
  console.log(value); // Module object representation of each dependency
});

Resources

Publishing this Package

  1. Merge your changes into the main branch.
  2. Run the yarn prepublish cmd in the repo.
  3. Run yarn version --new-version <major|minor|patch> && git push --follow-tags to bump the version.
  4. Go to https://shipit.shopify.io/shopify/docs-tools/production to ship the semver commit.

Readme

Keywords

none

Package Sidebar

Install

npm i @shopify/docs-tools

Weekly Downloads

7

Version

0.0.23

License

ISC

Unpacked Size

60.8 kB

Total Files

23

Last publish

Collaborators

  • jaimie.rockburn
  • jaykay101
  • maryharte
  • mishsmelle
  • netlohan
  • pmoloney89
  • shopify-admin
  • shopify-dep