create-harper 0.0.9 → 0.0.10

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/README.md CHANGED
@@ -41,19 +41,19 @@ You can also directly specify the project name and the template you want to use
41
41
 
42
42
  ```bash
43
43
  # npm 7+, extra double-dash is needed:
44
- npm create harper@latest my-vue-app -- --template vue
44
+ npm create harper@latest my-react-app -- --template react-ts
45
45
 
46
46
  # yarn
47
- yarn create harper my-vue-app --template vue
47
+ yarn create harper my-react-app --template react-ts
48
48
 
49
49
  # pnpm
50
- pnpm create harper my-vue-app --template vue
50
+ pnpm create harper my-react-app --template react-ts
51
51
 
52
52
  # Bun
53
- bun create harper my-vue-app --template vue
53
+ bun create harper my-react-app --template react-ts
54
54
 
55
55
  # Deno
56
- deno init --npm harper my-vue-app --template vue
56
+ deno init --npm harper my-react-app --template react-ts
57
57
  ```
58
58
 
59
59
  Currently supported template presets include:
@@ -2,7 +2,6 @@ import colors from 'picocolors';
2
2
 
3
3
  const {
4
4
  cyan,
5
- green,
6
5
  yellow,
7
6
  } = colors;
8
7
 
@@ -24,5 +23,4 @@ Options:
24
23
 
25
24
  Available templates:
26
25
  ${yellow('vanilla-ts vanilla')}
27
- ${green('vue-ts vue')}
28
26
  ${cyan('react-ts react')}`;
@@ -24,12 +24,12 @@ export async function checkForUpdate() {
24
24
  if (latestVersion && isVersionNewer(latestVersion, currentVersion)) {
25
25
  console.log(
26
26
  pc.yellow(
27
- `\n A new version of ${pc.bold(pkg.name)} is available! (${pc.dim(currentVersion)} -> ${
27
+ `\nA new version of ${pc.bold(pkg.name)} is available! (${pc.dim(currentVersion)} -> ${
28
28
  pc.green(latestVersion)
29
29
  })`,
30
30
  ),
31
31
  );
32
- console.log(` Automatically updating to the latest version...\n`);
32
+ console.log(`Automatically updating to the latest version...\n`);
33
33
 
34
34
  // Clear the npx cache for this package to ensure we get the latest version
35
35
  const lsResult = spawn.sync('npm', ['cache', 'npx', 'ls', pkg.name], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-harper",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "HarperDB",