If you need to add a new package to the Neon project please make sure to execute all the following steps:
- Use the according template by running
fvm dart create -t package package_name
orfvm flutter create -t package package_name
. - Make sure to activate our strict linting by adding it to the package.
- Regenerate the dependency overrides by executing
melos bootstrap
. - Add a Symlink to our main license.
- Update commitlint.yaml by adding the new package name.
- Remove the package
.gitignore
(a global.gitignore
for all packages is used instead).
Be aware that dart pub publish will upload the current state of your working directory including uncommitted changes.
Make sure that you have a clean working tree before running melos publish
.
melos version --no-git-tag-version
# If necessary adjust the required dynamite_runtime version in dynamite and stage the changes
# Create PR and get it merged
melos publish --git-tag-version
git push --follow-tags