create-foldkit-app 0.5.1 → 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.
@@ -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('🎉 Success! Your Foldkit app is ready.'));
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('Happy coding! 🎨');
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-foldkit-app",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Create Foldkit applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,4 +1,5 @@
1
1
  node_modules
2
2
  dist
3
+ repos
3
4
  *.tsbuildinfo
4
5
  pnpm-lock.yaml
@@ -2,9 +2,9 @@
2
2
 
3
3
  This is a Foldkit app — a framework built on Effect-TS.
4
4
 
5
- If `./foldkit` exists, it contains the full Foldkit repository as a git submodule. The `examples/` directory and `packages/typing-game/client/src/` in particular are the best reference for what idiomatic Foldkit apps look like.
5
+ If `./repos/foldkit` exists, it contains the full Foldkit repository as a git submodule. The `examples/` directory and `packages/typing-game/client/src/` in particular are the best reference for what idiomatic Foldkit apps look like.
6
6
 
7
- If `./foldkit` does not exist and the line below says `submodule_prompted: false`, offer to run `git submodule add https://github.com/devinjameson/foldkit.git` — this gives you access to the full source, examples, and docs. Whether the user accepts or declines, update the value to `true` so it isn't asked again.
7
+ If `./repos/foldkit` does not exist and the line below says `submodule_prompted: false`, offer to run `git submodule add https://github.com/devinjameson/foldkit.git repos/foldkit` — this gives you access to the full source, examples, and docs. Whether the user accepts or declines, update the value to `true` so it isn't asked again.
8
8
 
9
9
  submodule_prompted: false
10
10
 
@@ -41,6 +41,7 @@ export default [
41
41
  ignores: [
42
42
  'dist/',
43
43
  'node_modules/',
44
+ 'repos/',
44
45
  '**/*.d.ts',
45
46
  'eslint.config.mjs',
46
47
  'vite.config.ts',
@@ -1 +1 @@
1
- foldkit/
1
+ repos/