create-100x-mobile 0.6.1 → 0.6.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.
@@ -551,6 +551,15 @@ async function setupCloudflare(projectDir) {
551
551
  workerUrl: "",
552
552
  };
553
553
  // Step 1: cloudflare:configure (alchemy configure)
554
+ prompts_1.log.info("");
555
+ prompts_1.log.info(picocolors_1.default.bold("Cloudflare configure — scope guidance:"));
556
+ prompts_1.log.info(picocolors_1.default.dim(' When prompted "Customize scopes?", select Yes and keep only:'));
557
+ prompts_1.log.info(picocolors_1.default.dim(" ✓ account:read ✓ user:read"));
558
+ prompts_1.log.info(picocolors_1.default.dim(" ✓ d1:write ✓ workers:write"));
559
+ prompts_1.log.info(picocolors_1.default.dim(" ✓ workers_scripts:write"));
560
+ prompts_1.log.info(picocolors_1.default.dim(" Deselect everything else — they are not needed."));
561
+ prompts_1.log.info(picocolors_1.default.dim(" Alt: set CLOUDFLARE_API_TOKEN env var to skip OAuth entirely."));
562
+ prompts_1.log.info("");
554
563
  try {
555
564
  await (0, run_1.run)("bun", ["run", "cloudflare:configure"], { cwd: projectDir });
556
565
  result.configured = 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.3",
4
4
  "description": "Scaffold a full-stack mobile app with Expo + Convex + Clerk in seconds",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {