create-foldkit-app 0.5.17 → 0.6.0

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/dist/index.js +16 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11,30 +11,38 @@ const nameSchema = Schema.String.pipe(Schema.filter(name => Match.value(name).pi
11
11
  const name = Options.text('name').pipe(Options.withAlias('n'), Options.withDescription('The name of the project to create'), Options.withSchema(nameSchema));
12
12
  const example = Options.choice('example', [
13
13
  'counter',
14
- 'stopwatch',
15
- 'weather',
16
14
  'todo',
15
+ 'stopwatch',
16
+ 'crash-view',
17
17
  'form',
18
- 'snake',
18
+ 'job-application',
19
+ 'weather',
19
20
  'routing',
20
21
  'query-sync',
22
+ 'snake',
23
+ 'auth',
21
24
  'shopping-cart',
25
+ 'pixel-art',
22
26
  'websocket-chat',
23
- 'auth',
27
+ 'kanban',
24
28
  'ui-showcase',
25
29
  ]).pipe(Options.withAlias('e'), Options.withDescription("The example application to start from. Pick an example that's similar to the application you're building. Or create multiple projects and take pieces of each!\n\n" +
26
30
  'Available examples:\n' +
27
31
  ' counter - Simple increment/decrement with reset\n' +
28
- ' stopwatch - Timer with start/stop/reset functionality\n' +
29
- ' weather - HTTP requests with async state handling\n' +
30
32
  ' todo - CRUD operations with localStorage persistence\n' +
33
+ ' stopwatch - Timer with start/stop/reset functionality\n' +
34
+ ' crash-view - Custom crash fallback UI with crash.view and crash.report\n' +
31
35
  ' form - Form validation with async email checking\n' +
32
- ' snake - Classic game built with subscriptions\n' +
36
+ ' job-application - Multi-step form with async validation, file uploads, and per-step error indicators\n' +
37
+ ' weather - HTTP requests with async state handling\n' +
33
38
  ' routing - URL routing with parser combinators and route parameters\n' +
34
39
  ' query-sync - URL-driven filtering, sorting, and search with query parameters\n' +
40
+ ' snake - Classic game built with subscriptions\n' +
41
+ ' auth - Authentication with Submodels, OutMessage, and protected routes\n' +
35
42
  ' shopping-cart - Complex state management with nested models and routing\n' +
43
+ ' pixel-art - Pixel editor with undo/redo, time-travel history, UI components, and localStorage persistence\n' +
36
44
  ' websocket-chat - Managed resources with WebSocket integration\n' +
37
- ' auth - Authentication with Submodels, OutMessage, and protected routes\n' +
45
+ ' kanban - Drag-and-drop board with fractional indexing, keyboard navigation, and screen reader announcements\n' +
38
46
  ' ui-showcase - Every Foldkit UI component with routing and Submodels'));
39
47
  const packageManager = Options.choice('package-manager', [
40
48
  'pnpm',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-foldkit-app",
3
- "version": "0.5.17",
3
+ "version": "0.6.0",
4
4
  "description": "Create Foldkit applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",