opral / inlang-message-sdk

0 stars 0 forks source link

Plugins should error if the source language messages file is missing #60

Open jldec opened 1 month ago

jldec commented 1 month ago

Context

Currently message storage plugins ignore file-not-found (ENOENT) and create messages files on first save. This can lead to silent failures e.g. if the pathPattern setting is misconfigured.

Proposal

Plugins should error if the source language messages file is missing. The createNewProject() feature should auto-create this file as well. (see MESDK-100)