1.1.0 • Published 5 years ago
@alextanhongpin/test v1.1.0
test 
A simple github package under the scoped name @alextanhongpin/test.
To use the package, create a .npmrc file with this:
registry=https://npm.pkg.github.com/alextanhongpinThen install the package:
$ npm i @alextanhongpin/testSample usage:
const { greet } = require('@alextanhongpin/test')
console.log(greet)Updating and publishing packages
First you need to create the GITHUB_TOKEN and then follow the setup here.
$ npm version minor|major|patch
$ npm publishAutomating publishing
Github Action is set to publish the package to both npm and Github Package (though it fails for npm now due to auth error). In order to trigger the Github Action, we need to create a release manually.
1.1.0
5 years ago