@livestore/cli 0.4.0-dev.11 → 0.4.0-dev.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/cli",
3
- "version": "0.4.0-dev.11",
3
+ "version": "0.4.0-dev.13",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -11,11 +11,11 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@effect/ai-openai": "0.32.0",
14
- "@livestore/adapter-node": "0.4.0-dev.11",
15
- "@livestore/livestore": "0.4.0-dev.11",
16
- "@livestore/common": "0.4.0-dev.11",
17
- "@livestore/sync-cf": "0.4.0-dev.11",
18
- "@livestore/utils": "0.4.0-dev.11"
14
+ "@livestore/adapter-node": "0.4.0-dev.13",
15
+ "@livestore/livestore": "0.4.0-dev.13",
16
+ "@livestore/utils": "0.4.0-dev.13",
17
+ "@livestore/common": "0.4.0-dev.13",
18
+ "@livestore/sync-cf": "0.4.0-dev.13"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "24.5.2",
package/src/cli.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Cli } from '@livestore/utils/node'
2
2
  import { mcpCommand } from './commands/mcp.ts'
3
- import { newProjectCommand } from './commands/new-project.ts'
3
+ import { createCommand } from './commands/new-project.ts'
4
4
 
5
5
  export const command = Cli.Command.make('livestore', {
6
6
  verbose: Cli.Options.boolean('verbose').pipe(Cli.Options.withDefault(false)),
7
- }).pipe(Cli.Command.withSubcommands([mcpCommand, newProjectCommand]))
7
+ }).pipe(Cli.Command.withSubcommands([mcpCommand, createCommand]))
@@ -192,8 +192,8 @@ const downloadExample = (exampleName: string, branch: string, destinationPath: s
192
192
  yield* Console.log(`✅ Example "${exampleName}" created successfully at: ${destinationPath}`)
193
193
  })
194
194
 
195
- export const newProjectCommand = Cli.Command.make(
196
- 'new-project',
195
+ export const createCommand = Cli.Command.make(
196
+ 'create',
197
197
  {
198
198
  example: Cli.Options.text('example').pipe(
199
199
  Cli.Options.optional,