- Create a folder inside the
packages
directory, for example,sample-package
. - Create a
package.json
file in thesample-package
folder with the name attribute set to@inworld/sample-package
. Don't forget to add the following commands:
build
,test
,release:pack
,release:publish
,release:bump
,lint:lint
,lint:check
,prettier:check
,prettier:format
.
- Create a
CHANGELOG.md
file following the Keep a Changelog format. - Create a
release-it.json
file, and refer to the configuration options provided on GitHub. - Create a
.npmignore
file and specify the list of files that should not be published to npm. - Add
@inworld/sample-package
to GitHub Actions and templates.