Skip to content
npmgraphPublic

About

Demo repository to test npmgraph

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo

Demo monorepo for testing npmgraph. It contains packages that demonstrate the full range of dependency types and edge cases that npmgraph needs to handle.

Examples:

Releasing

Run the Release workflow manually from the Actions tab. It publishes all workspace packages to npm with provenance (trusted publishing).

The version is bumped automatically.

Publishing is optional

Most packages here don't need to be published to npm:

  • npmgraph can load the main package.json directly from GitHub.
  • Dependencies are still resolved and drawn on the graph even if they can't be found.

Publishing is only needed for exploring deep dependency substitution, etc.

Examples

packages/demo covers dependencies (including github:, npm: aliases), devDependencies, peerDependencies, optionalDependencies and overrides. packages/demo-b covers peerDependenciesMeta (optional peers).

CI

The CI workflow validates that every package.json is valid JSON.

About

Demo repository to test npmgraph

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors