The package is published from the repository root, under its own name. Publish
it before codelessly_sdk: the SDK depends on the API version it was built
with (codelessly_api: ^<version>), and that version has to be on pub.dev first.
-
Set
version:inpubspec.yamland add its entry at the top ofCHANGELOG.md. -
Check, from a clean checkout:
dart pub get dart analyze dart test dart pub publish --dry-run # 0 warnings
-
Commit, tag (
git tag v<version>) and publish:dart pub publish
-
Then publish
codelessly_sdk(its PUBLISHING.md), raising itscodelessly_apiconstraint if it needs the new version.
.pubignore lists what stays out of the package: tool/, docs/ (the guide
is read on GitHub, documentation: in the pubspec) and local state.