create-droid 1.1.2 → 1.1.3

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.
@@ -36,6 +36,9 @@ export async function generateProject(options) {
36
36
  logger.info(`Applying ${uiType} template...`);
37
37
  await fs.copy(uiTemplate, projectPath, { overwrite: true });
38
38
  }
39
+ else {
40
+ throw new Error(`UI template not found: ${uiType} at ${uiTemplate}`);
41
+ }
39
42
  // 5. Patch Configuration
40
43
  logger.info(`Patching configuration...`);
41
44
  const packageName = `com.example.${projectName.toLowerCase().replace(/[^a-z0-9]/g, '')}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-droid",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "The fastest way to start an Android project. No Studio required.",
5
5
  "author": "YELrhilassi",
6
6
  "license": "MIT",