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

22 - Requirements to publish on NPM #25

Draft
wants to merge 17 commits into
base: dev
Choose a base branch
from

Conversation

nozomione
Copy link
Member

@nozomione nozomione commented Aug 2, 2022

Issue Number

#22

Parent issue: #21

Purpose/Implementation Notes

Track the requirements to publish the package on NPM.

  • Links to the resource docs to determine which approaches are most appropriate to keep in publish.md(specific to refinebio-js)

Types of changes

  • Created a temporary directory docs to store the documentation files
    • e.g.) src/docs/requirements-to-publish.md

Functional tests

N/A

Checklist

  • Lint and unit tests pass locally with my changes

Screenshots

N/A

Note

This is a 1st draft for the general instruction for publishing a npm package with Github Packages Registry(found to be a more robust approach than directly publishing the package to the npm Registry)

Benefits:

  • Offers both public/private registries without the need of third party tools or paid services
  • Offers the Github Actions without extra configurations as well as support other CI tools
  • Offers built-in Package Analysis
  • Supports a various registry protocols including the npm and the personal access token can be used for authentication
  • Utilizes the Github global CDN for fast performance

Please see the GitHub Packages for more information. Thank you.

@nozomione nozomione added the documentation Improvements or additions to documentation label Aug 2, 2022
@nozomione nozomione linked an issue Aug 3, 2022 that may be closed by this pull request
@nozomione
Copy link
Member Author

(Update)

  • Added the 1st draft for the General Requirement to publish npm packages with the Public npm Registry
    (*with no Github Packages)

    • src/docs/requirements-to-publish-with-public-npm-registry.md
  • Updated the filename of the General Requirement to publish npm package with Github Packages

    • src/docs/requirements-to-publish-with-github-packages.md

@nozomione nozomione marked this pull request as draft August 23, 2022 21:50
@nozomione nozomione changed the base branch from main to dev August 29, 2022 19:40
…ntents, add local testing workflow and version update workflow(in progress)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant