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_nameorfvm flutter create -t package package_name. - Make sure to activate our strict linting by adding it to the package.
- Add a Symlink to our main license.
- Update the workspace pubspec.yaml by adding the new package path.
- Update commitlint.yaml by adding the new package name.
- Remove the package
.gitignore(a global.gitignorefor 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
# Create PR and get it merged
melos publish --git-tag-version
git push --follow-tags