create-foldkit-app 0.5.2 → 0.5.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/commands/create.js +7 -3
- package/package.json +1 -1
package/dist/commands/create.js
CHANGED
|
@@ -27,13 +27,17 @@ const installProjectDependencies = (projectPath, packageManager, example) => Eff
|
|
|
27
27
|
});
|
|
28
28
|
const runDevServerCommand = (packageManager) => Match.value(packageManager).pipe(Match.when('pnpm', () => 'pnpm dev'), Match.when('npm', () => 'npm run dev'), Match.when('yarn', () => 'yarn dev'), Match.exhaustive);
|
|
29
29
|
const displaySuccessMessage = (name, packageManager) => Effect.gen(function* () {
|
|
30
|
-
yield* Console.log(chalk.bold('🎉
|
|
30
|
+
yield* Console.log(chalk.bold('🎉 Your Foldkit app is ready!'));
|
|
31
31
|
yield* Console.log('');
|
|
32
|
-
yield* Console.log('Next steps:');
|
|
33
32
|
yield* Console.log(` ${chalk.cyan('cd')} ${name}`);
|
|
34
33
|
yield* Console.log(` ${chalk.cyan(runDevServerCommand(packageManager))}`);
|
|
35
34
|
yield* Console.log('');
|
|
36
|
-
yield* Console.log('
|
|
35
|
+
yield* Console.log(chalk.dim('Note: Foldkit is a one-person nights-and-weekends project.\n' +
|
|
36
|
+
'If you try it and have thoughts — good, bad, or confused —\n' +
|
|
37
|
+
"I'd genuinely love to hear them."));
|
|
38
|
+
yield* Console.log('');
|
|
39
|
+
yield* Console.log(` Bugs / ideas: ${chalk.cyan('github.com/devinjameson/foldkit/issues')}`);
|
|
40
|
+
yield* Console.log(` Say hi: ${chalk.cyan('x.com/devinjameson')}`);
|
|
37
41
|
});
|
|
38
42
|
export const create = ({ name, example, packageManager }) => Effect.gen(function* () {
|
|
39
43
|
const path = yield* Path.Path;
|