create-pds 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.js +13 -12
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -45,4 +45,4 @@ npm run dev
45
45
 
46
46
  Your PDS will be running at http://localhost:5173
47
47
 
48
- See the [@ascorbic/pds documentation](https://github.com/ascorbic/atproto-worker/tree/main/packages/pds) for configuration and deployment instructions.
48
+ See the [@ascorbic/pds documentation](https://github.com/ascorbic/atproto-worker/tree/main/packages/pds) for configuration and deployment instructions.
package/dist/index.js CHANGED
@@ -2571,7 +2571,7 @@ runMain(defineCommand({
2571
2571
  args: {
2572
2572
  name: {
2573
2573
  type: "positional",
2574
- description: "Project name",
2574
+ description: "Folder name",
2575
2575
  required: false
2576
2576
  },
2577
2577
  "package-manager": {
@@ -2603,22 +2603,23 @@ runMain(defineCommand({
2603
2603
  },
2604
2604
  async run({ args }) {
2605
2605
  const nonInteractive = args.yes || !process.stdout.isTTY;
2606
- Ie("Create PDS");
2607
- M.warn("This is experimental software. Do not migrate your main Bluesky account yet.");
2608
- if (!nonInteractive) Me("Use --yes to run non-interactively", "Tip");
2606
+ Ie("🦋 Create PDS");
2607
+ M.info("Let's build your new home in the Atmosphere!");
2608
+ M.warn("This is experimental software. Don't migrate your main account yet.");
2609
+ if (!nonInteractive) M.message("Tip: Use --yes to skip prompts");
2609
2610
  let projectName = args.name;
2610
- if (!projectName) if (nonInteractive) projectName = "pds-worker";
2611
+ if (!projectName) if (nonInteractive) projectName = "my-pds";
2611
2612
  else {
2612
2613
  const result = await he({
2613
- message: "Project name:",
2614
- placeholder: "pds-worker",
2615
- defaultValue: "pds-worker"
2614
+ message: "Folder name:",
2615
+ placeholder: "my-pds",
2616
+ defaultValue: "my-pds"
2616
2617
  });
2617
2618
  if (pD(result)) {
2618
2619
  xe("Cancelled");
2619
2620
  process.exit(0);
2620
2621
  }
2621
- projectName = result || "pds-worker";
2622
+ projectName = result || "my-pds";
2622
2623
  }
2623
2624
  const targetDir = join(process.cwd(), projectName);
2624
2625
  if (existsSync(targetDir)) {
@@ -2711,7 +2712,7 @@ runMain(defineCommand({
2711
2712
  ], targetDir, { silent: true });
2712
2713
  } catch {}
2713
2714
  if (!args["skip-init"] && !args["skip-install"]) {
2714
- M.info("Now let's configure your PDS for local development");
2715
+ M.info("Now let's set up your account...");
2715
2716
  try {
2716
2717
  await runCommand(pm, [
2717
2718
  "run",
@@ -2736,8 +2737,8 @@ runMain(defineCommand({
2736
2737
  `${pm} dev`,
2737
2738
  "",
2738
2739
  "Your PDS will be running at http://localhost:5173"
2739
- ].join("\n"), "Next steps");
2740
- Se("Happy building!");
2740
+ ].join("\n"), "Next Steps");
2741
+ Se("Welcome to the Atmosphere! 🦋");
2741
2742
  }
2742
2743
  }));
2743
2744
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pds",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Create a new AT Protocol PDS on Cloudflare Workers",
5
5
  "type": "module",
6
6
  "bin": {