Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm package not published? #2400

Open
Tracked by #3516
ahmadnassri opened this issue Nov 4, 2020 · 3 comments
Open
Tracked by #3516

npm package not published? #2400

ahmadnassri opened this issue Nov 4, 2020 · 3 comments

Comments

@ahmadnassri
Copy link

there is a package.json with a package name: oas-schemas but this package doesn't exist in npmjs.com ...

@MikeRalphson
Copy link
Member

MikeRalphson commented Nov 5, 2020

This is WIP.

There is some discussion on PR #1911

Note that publishing to npm will make the schemas available via the unpkg CDN too for non-JS use-cases.

The TODO list which used to be on that PR, I have now copied here:

  • confirm TSC group email to use for npm author property (or none?)
  • determine if Apache-2.0 LICENSE file also needs including in generated packages (resolved by @kylef)
  • which npm org to publish packages to (new/existing)? - A Michael Adams (this one?) has used oai but has no published packages
  • package naming
  • who will have publish rights (i.e.who owns the npm login to provide the auth token?) We don't want to introduce any technical steps with a "bus factor" of one
  • versioning of generated packages on schema changes
  • setup automated publishing via Travis GitHub Actions deploy
  • deprecate swagger-schema-official package - @mohsen1 ?
  • close related issues Make schema an npm/bower module and publish is independently  #137 Host schema publicly #151

@ahmadnassri
Copy link
Author

excellent, thanks for the update!

@MikeRalphson
Copy link
Member

which npm org to publish packages to (new/existing)? - A Michael Adams (this one?) has used oai but has no published packages

I've been in contact with D. Michael Adams of the Ocean Assets Institute (OAI!) and he is willing to transfer the npm org to us, but npm themselves are not currently doing this until they draft a new process. We could use oas instead (which I have reserved).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

4 participants