@base44-preview/cli 0.0.4-pr.52.66b2e1d → 0.0.4-pr.53.0ce7d55

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.
Files changed (27) hide show
  1. package/dist/{index.js → cli/index.js} +19159 -16455
  2. package/package.json +10 -31
  3. package/bin/dev.cmd +0 -2
  4. package/bin/dev.js +0 -12
  5. package/bin/run.cmd +0 -2
  6. package/bin/run.js +0 -11
  7. /package/dist/{templates → cli/templates}/backend-and-client/README.md +0 -0
  8. /package/dist/{templates → cli/templates}/backend-and-client/base44/config.jsonc.ejs +0 -0
  9. /package/dist/{templates → cli/templates}/backend-and-client/base44/entities/task.jsonc +0 -0
  10. /package/dist/{templates → cli/templates}/backend-and-client/components.json +0 -0
  11. /package/dist/{templates → cli/templates}/backend-and-client/index.html +0 -0
  12. /package/dist/{templates → cli/templates}/backend-and-client/jsconfig.json +0 -0
  13. /package/dist/{templates → cli/templates}/backend-and-client/package.json +0 -0
  14. /package/dist/{templates → cli/templates}/backend-and-client/postcss.config.js +0 -0
  15. /package/dist/{templates → cli/templates}/backend-and-client/src/App.jsx +0 -0
  16. /package/dist/{templates → cli/templates}/backend-and-client/src/api/base44Client.js.ejs +0 -0
  17. /package/dist/{templates → cli/templates}/backend-and-client/src/components/Base44Logo.jsx +0 -0
  18. /package/dist/{templates → cli/templates}/backend-and-client/src/components/ui/button.jsx +0 -0
  19. /package/dist/{templates → cli/templates}/backend-and-client/src/components/ui/checkbox.jsx +0 -0
  20. /package/dist/{templates → cli/templates}/backend-and-client/src/components/ui/input.jsx +0 -0
  21. /package/dist/{templates → cli/templates}/backend-and-client/src/index.css +0 -0
  22. /package/dist/{templates → cli/templates}/backend-and-client/src/main.jsx +0 -0
  23. /package/dist/{templates → cli/templates}/backend-and-client/tailwind.config.js +0 -0
  24. /package/dist/{templates → cli/templates}/backend-and-client/vite.config.js +0 -0
  25. /package/dist/{templates → cli/templates}/backend-only/base44/.env.local.ejs +0 -0
  26. /package/dist/{templates → cli/templates}/backend-only/base44/config.jsonc.ejs +0 -0
  27. /package/dist/{templates → cli/templates}/templates.json +0 -0
package/package.json CHANGED
@@ -1,27 +1,25 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.0.4-pr.52.66b2e1d",
3
+ "version": "0.0.4-pr.53.0ce7d55",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "bin": {
8
- "base44": "./bin/run.js"
6
+ "main": "./dist/cli/index.js",
7
+ "bin": "./dist/cli/index.js",
8
+ "exports": {
9
+ ".": "./dist/cli/index.js"
9
10
  },
10
11
  "files": [
11
- "dist",
12
- "bin"
12
+ "dist"
13
13
  ],
14
14
  "scripts": {
15
15
  "build": "tsdown",
16
16
  "typecheck": "tsc --noEmit",
17
- "dev": "./bin/dev.js",
18
- "start": "./bin/run.js",
17
+ "dev": "tsx src/cli/index.ts",
18
+ "start": "node dist/cli/index.js",
19
19
  "clean": "rm -rf dist",
20
20
  "lint": "eslint src",
21
21
  "test": "vitest run",
22
- "test:watch": "vitest",
23
- "postpack": "rm -f oclif.manifest.json",
24
- "prepack": "npm run build && oclif manifest"
22
+ "test:watch": "vitest"
25
23
  },
26
24
  "keywords": [
27
25
  "base44",
@@ -34,9 +32,6 @@
34
32
  "type": "git",
35
33
  "url": "https://github.com/base44/cli"
36
34
  },
37
- "dependencies": {
38
- "@oclif/core": "^4.0.0"
39
- },
40
35
  "devDependencies": {
41
36
  "@clack/prompts": "^0.11.0",
42
37
  "@stylistic/eslint-plugin": "^5.6.1",
@@ -47,6 +42,7 @@
47
42
  "@typescript-eslint/eslint-plugin": "^8.51.0",
48
43
  "@typescript-eslint/parser": "^8.51.0",
49
44
  "chalk": "^5.6.2",
45
+ "commander": "^12.1.0",
50
46
  "dotenv": "^17.2.3",
51
47
  "ejs": "^3.1.10",
52
48
  "eslint": "^9.39.2",
@@ -56,7 +52,6 @@
56
52
  "json5": "^2.2.3",
57
53
  "ky": "^1.14.2",
58
54
  "lodash.kebabcase": "^4.1.1",
59
- "oclif": "^4.0.0",
60
55
  "p-wait-for": "^6.0.0",
61
56
  "tar": "^7.4.3",
62
57
  "tsdown": "^0.12.4",
@@ -66,22 +61,6 @@
66
61
  "vitest": "^4.0.16",
67
62
  "zod": "^4.3.5"
68
63
  },
69
- "oclif": {
70
- "bin": "base44",
71
- "dirname": "base44",
72
- "commands": {
73
- "strategy": "explicit",
74
- "target": "./dist/index.js",
75
- "identifier": "COMMANDS"
76
- },
77
- "hooks": {
78
- "prerun": {
79
- "target": "./dist/index.js",
80
- "identifier": "PRERUN_HOOK"
81
- }
82
- },
83
- "topicSeparator": " "
84
- },
85
64
  "engines": {
86
65
  "node": ">=20.19.0"
87
66
  }
package/bin/dev.cmd DELETED
@@ -1,2 +0,0 @@
1
- @echo off
2
- npx tsx "%~dp0\dev.js" %*
package/bin/dev.js DELETED
@@ -1,12 +0,0 @@
1
- #!/usr/bin/env tsx
2
- import { execute } from "@oclif/core";
3
- import { fileURLToPath } from "node:url";
4
- import { dirname, resolve } from "node:path";
5
-
6
- const __filename = fileURLToPath(import.meta.url);
7
- const __dirname = dirname(__filename);
8
-
9
- await execute({
10
- development: true,
11
- dir: resolve(__dirname, ".."),
12
- });
package/bin/run.cmd DELETED
@@ -1,2 +0,0 @@
1
- @echo off
2
- node "%~dp0\run.js" %*
package/bin/run.js DELETED
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
- import { execute } from "@oclif/core";
3
- import { fileURLToPath } from "node:url";
4
- import { dirname, resolve } from "node:path";
5
-
6
- const __filename = fileURLToPath(import.meta.url);
7
- const __dirname = dirname(__filename);
8
-
9
- await execute({
10
- dir: resolve(__dirname, ".."),
11
- });