@lukoweb/create-apitogo 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
Binary file
|
package/dist/templates/index.ts
CHANGED
|
@@ -187,7 +187,8 @@ export const installTemplate = async ({
|
|
|
187
187
|
});
|
|
188
188
|
|
|
189
189
|
const appTitle = formatAppTitle(appName);
|
|
190
|
-
const configFilename =
|
|
190
|
+
const configFilename =
|
|
191
|
+
mode === "ts" ? "apitogo.config.tsx" : "apitogo.config.jsx";
|
|
191
192
|
const configPath = path.join(root, configFilename);
|
|
192
193
|
const configContents = await fs.readFile(configPath, "utf8");
|
|
193
194
|
await fs.writeFile(
|