(obj: Record<string, string>)
| 17 | // prettier-ignore |
| 18 | const nextjsReactPeerVersion = "19.2.4"; |
| 19 | function sorted(obj: Record<string, string>) { |
| 20 | return Object.keys(obj) |
| 21 | .sort() |
| 22 | .reduce((acc: Record<string, string>, key) => { |
| 23 | acc[key] = obj[key]; |
| 24 | |
| 25 | return acc; |
| 26 | }, {}); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * Get the file path for a given file in a template, e.g. "next.config.js". |
no test coverage detected