@livestore/cli 0.4.0-dev.12 → 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/dist/cli.d.ts +2 -2
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/new-project.d.ts +1 -1
- package/dist/commands/new-project.d.ts.map +1 -1
- package/dist/commands/new-project.js +1 -1
- package/dist/commands/new-project.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/cli.ts +2 -2
- package/src/commands/new-project.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livestore/cli",
|
|
3
|
-
"version": "0.4.0-dev.
|
|
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/
|
|
15
|
-
"@livestore/
|
|
16
|
-
"@livestore/
|
|
17
|
-
"@livestore/
|
|
18
|
-
"@livestore/sync-cf": "0.4.0-dev.
|
|
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 {
|
|
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,
|
|
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
|
|
196
|
-
'
|
|
195
|
+
export const createCommand = Cli.Command.make(
|
|
196
|
+
'create',
|
|
197
197
|
{
|
|
198
198
|
example: Cli.Options.text('example').pipe(
|
|
199
199
|
Cli.Options.optional,
|