Skip to content

Commit

Permalink
Allow generator to pull from private npm repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSaini101 authored and aayushRedHat committed Dec 14, 2023
1 parent 56ca8ad commit 5e64a14
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 214 deletions.
2 changes: 1 addition & 1 deletion docs/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Examples outputs:

A template is an independent Node.js project unrelated to the `generator` repository. AsyncAPI templates are managed, released, and published separately. You can also create templates and manage templates on your own.

The generator uses the official [Arborist](https://www.npmjs.com/package/@npmcli/arborist) NPM library. (This means templates do not have to be published to package managers to use them.) Arborist helps the generator fetch the template's source code and use it for the generation process.
The generator uses the official [Arborist](https://www.npmjs.com/package/@npmcli/arborist) NPM library. (This means templates do not have to be published to package managers to use them.) Arborist helps the generator fetch the template's source code and use it for the generation process. By default, this library pulls data from the default NPM registry, which is https://registry.npmjs.org. You can also configure the generator to fetch templates that are private or hosted in different NPM registrie

You can store template projects on a local drive or as a `git` repository during the development process.

Expand Down
Loading

0 comments on commit 5e64a14

Please sign in to comment.