@revideo/create 0.4.1 → 0.4.2-alpha.999

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/index.js +22 -5
  2. package/package.json +9 -9
package/index.js CHANGED
@@ -108,19 +108,36 @@ async function run() {
108
108
 
109
109
  // Tell user that the process is complete
110
110
  const manager = getPackageManager();
111
- console.log(kleur.green('\n√ Scaffolding complete. You can now run:'));
111
+ console.log(
112
+ kleur.green(
113
+ '\n√ Scaffolding complete. Run the following commands to get started:',
114
+ ),
115
+ );
112
116
  if (response.path !== process.cwd()) {
113
117
  console.log(
114
118
  ` ${kleur.bold('cd')} ${path.relative(process.cwd(), response.path)}`,
115
119
  );
116
120
  }
121
+
117
122
  const boldManager = kleur.bold(manager);
118
- if (manager === 'yarn') {
119
- console.log(` ${boldManager}`);
123
+ const installCommand =
124
+ manager === 'yarn' ? ` ${boldManager}` : ` ${boldManager} install`;
125
+
126
+ if (response.starter == 'default') {
127
+ console.log(installCommand);
120
128
  console.log(` ${boldManager} start`);
121
129
  } else {
122
- console.log(` ${boldManager} install`);
123
- console.log(` ${boldManager} start`);
130
+ console.log(kleur.blue('\n√ Start the NextJS server:'));
131
+ console.log(` ${kleur.bold('cd')} next`);
132
+ console.log(installCommand);
133
+ console.log(` ${boldManager} run dev`);
134
+
135
+ console.log(
136
+ kleur.blue('\nIn another terminal, serve your revideo project:'),
137
+ );
138
+ console.log(` ${kleur.bold('cd')} revideo`);
139
+ console.log(installCommand);
140
+ console.log(` ${kleur.bold('npx')} revideo serve`);
124
141
  }
125
142
  console.log();
126
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revideo/create",
3
- "version": "0.4.1",
3
+ "version": "0.4.2-alpha.999+f0a78def",
4
4
  "description": "Quickly scaffold revideo projects",
5
5
  "main": "index.js",
6
6
  "author": "revideo",
@@ -20,17 +20,17 @@
20
20
  "url": "https://github.com/havenhq/revideo.git"
21
21
  },
22
22
  "devDependencies": {
23
- "@revideo/2d": "0.4.1",
24
- "@revideo/core": "0.4.1",
25
- "@revideo/ffmpeg": "0.4.1",
26
- "@revideo/renderer": "0.4.1",
27
- "@revideo/ui": "0.4.1",
28
- "@revideo/vite-plugin": "0.4.1"
23
+ "@revideo/2d": "^0.4.2-alpha.999+f0a78def",
24
+ "@revideo/core": "^0.4.2-alpha.999+f0a78def",
25
+ "@revideo/ffmpeg": "^0.4.2-alpha.999+f0a78def",
26
+ "@revideo/renderer": "^0.4.2-alpha.999+f0a78def",
27
+ "@revideo/ui": "^0.4.2-alpha.999+f0a78def",
28
+ "@revideo/vite-plugin": "^0.4.2-alpha.999+f0a78def"
29
29
  },
30
30
  "dependencies": {
31
- "@revideo/telemetry": "0.4.1",
31
+ "@revideo/telemetry": "^0.4.2-alpha.999+f0a78def",
32
32
  "minimist": "^1.2.8",
33
33
  "prompts": "^2.4.2"
34
34
  },
35
- "gitHead": "078aca5bed4529a35c8a3df2d5b2a9b04369290c"
35
+ "gitHead": "f0a78defbae2f917cd688b2bb94306a4534ef24e"
36
36
  }