create-zephyr-apps 0.0.2 → 0.0.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.
package/dist/index.cjs CHANGED
@@ -41,7 +41,7 @@ function end_note({ project }) {
41
41
  const user_name = stdout.toString().trim();
42
42
  const repo_name = project.path.split('/').pop();
43
43
  let next_steps;
44
- next_steps = 'web' === project.type ? `cd ${repo_name} \npnpm install\ngit remote add origin https://github.com/${user_name ?? 'YourUsername'}/${repo_name}.git\npnpm run build` : `cd ${repo_name} \npnpm install\nrm -rf .git\ngit remote set origin https://github.com/${user_name ?? 'YourUsername'}/${repo_name}.git\npnpm run build`;
44
+ next_steps = 'web' === project.type ? `cd ${repo_name} \npnpm install\ngit remote add origin https://github.com/${user_name ?? 'YourUsername'}/${repo_name}.git\npnpm run build` : `cd ${repo_name} \npnpm install\nrm -rf .git\ngit remote set origin https://github.com/${user_name.length >= 1 ? user_name : 'YourUsername'}/${repo_name}.git\npnpm run build`;
45
45
  (0, prompts_namespaceObject.note)(next_steps, 'Next steps.');
46
46
  });
47
47
  } catch (error) {
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ function end_note({ project }) {
14
14
  const user_name = stdout.toString().trim();
15
15
  const repo_name = project.path.split('/').pop();
16
16
  let next_steps;
17
- next_steps = 'web' === project.type ? `cd ${repo_name} \npnpm install\ngit remote add origin https://github.com/${user_name ?? 'YourUsername'}/${repo_name}.git\npnpm run build` : `cd ${repo_name} \npnpm install\nrm -rf .git\ngit remote set origin https://github.com/${user_name ?? 'YourUsername'}/${repo_name}.git\npnpm run build`;
17
+ next_steps = 'web' === project.type ? `cd ${repo_name} \npnpm install\ngit remote add origin https://github.com/${user_name ?? 'YourUsername'}/${repo_name}.git\npnpm run build` : `cd ${repo_name} \npnpm install\nrm -rf .git\ngit remote set origin https://github.com/${user_name.length >= 1 ? user_name : 'YourUsername'}/${repo_name}.git\npnpm run build`;
18
18
  (0, __WEBPACK_EXTERNAL_MODULE__clack_prompts_3cae1695__.note)(next_steps, 'Next steps.');
19
19
  });
20
20
  } catch (error) {
@@ -1,4 +1,4 @@
1
- import { CLIOptions } from "./types";
1
+ import { CLIOptions } from './types';
2
2
  export default function end_note({ project }: {
3
3
  project: CLIOptions;
4
4
  }): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-zephyr-apps",
3
3
  "module": "./src/index.ts",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "rslib build",
@@ -47,4 +47,3 @@
47
47
  "template"
48
48
  ]
49
49
  }
50
-