Skip to content

A tool to set up all required files for a new NPM package using Typescript

License

Notifications You must be signed in to change notification settings

Ionaru/create-package

Repository files navigation

@ionaru/create-package

npm version npm version Build Status

Description

The purpose of this package is to generate a ready-to-use project for developing NPM packages.

Warning: this package is heavily opinionated and contains multiple hardcoded names and links.

Usage

npx @ionaru/create-package <package-name>

Workflow

Setup

npx @ionaru/create-package <package-name>
cd <package-name>
git remote add origin https://github.com/Ionaru/<package-name>.git
git push -u origin master

Work

// Add code & update changelog
git add .
git commit -m "Work was done"
git push

Release

// Update changelog
git add CHANGELOG.md
git commit -m "Updated changelog for <version>"
npm version <release-type>
git push --follow-tags

About

A tool to set up all required files for a new NPM package using Typescript

Resources

License

Stars

Watchers

Forks

Packages

No packages published