orbit-db-types icon indicating copy to clipboard operation
orbit-db-types copied to clipboard

Publish to NPM

Open logasja opened this issue 3 years ago • 4 comments

Is there a reason this package isn't published to npm? I only ask because I used pnpm and it has some issues with using git repos as packages.

logasja avatar May 29 '21 17:05 logasja

Any idea how to publish under the @types scope? @chrispanag

tabcat avatar Jan 25 '22 04:01 tabcat

https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html seems relevant

tabcat avatar Jan 25 '22 04:01 tabcat

Any idea how to publish under the @types scope? @chrispanag

the @types scope is just an organisation on npm that's managed by the DefinitelyTyped repository. Any package that is added to this repo, is published under the @types scope on npm.

You can read more here: https://github.com/DefinitelyTyped/DefinitelyTyped#faq

chrispanag avatar Jan 25 '22 09:01 chrispanag

I'm thinking we will probably include definition files in the source via jsdoc similar to ipfs so we can also generate API docs with https://typedoc.org/ so it may not be worth publishing this now.

tabcat avatar Jan 26 '22 22:01 tabcat