0.0.0 • Published 5 years ago
@stefandesu/hello-world v0.0.0
npm-hello-world
Just a repository to test stuff with
Install
npm i @stefandesu/hello-worldUsage
const hw = require("@stefandesu/hello-world")
console.log(hw.hello) // prints "world"
console.log(hw.world) // prints "hello"Test
git clone https://github.com/stefandesu/npm-hello-world.git
cd npm-hello-world
npm i
npm testMaintainers
- @stefandesu
Publish
Please work on the dev branch during development (or better yet, develop in a feature branch and merge into dev when ready).
When a new release is ready (i.e. the features are finished, merged into dev, and all tests succeed), run the included release script (replace "patch" with "minor" or "major" if necessary):
npm run release:patchThis will:
- Switch to
dev - Make sure
devis up-to-date - Run
npm version patch(or "minor"/"major") - Push changes to
dev - Switch to
main - Merge changes from
dev - Push
mainwith tags - Switch back to
dev
After running this, GitHub Actions will automatically publish the new version to NPM. It will also create a new GitHub Release. Edit the release as necessary.
Contribute
PRs accepted.