@base44-preview/cli 0.0.15-pr.19.d9072f9 → 0.0.15-pr.87.c55c15e
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/{program.js → cli/index.js} +335 -208
- package/package.json +8 -14
- package/bin/dev.cmd +0 -2
- package/bin/dev.js +0 -20
- package/bin/run.cmd +0 -2
- package/bin/run.js +0 -20
- /package/dist/{templates → cli/templates}/backend-and-client/.nvmrc +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/README.md +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/base44/app.jsonc.ejs +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/base44/config.jsonc.ejs +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/base44/entities/task.jsonc +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/components.json +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/index.html +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/jsconfig.json +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/package.json +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/postcss.config.js +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/App.jsx +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/api/base44Client.js.ejs +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/components/Base44Logo.jsx +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/components/ui/button.jsx +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/components/ui/checkbox.jsx +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/components/ui/input.jsx +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/index.css +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/src/main.jsx +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/tailwind.config.js +0 -0
- /package/dist/{templates → cli/templates}/backend-and-client/vite.config.js +0 -0
- /package/dist/{templates → cli/templates}/backend-only/base44/app.jsonc.ejs +0 -0
- /package/dist/{templates → cli/templates}/backend-only/base44/config.jsonc.ejs +0 -0
- /package/dist/{templates → cli/templates}/templates.json +0 -0
package/package.json
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base44-preview/cli",
|
|
3
|
-
"version": "0.0.15-pr.
|
|
3
|
+
"version": "0.0.15-pr.87.c55c15e",
|
|
4
4
|
"description": "Base44 CLI - Unified interface for managing Base44 applications",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./dist/
|
|
7
|
-
"bin":
|
|
8
|
-
"base44": "./bin/run.js"
|
|
9
|
-
},
|
|
6
|
+
"main": "./dist/cli/index.js",
|
|
7
|
+
"bin": "./dist/cli/index.js",
|
|
10
8
|
"exports": {
|
|
11
|
-
".": "./dist/
|
|
9
|
+
".": "./dist/cli/index.js"
|
|
12
10
|
},
|
|
13
11
|
"files": [
|
|
14
|
-
"dist"
|
|
15
|
-
"bin"
|
|
12
|
+
"dist"
|
|
16
13
|
],
|
|
17
14
|
"scripts": {
|
|
18
15
|
"build": "tsdown",
|
|
19
16
|
"typecheck": "tsc --noEmit",
|
|
20
|
-
"dev": "
|
|
21
|
-
"start": "
|
|
17
|
+
"dev": "tsx src/cli/index.ts",
|
|
18
|
+
"start": "node dist/cli/index.js",
|
|
22
19
|
"clean": "rm -rf dist",
|
|
23
|
-
"lint": "eslint src
|
|
20
|
+
"lint": "eslint src",
|
|
24
21
|
"test": "vitest run",
|
|
25
22
|
"test:watch": "vitest"
|
|
26
23
|
},
|
|
@@ -56,12 +53,9 @@
|
|
|
56
53
|
"json5": "^2.2.3",
|
|
57
54
|
"ky": "^1.14.2",
|
|
58
55
|
"lodash.kebabcase": "^4.1.1",
|
|
59
|
-
"msw": "^2.12.7",
|
|
60
56
|
"open": "^11.0.0",
|
|
61
57
|
"p-wait-for": "^6.0.0",
|
|
62
|
-
"strip-ansi": "^7.1.2",
|
|
63
58
|
"tar": "^7.5.4",
|
|
64
|
-
"tmp-promise": "^3.0.3",
|
|
65
59
|
"tsdown": "^0.12.4",
|
|
66
60
|
"tsx": "^4.19.2",
|
|
67
61
|
"typescript": "^5.7.2",
|
package/bin/dev.cmd
DELETED
package/bin/dev.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env tsx
|
|
2
|
-
import { program, CLIExitError } from '../src/cli/program.ts';
|
|
3
|
-
|
|
4
|
-
try {
|
|
5
|
-
await program.parseAsync();
|
|
6
|
-
} catch (e) {
|
|
7
|
-
if (e instanceof CLIExitError) {
|
|
8
|
-
process.exit(e.code); // Clean exit, no stack trace
|
|
9
|
-
}
|
|
10
|
-
// Commander throws for --help and --version with exitCode 0
|
|
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);
|
|
19
|
-
process.exit(1);
|
|
20
|
-
}
|
package/bin/run.cmd
DELETED
package/bin/run.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { program, CLIExitError } from '../dist/program.js';
|
|
3
|
-
|
|
4
|
-
try {
|
|
5
|
-
await program.parseAsync();
|
|
6
|
-
} catch (e) {
|
|
7
|
-
if (e instanceof CLIExitError) {
|
|
8
|
-
process.exit(e.code); // Clean exit, no stack trace
|
|
9
|
-
}
|
|
10
|
-
// Commander throws for --help and --version with exitCode 0
|
|
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);
|
|
19
|
-
process.exit(1);
|
|
20
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|