create-100x-mobile 0.6.1 → 0.6.2

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.
@@ -561,6 +561,15 @@ async function setupCloudflare(projectDir) {
561
561
  return result;
562
562
  }
563
563
  // Step 2: cloudflare:login (alchemy login)
564
+ prompts_1.log.info("");
565
+ prompts_1.log.info(picocolors_1.default.bold("Cloudflare login — minimum scopes needed:"));
566
+ prompts_1.log.info(picocolors_1.default.dim(" • account:read, user:read"));
567
+ prompts_1.log.info(picocolors_1.default.dim(" • d1:write, workers:write, workers_scripts:write"));
568
+ prompts_1.log.info(picocolors_1.default.dim(" • offline_access"));
569
+ prompts_1.log.info(picocolors_1.default.dim(" Alchemy requests broader scopes by default. For tighter control,"));
570
+ prompts_1.log.info(picocolors_1.default.dim(" create a custom API Token at https://dash.cloudflare.com/profile/api-tokens"));
571
+ prompts_1.log.info(picocolors_1.default.dim(" and set CLOUDFLARE_API_TOKEN env var instead."));
572
+ prompts_1.log.info("");
564
573
  try {
565
574
  await (0, run_1.run)("bun", ["run", "cloudflare:login"], { cwd: projectDir });
566
575
  result.loggedIn = true;
@@ -110,10 +110,10 @@ export async function deleteCloudflareObject(
110
110
  ): Promise<void> {
111
111
  const workerUrl = requireStorageWorkerUrl();
112
112
  const token = await requireInstantRefreshToken();
113
- const response = await fetch(\\\`\\\${workerUrl}/uploads/\\\${uploadId}\\\`, {
113
+ const response = await fetch(\`\${workerUrl}/uploads/\${uploadId}\`, {
114
114
  method: "DELETE",
115
115
  headers: {
116
- authorization: \\\`Bearer \\\${token}\\\`,
116
+ authorization: \`Bearer \${token}\`,
117
117
  },
118
118
  });
119
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-100x-mobile",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Scaffold a full-stack mobile app with Expo + Convex + Clerk in seconds",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {