Package Exports
- @ionaru/create-package
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ionaru/create-package) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@ionaru/create-package
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 init
git commit --allow-empty -m "Initial commit"
npm install
git add .
git commit -m "Project setup"
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