@base44-preview/cli 0.0.17-pr.19.537d5c2 → 0.0.17-pr.19.61c6117
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 +58 -142
- package/bin/dev.js +5 -13
- package/bin/run.js +5 -13
- package/dist/{program.js → index.js} +75 -45
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -1,193 +1,109 @@
|
|
|
1
1
|
# Base44 CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Command-line interface for building applications with [Base44's backend service](https://docs.base44.com/developers/backend/overview/introduction).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Base44's backend service provides a managed backend for your applications, including data storage with entities, serverless functions, authentication, and hosting. The CLI lets you:
|
|
6
|
+
|
|
7
|
+
- **Create projects** from templates.
|
|
8
|
+
- **Sync** resources defined in local code with your Base44 backend.
|
|
9
|
+
- **Deploy sites** to Base44's hosting platform.
|
|
10
|
+
|
|
11
|
+
To get started, see the full list of commands below or check out the [documentation](https://docs.base44.com/developers/references/cli/get-started/overview).
|
|
6
12
|
|
|
7
13
|
## Installation
|
|
8
14
|
|
|
9
15
|
```bash
|
|
10
|
-
# Using npm (globally)
|
|
11
16
|
npm install -g base44
|
|
12
|
-
|
|
13
|
-
# Or run directly with npx
|
|
14
|
-
npx base44 <command>
|
|
15
17
|
```
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
Or run commands directly with npx:
|
|
18
20
|
|
|
19
21
|
```bash
|
|
20
|
-
|
|
21
|
-
base44 login
|
|
22
|
-
|
|
23
|
-
# 2. Create a new project
|
|
24
|
-
base44 create
|
|
25
|
-
|
|
26
|
-
# 3. Deploy everything (entities, functions, and site)
|
|
27
|
-
npm run build
|
|
28
|
-
base44 deploy
|
|
22
|
+
npx base44 <command>
|
|
29
23
|
```
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Authentication
|
|
25
|
+
Requires Node.js 20.19.0 or higher.
|
|
34
26
|
|
|
35
|
-
|
|
36
|
-
|---------|-------------|
|
|
37
|
-
| `base44 login` | Authenticate with Base44 using device code flow |
|
|
38
|
-
| `base44 whoami` | Display current authenticated user |
|
|
39
|
-
| `base44 logout` | Logout from current device |
|
|
40
|
-
|
|
41
|
-
### Project Management
|
|
42
|
-
|
|
43
|
-
| Command | Description |
|
|
44
|
-
|---------|-------------|
|
|
45
|
-
| `base44 create` | Create a new Base44 project from a template |
|
|
46
|
-
| `base44 link` | Link a local project to Base44 (create new or link existing) |
|
|
47
|
-
| `base44 dashboard` | Open the app dashboard in your browser |
|
|
48
|
-
|
|
49
|
-
#### Link Command Options
|
|
50
|
-
|
|
51
|
-
The `link` command supports both creating new projects and linking to existing ones:
|
|
27
|
+
## Quick start
|
|
52
28
|
|
|
53
29
|
```bash
|
|
54
|
-
#
|
|
55
|
-
base44
|
|
56
|
-
|
|
57
|
-
# Create a new project (non-interactive)
|
|
58
|
-
base44 link --create --name "my-app" --description "My app description"
|
|
30
|
+
# Authenticate
|
|
31
|
+
base44 login
|
|
59
32
|
|
|
60
|
-
#
|
|
61
|
-
base44
|
|
33
|
+
# Create a project
|
|
34
|
+
base44 create
|
|
62
35
|
```
|
|
63
36
|
|
|
64
|
-
|
|
65
|
-
|--------|-------------|
|
|
66
|
-
| `-c, --create` | Create a new project (skip selection prompt) |
|
|
67
|
-
| `-n, --name <name>` | Project name (required with --create) |
|
|
68
|
-
| `-d, --description <desc>` | Project description (optional) |
|
|
69
|
-
| `-p, --projectId <id>` | Link to an existing project by ID (skips selection prompt) |
|
|
37
|
+
The CLI will guide you through project setup. For step-by-step tutorials, see the quickstart guides:
|
|
70
38
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
| Command | Description |
|
|
74
|
-
|---------|-------------|
|
|
75
|
-
| `base44 deploy` | Deploy all resources (entities, functions, and site) |
|
|
39
|
+
- [Backend only](https://docs.base44.com/developers/backend/quickstart/quickstart-backend-only) — for headless apps or custom frontends
|
|
40
|
+
- [React](https://docs.base44.com/developers/backend/quickstart/quickstart-with-react) — full-stack with Vite + React
|
|
76
41
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
| Command | Description |
|
|
80
|
-
|---------|-------------|
|
|
81
|
-
| `base44 entities push` | Push local entity schemas to Base44 |
|
|
82
|
-
|
|
83
|
-
### Functions
|
|
42
|
+
## Commands
|
|
84
43
|
|
|
85
44
|
| Command | Description |
|
|
86
|
-
|
|
87
|
-
| `base44
|
|
88
|
-
|
|
89
|
-
|
|
45
|
+
| ------- | ----------- |
|
|
46
|
+
| [`create`](https://docs.base44.com/developers/references/cli/commands/create) | Create a new Base44 project from a template |
|
|
47
|
+
| [`deploy`](https://docs.base44.com/developers/references/cli/commands/deploy) | Deploy resources and site to Base44 |
|
|
48
|
+
| [`link`](https://docs.base44.com/developers/references/cli/commands/link) | Link a local project to a project on Base44 |
|
|
49
|
+
| [`dashboard`](https://docs.base44.com/developers/references/cli/commands/dashboard) | Open the app dashboard in your browser |
|
|
50
|
+
| [`login`](https://docs.base44.com/developers/references/cli/commands/login) | Authenticate with Base44 |
|
|
51
|
+
| [`logout`](https://docs.base44.com/developers/references/cli/commands/logout) | Sign out and clear stored credentials |
|
|
52
|
+
| [`whoami`](https://docs.base44.com/developers/references/cli/commands/whoami) | Display the current authenticated user |
|
|
53
|
+
| [`entities push`](https://docs.base44.com/developers/references/cli/commands/entities-push) | Push local entity schemas to Base44 |
|
|
54
|
+
| [`functions deploy`](https://docs.base44.com/developers/references/cli/commands/functions-deploy) | Deploy local functions to Base44 |
|
|
55
|
+
| [`site deploy`](https://docs.base44.com/developers/references/cli/commands/site-deploy) | Deploy built site files to Base44 hosting |
|
|
90
56
|
|
|
91
|
-
| Command | Description |
|
|
92
|
-
|---------|-------------|
|
|
93
|
-
| `base44 site deploy` | Deploy built site files to Base44 hosting |
|
|
94
57
|
|
|
95
|
-
|
|
58
|
+
<!--| [`eject`](https://docs.base44.com/developers/references/cli/commands/eject) | Create a Base44 backend project from an existing Base44 app | -->
|
|
96
59
|
|
|
97
|
-
|
|
60
|
+
## AI Agent Skills
|
|
98
61
|
|
|
99
|
-
|
|
62
|
+
When creating a project, you'll be prompted to install AI agent skills for your preferred coding assistants:
|
|
100
63
|
|
|
101
|
-
```jsonc
|
|
102
|
-
// base44/config.jsonc
|
|
103
|
-
{
|
|
104
|
-
"name": "My Project",
|
|
105
|
-
"entitiesDir": "./entities", // Default: ./entities
|
|
106
|
-
"functionsDir": "./functions", // Default: ./functions
|
|
107
|
-
"site": {
|
|
108
|
-
"outputDirectory": "../dist" // Path to built site files
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
64
|
```
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
```jsonc
|
|
118
|
-
// base44/.app.jsonc
|
|
119
|
-
{
|
|
120
|
-
"id": "your-app-id"
|
|
121
|
-
}
|
|
65
|
+
◆ Add AI agent skills? (Select agents to configure)
|
|
66
|
+
│ ◼ Cursor
|
|
67
|
+
│ ◼ Claude Code
|
|
68
|
+
└
|
|
122
69
|
```
|
|
123
70
|
|
|
124
|
-
|
|
71
|
+
This installs [base44/skills](https://github.com/base44/skills) which helps AI agents understand how to work with Base44 projects.
|
|
125
72
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
```
|
|
129
|
-
my-project/
|
|
130
|
-
├── base44/
|
|
131
|
-
│ ├── config.jsonc # Project configuration
|
|
132
|
-
│ ├── .app.jsonc # App ID (git-ignored)
|
|
133
|
-
│ ├── entities/ # Entity schema files
|
|
134
|
-
│ │ ├── user.jsonc
|
|
135
|
-
│ │ └── product.jsonc
|
|
136
|
-
│ └── functions/ # Backend functions
|
|
137
|
-
│ └── my-function/
|
|
138
|
-
│ ├── config.jsonc
|
|
139
|
-
│ └── index.js
|
|
140
|
-
├── src/ # Your frontend code
|
|
141
|
-
├── dist/ # Built site files (for deployment)
|
|
142
|
-
└── package.json
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
## Development
|
|
146
|
-
|
|
147
|
-
### Prerequisites
|
|
148
|
-
|
|
149
|
-
- Node.js >= 20.19.0
|
|
150
|
-
- npm
|
|
151
|
-
|
|
152
|
-
### Setup
|
|
73
|
+
**Non-interactive mode:**
|
|
153
74
|
|
|
154
75
|
```bash
|
|
155
|
-
#
|
|
156
|
-
|
|
157
|
-
cd cli
|
|
76
|
+
# Install skills for all supported agents
|
|
77
|
+
base44 create --name my-app --path ./my-app --skills
|
|
158
78
|
|
|
159
|
-
#
|
|
160
|
-
|
|
79
|
+
# Skip skills installation
|
|
80
|
+
base44 create --name my-app --path ./my-app
|
|
81
|
+
```
|
|
161
82
|
|
|
162
|
-
|
|
163
|
-
npm run build
|
|
83
|
+
**Manual installation:**
|
|
164
84
|
|
|
165
|
-
|
|
166
|
-
|
|
85
|
+
```bash
|
|
86
|
+
npx add-skill base44/skills
|
|
167
87
|
```
|
|
168
88
|
|
|
169
|
-
|
|
89
|
+
## Help
|
|
170
90
|
|
|
171
91
|
```bash
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
npm run dev # Run in development mode with tsx
|
|
175
|
-
npm run lint # Lint with ESLint
|
|
176
|
-
npm test # Run tests with Vitest
|
|
92
|
+
base44 --help
|
|
93
|
+
base44 <command> --help
|
|
177
94
|
```
|
|
178
95
|
|
|
179
|
-
|
|
96
|
+
## Version
|
|
180
97
|
|
|
181
98
|
```bash
|
|
182
|
-
|
|
183
|
-
npm start -- <command>
|
|
184
|
-
|
|
185
|
-
# Or directly
|
|
186
|
-
./dist/cli/index.js <command>
|
|
99
|
+
base44 --version
|
|
187
100
|
```
|
|
188
|
-
## Contributing
|
|
189
101
|
|
|
190
|
-
|
|
102
|
+
## Alpha
|
|
103
|
+
|
|
104
|
+
The CLI and Base44 backend service are currently in alpha. We're actively improving them based on user feedback. Share your thoughts and feature requests on our [GitHub Discussions](https://github.com/orgs/base44/discussions).
|
|
105
|
+
|
|
106
|
+
Found a bug? [Open an issue](https://github.com/base44/cli/issues).
|
|
191
107
|
|
|
192
108
|
## License
|
|
193
109
|
|
package/bin/dev.js
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env tsx
|
|
2
|
-
import { program, CLIExitError } from
|
|
2
|
+
import { program, CLIExitError } from "../src/cli/index.ts";
|
|
3
3
|
|
|
4
4
|
try {
|
|
5
5
|
await program.parseAsync();
|
|
6
|
-
} catch (
|
|
7
|
-
if (
|
|
8
|
-
process.exit(
|
|
6
|
+
} catch (error) {
|
|
7
|
+
if (error instanceof CLIExitError) {
|
|
8
|
+
process.exit(error.code);
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
if (e?.code === 'commander.helpDisplayed' || e?.code === 'commander.version') {
|
|
12
|
-
process.exit(0);
|
|
13
|
-
}
|
|
14
|
-
// For other Commander errors, exit with the provided code
|
|
15
|
-
if (e?.exitCode !== undefined) {
|
|
16
|
-
process.exit(e.exitCode);
|
|
17
|
-
}
|
|
18
|
-
console.error(e);
|
|
10
|
+
console.error(error);
|
|
19
11
|
process.exit(1);
|
|
20
12
|
}
|
package/bin/run.js
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { program, CLIExitError } from
|
|
2
|
+
import { program, CLIExitError } from "../dist/index.js";
|
|
3
3
|
|
|
4
4
|
try {
|
|
5
5
|
await program.parseAsync();
|
|
6
|
-
} catch (
|
|
7
|
-
if (
|
|
8
|
-
process.exit(
|
|
6
|
+
} catch (error) {
|
|
7
|
+
if (error instanceof CLIExitError) {
|
|
8
|
+
process.exit(error.code);
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
if (e?.code === 'commander.helpDisplayed' || e?.code === 'commander.version') {
|
|
12
|
-
process.exit(0);
|
|
13
|
-
}
|
|
14
|
-
// For other Commander errors, exit with the provided code
|
|
15
|
-
if (e?.exitCode !== undefined) {
|
|
16
|
-
process.exit(e.exitCode);
|
|
17
|
-
}
|
|
18
|
-
console.error(e);
|
|
10
|
+
console.error(error);
|
|
19
11
|
process.exit(1);
|
|
20
12
|
}
|
|
@@ -30605,6 +30605,21 @@ async function getUserInfo(accessToken) {
|
|
|
30605
30605
|
return result.data;
|
|
30606
30606
|
}
|
|
30607
30607
|
|
|
30608
|
+
//#endregion
|
|
30609
|
+
//#region src/cli/errors.ts
|
|
30610
|
+
/**
|
|
30611
|
+
* Error thrown to signal a controlled CLI exit with a specific exit code.
|
|
30612
|
+
* This allows proper error propagation without calling process.exit() directly,
|
|
30613
|
+
* making the code more testable and maintaining a single exit point.
|
|
30614
|
+
*/
|
|
30615
|
+
var CLIExitError = class extends Error {
|
|
30616
|
+
constructor(code$1) {
|
|
30617
|
+
super(`CLI exited with code ${code$1}`);
|
|
30618
|
+
this.code = code$1;
|
|
30619
|
+
this.name = "CLIExitError";
|
|
30620
|
+
}
|
|
30621
|
+
};
|
|
30622
|
+
|
|
30608
30623
|
//#endregion
|
|
30609
30624
|
//#region node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
30610
30625
|
const ANSI_BACKGROUND_OFFSET = 10;
|
|
@@ -38051,6 +38066,13 @@ var require_lodash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
38051
38066
|
//#region src/cli/commands/project/create.ts
|
|
38052
38067
|
var import_lodash = /* @__PURE__ */ __toESM(require_lodash(), 1);
|
|
38053
38068
|
const DEFAULT_TEMPLATE_ID = "backend-only";
|
|
38069
|
+
const SUPPORTED_AGENTS = [{
|
|
38070
|
+
value: "cursor",
|
|
38071
|
+
label: "Cursor"
|
|
38072
|
+
}, {
|
|
38073
|
+
value: "claude-code",
|
|
38074
|
+
label: "Claude Code"
|
|
38075
|
+
}];
|
|
38054
38076
|
async function getTemplateById(templateId) {
|
|
38055
38077
|
const templates = await listTemplates();
|
|
38056
38078
|
const template = templates.find((t) => t.id === templateId);
|
|
@@ -38113,6 +38135,7 @@ async function createInteractive(options) {
|
|
|
38113
38135
|
description: result.description || void 0,
|
|
38114
38136
|
projectPath: result.projectPath,
|
|
38115
38137
|
deploy: options.deploy,
|
|
38138
|
+
skills: options.skills,
|
|
38116
38139
|
isInteractive: true
|
|
38117
38140
|
});
|
|
38118
38141
|
}
|
|
@@ -38123,10 +38146,11 @@ async function createNonInteractive(options) {
|
|
|
38123
38146
|
description: options.description,
|
|
38124
38147
|
projectPath: options.path,
|
|
38125
38148
|
deploy: options.deploy,
|
|
38149
|
+
skills: options.skills,
|
|
38126
38150
|
isInteractive: false
|
|
38127
38151
|
});
|
|
38128
38152
|
}
|
|
38129
|
-
async function executeCreate({ template, name: rawName, description, projectPath, deploy, isInteractive }) {
|
|
38153
|
+
async function executeCreate({ template, name: rawName, description, projectPath, deploy, skills, isInteractive }) {
|
|
38130
38154
|
const name$1 = rawName.trim();
|
|
38131
38155
|
const resolvedPath = resolve(projectPath);
|
|
38132
38156
|
const { projectId } = await runTask("Setting up your project...", async () => {
|
|
@@ -38186,12 +38210,45 @@ async function executeCreate({ template, name: rawName, description, projectPath
|
|
|
38186
38210
|
finalAppUrl = appUrl;
|
|
38187
38211
|
}
|
|
38188
38212
|
}
|
|
38213
|
+
let selectedAgents = [];
|
|
38214
|
+
if (isInteractive) {
|
|
38215
|
+
const result = await fe({
|
|
38216
|
+
message: "Add AI agent skills? (Select agents to configure)",
|
|
38217
|
+
options: SUPPORTED_AGENTS,
|
|
38218
|
+
initialValues: SUPPORTED_AGENTS.map((agent) => agent.value),
|
|
38219
|
+
required: false
|
|
38220
|
+
});
|
|
38221
|
+
if (!pD(result)) selectedAgents = result;
|
|
38222
|
+
} else if (skills) selectedAgents = SUPPORTED_AGENTS.map((agent) => agent.value);
|
|
38223
|
+
if (selectedAgents.length > 0) {
|
|
38224
|
+
const agentArgs = selectedAgents.flatMap((agent) => ["-a", agent]);
|
|
38225
|
+
M.step(`Installing skills for: ${selectedAgents.join(", ")}`);
|
|
38226
|
+
await runTask(`Installing skills for: ${selectedAgents.join(", ")}`, async () => {
|
|
38227
|
+
await execa("npx", [
|
|
38228
|
+
"-y",
|
|
38229
|
+
"add-skill",
|
|
38230
|
+
"base44/skills",
|
|
38231
|
+
"-y",
|
|
38232
|
+
"-s",
|
|
38233
|
+
"base44-cli",
|
|
38234
|
+
"-s",
|
|
38235
|
+
"base44-sdk",
|
|
38236
|
+
...agentArgs
|
|
38237
|
+
], {
|
|
38238
|
+
cwd: resolvedPath,
|
|
38239
|
+
stdio: "inherit"
|
|
38240
|
+
});
|
|
38241
|
+
}, {
|
|
38242
|
+
successMessage: theme.colors.base44Orange("AI agent skills added successfully"),
|
|
38243
|
+
errorMessage: "Failed to add AI agent skills - you can add them later with: npx add-skill base44/skills"
|
|
38244
|
+
});
|
|
38245
|
+
}
|
|
38189
38246
|
M.message(`${theme.styles.header("Project")}: ${theme.colors.base44Orange(name$1)}`);
|
|
38190
38247
|
M.message(`${theme.styles.header("Dashboard")}: ${theme.colors.links(getDashboardUrl(projectId))}`);
|
|
38191
38248
|
if (finalAppUrl) M.message(`${theme.styles.header("Site")}: ${theme.colors.links(finalAppUrl)}`);
|
|
38192
38249
|
return { outroMessage: "Your project is set up and ready to use" };
|
|
38193
38250
|
}
|
|
38194
|
-
const createCommand = new Command("create").description("Create a new Base44 project").option("-n, --name <name>", "Project name").option("-d, --description <description>", "Project description").option("-p, --path <path>", "Path where to create the project").option("-t, --template <id>", "Template ID (e.g., backend-only, backend-and-client)").option("--deploy", "Build and deploy the site").hook("preAction", validateNonInteractiveFlags$1).action(async (options) => {
|
|
38251
|
+
const createCommand = new Command("create").description("Create a new Base44 project").option("-n, --name <name>", "Project name").option("-d, --description <description>", "Project description").option("-p, --path <path>", "Path where to create the project").option("-t, --template <id>", "Template ID (e.g., backend-only, backend-and-client)").option("--deploy", "Build and deploy the site").option("--skills", "Add AI agent skills (Cursor, Claude Code)").hook("preAction", validateNonInteractiveFlags$1).action(async (options) => {
|
|
38195
38252
|
await chooseCreate(options);
|
|
38196
38253
|
});
|
|
38197
38254
|
|
|
@@ -38921,46 +38978,19 @@ var version = "0.0.17";
|
|
|
38921
38978
|
|
|
38922
38979
|
//#endregion
|
|
38923
38980
|
//#region src/cli/program.ts
|
|
38924
|
-
|
|
38925
|
-
|
|
38926
|
-
|
|
38927
|
-
|
|
38928
|
-
|
|
38929
|
-
|
|
38930
|
-
|
|
38931
|
-
|
|
38932
|
-
|
|
38933
|
-
|
|
38934
|
-
|
|
38935
|
-
|
|
38936
|
-
|
|
38937
|
-
|
|
38938
|
-
|
|
38939
|
-
|
|
38940
|
-
function createProgram() {
|
|
38941
|
-
const program$2 = new Command();
|
|
38942
|
-
program$2.name("base44").description("Base44 CLI - Unified interface for managing Base44 applications").version(version);
|
|
38943
|
-
program$2.configureHelp({ sortSubcommands: true });
|
|
38944
|
-
program$2.exitOverride((err) => {
|
|
38945
|
-
throw err;
|
|
38946
|
-
});
|
|
38947
|
-
program$2.configureOutput({
|
|
38948
|
-
writeOut: (str) => process.stdout.write(str),
|
|
38949
|
-
writeErr: (str) => process.stderr.write(str)
|
|
38950
|
-
});
|
|
38951
|
-
program$2.addCommand(loginCommand);
|
|
38952
|
-
program$2.addCommand(whoamiCommand);
|
|
38953
|
-
program$2.addCommand(logoutCommand);
|
|
38954
|
-
program$2.addCommand(createCommand);
|
|
38955
|
-
program$2.addCommand(dashboardCommand);
|
|
38956
|
-
program$2.addCommand(deployCommand);
|
|
38957
|
-
program$2.addCommand(linkCommand);
|
|
38958
|
-
program$2.addCommand(entitiesPushCommand);
|
|
38959
|
-
program$2.addCommand(functionsDeployCommand);
|
|
38960
|
-
program$2.addCommand(siteDeployCommand);
|
|
38961
|
-
return program$2;
|
|
38962
|
-
}
|
|
38963
|
-
const program = createProgram();
|
|
38964
|
-
|
|
38965
|
-
//#endregion
|
|
38966
|
-
export { CLIExitError, createProgram, program };
|
|
38981
|
+
const program = new Command();
|
|
38982
|
+
program.name("base44").description("Base44 CLI - Unified interface for managing Base44 applications").version(version);
|
|
38983
|
+
program.configureHelp({ sortSubcommands: true });
|
|
38984
|
+
program.addCommand(loginCommand);
|
|
38985
|
+
program.addCommand(whoamiCommand);
|
|
38986
|
+
program.addCommand(logoutCommand);
|
|
38987
|
+
program.addCommand(createCommand);
|
|
38988
|
+
program.addCommand(dashboardCommand);
|
|
38989
|
+
program.addCommand(deployCommand);
|
|
38990
|
+
program.addCommand(linkCommand);
|
|
38991
|
+
program.addCommand(entitiesPushCommand);
|
|
38992
|
+
program.addCommand(functionsDeployCommand);
|
|
38993
|
+
program.addCommand(siteDeployCommand);
|
|
38994
|
+
|
|
38995
|
+
//#endregion
|
|
38996
|
+
export { CLIExitError, program };
|
package/package.json
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/cli",
|
|
3
|
-
"version": "0.0.17-pr.19.
|
|
3
|
+
"version": "0.0.17-pr.19.61c6117",
|
|
4
4
|
"description": "Base44 CLI - Unified interface for managing Base44 applications",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/program.js",
|
|
7
6
|
"bin": {
|
|
8
7
|
"base44": "./bin/run.js"
|
|
9
8
|
},
|
|
10
|
-
"exports": {
|
|
11
|
-
".": "./dist/program.js"
|
|
12
|
-
},
|
|
13
9
|
"files": [
|
|
14
10
|
"dist",
|
|
15
11
|
"bin"
|
|
@@ -71,5 +67,8 @@
|
|
|
71
67
|
},
|
|
72
68
|
"engines": {
|
|
73
69
|
"node": ">=20.19.0"
|
|
70
|
+
},
|
|
71
|
+
"optionalDependencies": {
|
|
72
|
+
"@rollup/rollup-linux-x64-gnu": "^4.56.0"
|
|
74
73
|
}
|
|
75
74
|
}
|