Context
Effect v4 migration guide recommends naming layers layer (e.g. Logger.layer) instead of v3's Default or Live naming.
Currently ~74 exports in apps/vps/src follow the old *ServiceLive naming convention.
What to do
Rename all *ServiceLive exports to follow the layer convention per https://github.com/Effect-TS/effect-smol/blob/main/migration/services.md
Example:
// before
export const ReleaseServiceLive = Layer.succeed(...)
// after
export const ReleaseServiceLayer = Layer.succeed(...)
// or co-locate as static on class: ReleaseService.layer
Update all import sites accordingly.
Files affected
All service files in apps/vps/src/services/ and apps/vps/src/runtime/services.ts.
Notes
- This is cosmetic/convention only — no runtime behaviour changes
- Core migration (Context.Tag → Context.Service) is already done
- Consider co-locating layers as static properties on service classes for better cohesion
Context
Effect v4 migration guide recommends naming layers
layer(e.g.Logger.layer) instead of v3'sDefaultorLivenaming.Currently ~74 exports in
apps/vps/srcfollow the old*ServiceLivenaming convention.What to do
Rename all
*ServiceLiveexports to follow thelayerconvention per https://github.com/Effect-TS/effect-smol/blob/main/migration/services.mdExample:
Update all import sites accordingly.
Files affected
All service files in
apps/vps/src/services/andapps/vps/src/runtime/services.ts.Notes