util/pubspec_validator library
Classes
- TenantProjectPubspec
- Represents a parsed pubspec.yaml file of a tenant project. Provides methods to validate its contents.
Functions
-
isServerpodServerDirectory(
Directory dir) → bool - Convenience function to check if a directory is a Serverpod server directory.
-
isServerpodServerPackage(
File pubspecFile) → bool - Convenience function to check if a pubspec.yaml file is a Serverpod server package.