Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.04 KB

File metadata and controls

25 lines (18 loc) · 1.04 KB

Workflows

Adding a new package to the Neon project

If you need to add a new package to the Neon project please make sure to execute all the following steps:

  1. Use the according template by running fvm dart create -t package package_name or fvm flutter create -t package package_name.
  2. Make sure to activate our strict linting by adding it to the package.
  3. Add a Symlink to our main license.
  4. Update the workspace pubspec.yaml by adding the new package path.
  5. Update commitlint.yaml by adding the new package name.
  6. Remove the package .gitignore (a global .gitignore for all packages is used instead).

Publishing new versions of the packages

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