opral / inlang-paraglide-js

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

`paraglide-js init` add `--outdir` option to commands by default #59

Closed LorisSigrist closed 6 months ago

LorisSigrist commented 6 months ago

Context/Problem

The paraglide-js init command adds paragide-js compile commands to the package.json script by default. Currently these don't include the --outdir flag. This causes confusion when users move the outdir as they often don't know they need to update the commands as well.

Proposal

Add the --outdir flag to all generated CLI commands

Or

Have a central place where the outdir is configured (can't be settings.json in case multiple code-projects are using the same inlang project)