mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-30 21:01:54 +08:00
Replace JSON.parse with Babel parser + static AST evaluation in parseStaticConfigLiteral. This correctly handles JavaScript object literal syntax (unquoted keys, trailing commas) that real config files use. Also differentiate error cases in buildUpdatedConfigFileContent: - null → invalid/missing config export - string → show-onboarding placeholder (different error message) - object → valid config to merge into Co-Authored-By: mantra <mantra@stack-auth.com> |
||
|---|---|---|
| .. | ||
| backend | ||
| dashboard | ||
| dev-launchpad | ||
| e2e | ||
| hosted-components | ||
| internal-tool | ||
| mcp | ||
| mock-oauth-server | ||
| oauth-mock-server | ||
| skills | ||