create-fsd-architecture 1.0.3 → 1.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 (2) hide show
  1. package/bin/index.mjs +14 -13
  2. package/package.json +1 -1
package/bin/index.mjs CHANGED
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env node
2
-
3
1
  import degit from "degit";
4
2
  import prompts from "prompts";
5
3
  import chalk from "chalk";
@@ -13,28 +11,31 @@ const TEMPLATES = [
13
11
  title: "React + Vite",
14
12
  value: "react-vite",
15
13
  description: "React with Vite and FSD architecture",
16
- repo: "ashrafmo-1/FSD",
14
+ repo: "FSD-architectures/FSD",
17
15
  available: true,
18
16
  },
19
17
  {
20
18
  title: "Next.js",
21
19
  value: "nextjs",
22
20
  description: "Next.js — Full-stack React framework with SSR, SSG, and App Router.",
23
- repo: "ashrafmo-1/FSD-NEXTJS",
21
+ repo: "FSD-architectures/FSD-NEXTJS",
24
22
  available: true,
25
23
  },
26
24
  ];
27
25
 
28
26
  function showBanner() {
29
- const line = chalk.cyan("─".repeat(39));
30
- console.log();
31
- console.log(` ${chalk.cyan("╭")}${line}${chalk.cyan("╮")}`);
32
- console.log(` ${chalk.cyan("│")}${" ".repeat(39)}${chalk.cyan("│")}`);
33
- console.log(` ${chalk.cyan("│")}${" ".repeat(7)}${chalk.bold.white("create-fsd-architecture")}${" ".repeat(9)}${chalk.cyan("│")}`);
34
- console.log(` ${chalk.cyan("│")}${" ".repeat(3)}${chalk.dim("Feature-Sliced Design Scaffolding")}${" ".repeat(3)}${chalk.cyan("│")}`);
35
- console.log(` ${chalk.cyan("│")}${" ".repeat(39)}${chalk.cyan("│")}`);
36
- console.log(` ${chalk.cyan("╰")}${line}${chalk.cyan("╯")}`);
37
- console.log();
27
+ const banner = `
28
+ ███████╗ ███████╗ ██████╗
29
+ ██╔════╝ ██╔════╝ ██╔══██╗
30
+ █████╗ ███████╗ ██║ ██║
31
+ ██╔══╝ ╚════██║ ██║ ██║
32
+ ██║ ███████║ ██████╔╝
33
+ ╚═╝ ╚══════╝ ╚═════╝
34
+
35
+ Feature-Sliced Design Scaffolding
36
+ `;
37
+
38
+ console.log(chalk.cyanBright(banner));
38
39
  }
39
40
 
40
41
  function showNextSteps(projectName, depsInstalled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fsd-architecture",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {