pika-ux 1.0.0-beta.6 → 1.0.0-beta.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.
package/dist/cli/index.js CHANGED
@@ -67,8 +67,10 @@ async function validatePnpm() {
67
67
  logger.error("pnpm is not installed.");
68
68
  logger.info("Please install pnpm:");
69
69
  console.log(" npm install -g pnpm");
70
- console.log(" # or");
70
+ console.log(" # or (Unix/Mac):");
71
71
  console.log(" curl -fsSL https://get.pnpm.io/install.sh | sh -");
72
+ console.log(" # or (Windows):");
73
+ console.log(" iwr https://get.pnpm.io/install.ps1 -useb | iex");
72
74
  process.exit(1);
73
75
  }
74
76
  }
@@ -213,7 +215,7 @@ async function createCommand(options = {}) {
213
215
  templateDir = path2.join(pikaUxRoot, "dist/cli/template-files");
214
216
  logger.debug(`Template directory resolved to: ${templateDir}`);
215
217
  } catch (error) {
216
- templateDir = path2.join(__dirname, "../template-files");
218
+ templateDir = path2.join(__dirname, "template-files");
217
219
  logger.debug(`Using fallback template directory: ${templateDir}`);
218
220
  }
219
221
  if (!await fs.pathExists(templateDir)) {
@@ -252,7 +254,8 @@ function showCompletionMessage(projectName, projectPath) {
252
254
  console.log(chalk2.green.bold(`\u2713 Successfully created ${projectName}!`));
253
255
  logger.newLine();
254
256
  console.log(chalk2.bold("Next steps:"));
255
- console.log(chalk2.gray(` cd ${path2.relative(process.cwd(), projectPath)}`));
257
+ const relativePath = path2.relative(process.cwd(), projectPath).split(path2.sep).join("/");
258
+ console.log(chalk2.gray(` cd ${relativePath}`));
256
259
  console.log(chalk2.gray(" pnpm dev # Start development server"));
257
260
  console.log(chalk2.gray(" pnpm build # Build for production"));
258
261
  logger.newLine();
@@ -1,5 +1,5 @@
1
1
  catalog:
2
- '@iconify-json/ci': ^1.2.2
2
+ '@iconify-json/ci': ^1.2.2
3
3
  '@iconify-json/lucide': ^1.2.44
4
4
  '@internationalized/date': ^3.8.1
5
5
  '@lucide/svelte': ^0.482.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pika-ux",
3
- "version": "1.0.0-beta.6",
3
+ "version": "1.0.0-beta.8",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts",