Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

CatsMiaow/node-github-packages

Repository files navigation

@ownername/module-name

Fix it

  • In package.json and README.md, replace ownername and module-name with your own.
  • Based on this repository, ownername is catsmiaow and module-name is node-github-packages
  • Do not delete @

Publish

npm run release

See np

Publish Check

https://github.com/ownername/module-name/packages

Install

  • The npm login password is the Personal access tokens (PAT) value, not the Github account information.
  • Create a token by adding repo and read:packages permissions at https://github.com/settings/tokens
npm login --registry=https://npm.pkg.github.com --scope=@ownername
npm install @ownername/module-name

Local Testing

# From the path where you checkouted the package
npm link
# In the project path to import the package
npm link @ownername/module-name

Link