Closed markreg closed 9 years ago
You don't need a manifest at all to use duo. Simply adding your dependencies as require('{owner}/{project}');
is sufficient. Additional semantics include:
require('{owner}/{project}@{version}');
specify a specific branch/tag/sha to userequire('{owner}/{project}:{path}');
specify an alternative to index.js
as your module's entry pointrequire('{owner}/{project}@{version}:{path}');
)The duojs.com website seems to imply that a manifest is required for public components:
To create your own public component, just add a component.json to your repository
Maybe it should be removed?
@markreg PRs welcome
Is a component.json manifest required? I was under the impression that duo can resolve dependencies automatically.