opral / inlang-paraglide-js

Tree-shakable i18n library build on the inlang ecosystem.
https://inlang.com/m/gerre34r/library-inlang-paraglideJs
23 stars 0 forks source link

Use `listProjects` in `paraglide-js init` #67

Closed LorisSigrist closed 2 months ago

LorisSigrist commented 2 months ago

Context

As pointed out in MESDK-51

The SDK now provides a dedicated function for finding projects, listProjects. Paraglide still uses it's own naive "find-project" implementation that just scans a few hardcoded paths.

Proposal

Paraglide should use the SDK's listProjects implementation instead of it's own