@ereo/cli 0.1.6
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/README.md +169 -0
- package/dist/commands/build.d.ts +19 -0
- package/dist/commands/build.d.ts.map +1 -0
- package/dist/commands/create.d.ts +17 -0
- package/dist/commands/create.d.ts.map +1 -0
- package/dist/commands/db.d.ts +77 -0
- package/dist/commands/db.d.ts.map +1 -0
- package/dist/commands/deploy.d.ts +45 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/dev.d.ts +18 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/start.d.ts +17 -0
- package/dist/commands/start.d.ts.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2335 -0
- package/package.json +47 -0
package/README.md
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# @ereo/cli
|
|
2
|
+
|
|
3
|
+
Command-line interface for the EreoJS framework. Provides commands for development, building, and deployment of EreoJS applications.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun add -g @ereo/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or run directly with:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
bunx @ereo/cli <command>
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Quick Start
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Start development server
|
|
21
|
+
ereo dev
|
|
22
|
+
|
|
23
|
+
# Build for production
|
|
24
|
+
ereo build
|
|
25
|
+
|
|
26
|
+
# Start production server
|
|
27
|
+
ereo start
|
|
28
|
+
|
|
29
|
+
# Create a new project
|
|
30
|
+
ereo create my-app
|
|
31
|
+
|
|
32
|
+
# Deploy to production
|
|
33
|
+
ereo deploy vercel --prod
|
|
34
|
+
|
|
35
|
+
# Database commands
|
|
36
|
+
ereo db:generate --name add_users
|
|
37
|
+
ereo db:migrate
|
|
38
|
+
ereo db:studio
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Commands
|
|
42
|
+
|
|
43
|
+
### `ereo dev`
|
|
44
|
+
|
|
45
|
+
Start the development server with hot module replacement.
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ereo dev --port 8080 --open
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Options:
|
|
52
|
+
- `--port, -p` - Port number (default: 3000)
|
|
53
|
+
- `--host, -h` - Host name (default: localhost)
|
|
54
|
+
- `--open, -o` - Open browser automatically
|
|
55
|
+
|
|
56
|
+
### `ereo build`
|
|
57
|
+
|
|
58
|
+
Build the application for production.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
ereo build --minify --sourcemap
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Options:
|
|
65
|
+
- `--outDir` - Output directory (default: .ereo)
|
|
66
|
+
- `--minify` - Enable minification (default: true)
|
|
67
|
+
- `--sourcemap` - Generate sourcemaps (default: true)
|
|
68
|
+
|
|
69
|
+
### `ereo create`
|
|
70
|
+
|
|
71
|
+
Scaffold a new EreoJS project.
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
ereo create my-app --template tailwind
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Options:
|
|
78
|
+
- `--template, -t` - Template (minimal, default, tailwind)
|
|
79
|
+
- `--typescript` - Use TypeScript (default: true)
|
|
80
|
+
|
|
81
|
+
### `ereo deploy`
|
|
82
|
+
|
|
83
|
+
Deploy to production platforms.
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
ereo deploy vercel --prod
|
|
87
|
+
ereo deploy cloudflare --dry-run
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Options:
|
|
91
|
+
- `--prod` - Deploy to production
|
|
92
|
+
- `--dry-run` - Preview deployment without executing
|
|
93
|
+
- `--name` - Project name for new deployments
|
|
94
|
+
- `--no-build` - Skip build step
|
|
95
|
+
|
|
96
|
+
### `ereo start`
|
|
97
|
+
|
|
98
|
+
Start the production server (requires prior build).
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
ereo start --port 3001
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Options:
|
|
105
|
+
- `--port, -p` - Port number (default: 3000)
|
|
106
|
+
- `--host, -h` - Host name (default: 0.0.0.0)
|
|
107
|
+
|
|
108
|
+
### Database Commands
|
|
109
|
+
|
|
110
|
+
Commands for database management using Drizzle Kit.
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
# Generate migration from schema changes
|
|
114
|
+
ereo db:generate --name add_users_table
|
|
115
|
+
|
|
116
|
+
# Run pending migrations
|
|
117
|
+
ereo db:migrate
|
|
118
|
+
|
|
119
|
+
# Open Drizzle Studio GUI
|
|
120
|
+
ereo db:studio
|
|
121
|
+
|
|
122
|
+
# Push schema directly (dev only)
|
|
123
|
+
ereo db:push
|
|
124
|
+
|
|
125
|
+
# Run database seeders
|
|
126
|
+
ereo db:seed
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
#### db:migrate Options
|
|
130
|
+
- `--config` - Path to drizzle config file
|
|
131
|
+
- `--verbose, -v` - Enable verbose output
|
|
132
|
+
|
|
133
|
+
#### db:generate Options
|
|
134
|
+
- `--name` - Migration name (required)
|
|
135
|
+
- `--config` - Path to drizzle config file
|
|
136
|
+
- `--out` - Output directory for migrations
|
|
137
|
+
|
|
138
|
+
#### db:studio Options
|
|
139
|
+
- `--port` - Port for Drizzle Studio
|
|
140
|
+
- `--config` - Path to drizzle config file
|
|
141
|
+
|
|
142
|
+
#### db:push Options
|
|
143
|
+
- `--config` - Path to drizzle config file
|
|
144
|
+
- `--force, -f` - Skip confirmation prompts
|
|
145
|
+
- `--verbose, -v` - Enable verbose output
|
|
146
|
+
|
|
147
|
+
#### db:seed Options
|
|
148
|
+
- `--file` - Path to seed file
|
|
149
|
+
- `--reset, -r` - Reset database before seeding
|
|
150
|
+
|
|
151
|
+
## Key Features
|
|
152
|
+
|
|
153
|
+
- Hot module replacement for fast development
|
|
154
|
+
- Production-optimized builds with Bun
|
|
155
|
+
- Multiple deployment target support
|
|
156
|
+
- Project scaffolding with templates
|
|
157
|
+
- TypeScript support out of the box
|
|
158
|
+
|
|
159
|
+
## Documentation
|
|
160
|
+
|
|
161
|
+
For full documentation, visit [https://ereo.dev/docs/cli](https://ereo.dev/docs/cli)
|
|
162
|
+
|
|
163
|
+
## Part of EreoJS
|
|
164
|
+
|
|
165
|
+
This package is part of the [EreoJS monorepo](https://github.com/anthropics/ereo-js).
|
|
166
|
+
|
|
167
|
+
## License
|
|
168
|
+
|
|
169
|
+
MIT
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @ereo/cli - Build Command
|
|
3
|
+
*
|
|
4
|
+
* Build the project for production.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Build command options.
|
|
8
|
+
*/
|
|
9
|
+
export interface BuildCommandOptions {
|
|
10
|
+
outDir?: string;
|
|
11
|
+
minify?: boolean;
|
|
12
|
+
sourcemap?: boolean;
|
|
13
|
+
production?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Run the build command.
|
|
17
|
+
*/
|
|
18
|
+
export declare function build(options?: BuildCommandOptions): Promise<void>;
|
|
19
|
+
//# sourceMappingURL=build.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,mBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC,CAkD5E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @ereo/cli - Create Command
|
|
3
|
+
*
|
|
4
|
+
* Create a new EreoJS project with all essential features demonstrated.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Create command options.
|
|
8
|
+
*/
|
|
9
|
+
export interface CreateOptions {
|
|
10
|
+
template?: 'minimal' | 'default' | 'tailwind';
|
|
11
|
+
typescript?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Run the create command.
|
|
15
|
+
*/
|
|
16
|
+
export declare function create(projectName: string, options?: CreateOptions): Promise<void>;
|
|
17
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/commands/create.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,wBAAsB,MAAM,CAC1B,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,aAAkB,GAC1B,OAAO,CAAC,IAAI,CAAC,CAmCf"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @ereo/cli - Database Commands
|
|
3
|
+
*
|
|
4
|
+
* CLI commands for database management using Drizzle Kit.
|
|
5
|
+
* These commands delegate to drizzle-kit under the hood.
|
|
6
|
+
*/
|
|
7
|
+
export interface DbMigrateOptions {
|
|
8
|
+
/** Path to drizzle config file */
|
|
9
|
+
config?: string;
|
|
10
|
+
/** Run in verbose mode */
|
|
11
|
+
verbose?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface DbGenerateOptions {
|
|
14
|
+
/** Migration name */
|
|
15
|
+
name: string;
|
|
16
|
+
/** Path to drizzle config file */
|
|
17
|
+
config?: string;
|
|
18
|
+
/** Custom output directory for migrations */
|
|
19
|
+
out?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface DbStudioOptions {
|
|
22
|
+
/** Port for Drizzle Studio */
|
|
23
|
+
port?: number;
|
|
24
|
+
/** Path to drizzle config file */
|
|
25
|
+
config?: string;
|
|
26
|
+
/** Open browser automatically */
|
|
27
|
+
open?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface DbPushOptions {
|
|
30
|
+
/** Path to drizzle config file */
|
|
31
|
+
config?: string;
|
|
32
|
+
/** Force push without confirmation */
|
|
33
|
+
force?: boolean;
|
|
34
|
+
/** Run in verbose mode */
|
|
35
|
+
verbose?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface DbSeedOptions {
|
|
38
|
+
/** Path to seed file */
|
|
39
|
+
file?: string;
|
|
40
|
+
/** Reset database before seeding */
|
|
41
|
+
reset?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Run pending database migrations.
|
|
45
|
+
*
|
|
46
|
+
* Usage: ereo db:migrate [options]
|
|
47
|
+
*/
|
|
48
|
+
export declare function dbMigrate(options?: DbMigrateOptions): Promise<void>;
|
|
49
|
+
/**
|
|
50
|
+
* Generate a new migration from schema changes.
|
|
51
|
+
*
|
|
52
|
+
* Usage: ereo db:generate --name <migration-name> [options]
|
|
53
|
+
*/
|
|
54
|
+
export declare function dbGenerate(options: DbGenerateOptions): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Open Drizzle Studio GUI.
|
|
57
|
+
*
|
|
58
|
+
* Usage: ereo db:studio [options]
|
|
59
|
+
*/
|
|
60
|
+
export declare function dbStudio(options?: DbStudioOptions): Promise<void>;
|
|
61
|
+
/**
|
|
62
|
+
* Push schema directly to database (dev only).
|
|
63
|
+
*
|
|
64
|
+
* Usage: ereo db:push [options]
|
|
65
|
+
*/
|
|
66
|
+
export declare function dbPush(options?: DbPushOptions): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Run database seeders.
|
|
69
|
+
*
|
|
70
|
+
* Usage: ereo db:seed [options]
|
|
71
|
+
*/
|
|
72
|
+
export declare function dbSeed(options?: DbSeedOptions): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Print help for database commands.
|
|
75
|
+
*/
|
|
76
|
+
export declare function printDbHelp(): void;
|
|
77
|
+
//# sourceMappingURL=db.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"db.d.ts","sourceRoot":"","sources":["../../src/commands/db.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAUH,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sCAAsC;IACtC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0BAA0B;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC5B,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AA6ED;;;;GAIG;AACH,wBAAsB,SAAS,CAAC,OAAO,GAAE,gBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB7E;AAED;;;;GAIG;AACH,wBAAsB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4B1E;AAED;;;;GAIG;AACH,wBAAsB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAwB3E;AAED;;;;GAIG;AACH,wBAAsB,MAAM,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CA4BvE;AAED;;;;GAIG;AACH,wBAAsB,MAAM,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuDvE;AA+BD;;GAEG;AACH,wBAAgB,WAAW,IAAI,IAAI,CA2ClC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @ereo/cli - Deploy Command
|
|
3
|
+
*
|
|
4
|
+
* One-command deployment to various platforms.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Supported deployment targets.
|
|
8
|
+
*/
|
|
9
|
+
export type DeployTarget = 'vercel' | 'cloudflare' | 'fly' | 'netlify' | 'docker';
|
|
10
|
+
/**
|
|
11
|
+
* Deploy command options.
|
|
12
|
+
*/
|
|
13
|
+
export interface DeployOptions {
|
|
14
|
+
/** Target platform */
|
|
15
|
+
target?: DeployTarget;
|
|
16
|
+
/** Build before deploying */
|
|
17
|
+
build?: boolean;
|
|
18
|
+
/** Production mode */
|
|
19
|
+
production?: boolean;
|
|
20
|
+
/** Dry run (don't actually deploy) */
|
|
21
|
+
dryRun?: boolean;
|
|
22
|
+
/** Environment variables */
|
|
23
|
+
env?: Record<string, string>;
|
|
24
|
+
/** Project name (for new deployments) */
|
|
25
|
+
name?: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Deploy result.
|
|
29
|
+
*/
|
|
30
|
+
export interface DeployResult {
|
|
31
|
+
success: boolean;
|
|
32
|
+
url?: string;
|
|
33
|
+
deploymentId?: string;
|
|
34
|
+
logs?: string[];
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Run the deploy command.
|
|
39
|
+
*/
|
|
40
|
+
export declare function deploy(options?: DeployOptions): Promise<DeployResult>;
|
|
41
|
+
/**
|
|
42
|
+
* Print deploy help.
|
|
43
|
+
*/
|
|
44
|
+
export declare function printDeployHelp(): void;
|
|
45
|
+
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/commands/deploy.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,YAAY,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAElF;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,sBAAsB;IACtB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sBAAsB;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4BAA4B;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAsB,MAAM,CAAC,OAAO,GAAE,aAAkB,GAAG,OAAO,CAAC,YAAY,CAAC,CA2D/E;AA0bD;;GAEG;AACH,wBAAgB,eAAe,IAAI,IAAI,CAuBtC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @ereo/cli - Dev Command
|
|
3
|
+
*
|
|
4
|
+
* Start the development server with HMR.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Dev command options.
|
|
8
|
+
*/
|
|
9
|
+
export interface DevOptions {
|
|
10
|
+
port?: number;
|
|
11
|
+
host?: string;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Run the dev command.
|
|
16
|
+
*/
|
|
17
|
+
export declare function dev(options?: DevOptions): Promise<void>;
|
|
18
|
+
//# sourceMappingURL=dev.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAqBH;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAOD;;GAEG;AACH,wBAAsB,GAAG,CAAC,OAAO,GAAE,UAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAqOjE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @ereo/cli - Start Command
|
|
3
|
+
*
|
|
4
|
+
* Start the production server.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Start command options.
|
|
8
|
+
*/
|
|
9
|
+
export interface StartOptions {
|
|
10
|
+
port?: number;
|
|
11
|
+
host?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Run the start command.
|
|
15
|
+
*/
|
|
16
|
+
export declare function start(options?: StartOptions): Promise<void>;
|
|
17
|
+
//# sourceMappingURL=start.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../src/commands/start.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,GAAE,YAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CAuFrE"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
/**
|
|
3
|
+
* @ereo/cli
|
|
4
|
+
*
|
|
5
|
+
* Command-line interface for the EreoJS framework.
|
|
6
|
+
*/
|
|
7
|
+
import { dev, type DevOptions } from './commands/dev';
|
|
8
|
+
import { build, type BuildCommandOptions } from './commands/build';
|
|
9
|
+
import { start, type StartOptions } from './commands/start';
|
|
10
|
+
import { create, type CreateOptions } from './commands/create';
|
|
11
|
+
import { deploy, type DeployOptions, type DeployTarget } from './commands/deploy';
|
|
12
|
+
import { dbMigrate, dbGenerate, dbStudio, dbPush, dbSeed, type DbMigrateOptions, type DbGenerateOptions, type DbStudioOptions, type DbPushOptions, type DbSeedOptions } from './commands/db';
|
|
13
|
+
export { dev, build, start, create, deploy };
|
|
14
|
+
export { dbMigrate, dbGenerate, dbStudio, dbPush, dbSeed };
|
|
15
|
+
export type { DevOptions, BuildCommandOptions, StartOptions, CreateOptions, DeployOptions, DeployTarget };
|
|
16
|
+
export type { DbMigrateOptions, DbGenerateOptions, DbStudioOptions, DbPushOptions, DbSeedOptions };
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAmB,KAAK,aAAa,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACnG,OAAO,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,MAAM,EACN,MAAM,EAEN,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,eAAe,CAAC;AAgRvB,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAC3D,YAAY,EAAE,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC;AAC1G,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,EAAE,aAAa,EAAE,CAAC"}
|