@base44-preview/cli 0.0.4-pr.46.71752bd → 0.0.4-pr.52.66b2e1d

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 (29) hide show
  1. package/bin/dev.cmd +2 -0
  2. package/bin/dev.js +12 -0
  3. package/bin/run.cmd +2 -0
  4. package/bin/run.js +11 -0
  5. package/dist/{cli/index.js → index.js} +9918 -20172
  6. package/dist/{cli/templates/backend-and-client/base44/env.local.ejs → templates/backend-only/base44/.env.local.ejs} +0 -3
  7. package/package.json +31 -11
  8. package/dist/cli/templates/backend-and-client/.nvmrc +0 -1
  9. package/dist/cli/templates/backend-only/base44/env.local.ejs +0 -9
  10. /package/dist/{cli/templates → templates}/backend-and-client/README.md +0 -0
  11. /package/dist/{cli/templates → templates}/backend-and-client/base44/config.jsonc.ejs +0 -0
  12. /package/dist/{cli/templates → templates}/backend-and-client/base44/entities/task.jsonc +0 -0
  13. /package/dist/{cli/templates → templates}/backend-and-client/components.json +0 -0
  14. /package/dist/{cli/templates → templates}/backend-and-client/index.html +0 -0
  15. /package/dist/{cli/templates → templates}/backend-and-client/jsconfig.json +0 -0
  16. /package/dist/{cli/templates → templates}/backend-and-client/package.json +0 -0
  17. /package/dist/{cli/templates → templates}/backend-and-client/postcss.config.js +0 -0
  18. /package/dist/{cli/templates → templates}/backend-and-client/src/App.jsx +0 -0
  19. /package/dist/{cli/templates → templates}/backend-and-client/src/api/base44Client.js.ejs +0 -0
  20. /package/dist/{cli/templates → templates}/backend-and-client/src/components/Base44Logo.jsx +0 -0
  21. /package/dist/{cli/templates → templates}/backend-and-client/src/components/ui/button.jsx +0 -0
  22. /package/dist/{cli/templates → templates}/backend-and-client/src/components/ui/checkbox.jsx +0 -0
  23. /package/dist/{cli/templates → templates}/backend-and-client/src/components/ui/input.jsx +0 -0
  24. /package/dist/{cli/templates → templates}/backend-and-client/src/index.css +0 -0
  25. /package/dist/{cli/templates → templates}/backend-and-client/src/main.jsx +0 -0
  26. /package/dist/{cli/templates → templates}/backend-and-client/tailwind.config.js +0 -0
  27. /package/dist/{cli/templates → templates}/backend-and-client/vite.config.js +0 -0
  28. /package/dist/{cli/templates → templates}/backend-only/base44/config.jsonc.ejs +0 -0
  29. /package/dist/{cli/templates → templates}/templates.json +0 -0
@@ -1,6 +1,3 @@
1
- ---
2
- outputFileName: .env.local
3
- ---
4
1
  # Base44 Project Environment Variables
5
2
  # This file contains environment-specific configuration for your Base44 project.
6
3
  # Do not commit this file to version control if it contains sensitive data.
package/package.json CHANGED
@@ -1,25 +1,27 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.0.4-pr.46.71752bd",
3
+ "version": "0.0.4-pr.52.66b2e1d",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
- "main": "./dist/cli/index.js",
7
- "bin": "./dist/cli/index.js",
8
- "exports": {
9
- ".": "./dist/cli/index.js"
6
+ "main": "dist/index.js",
7
+ "bin": {
8
+ "base44": "./bin/run.js"
10
9
  },
11
10
  "files": [
12
- "dist"
11
+ "dist",
12
+ "bin"
13
13
  ],
14
14
  "scripts": {
15
15
  "build": "tsdown",
16
16
  "typecheck": "tsc --noEmit",
17
- "dev": "tsx src/cli/index.ts",
18
- "start": "node dist/cli/index.js",
17
+ "dev": "./bin/dev.js",
18
+ "start": "./bin/run.js",
19
19
  "clean": "rm -rf dist",
20
20
  "lint": "eslint src",
21
21
  "test": "vitest run",
22
- "test:watch": "vitest"
22
+ "test:watch": "vitest",
23
+ "postpack": "rm -f oclif.manifest.json",
24
+ "prepack": "npm run build && oclif manifest"
23
25
  },
24
26
  "keywords": [
25
27
  "base44",
@@ -32,6 +34,9 @@
32
34
  "type": "git",
33
35
  "url": "https://github.com/base44/cli"
34
36
  },
37
+ "dependencies": {
38
+ "@oclif/core": "^4.0.0"
39
+ },
35
40
  "devDependencies": {
36
41
  "@clack/prompts": "^0.11.0",
37
42
  "@stylistic/eslint-plugin": "^5.6.1",
@@ -42,17 +47,16 @@
42
47
  "@typescript-eslint/eslint-plugin": "^8.51.0",
43
48
  "@typescript-eslint/parser": "^8.51.0",
44
49
  "chalk": "^5.6.2",
45
- "commander": "^12.1.0",
46
50
  "dotenv": "^17.2.3",
47
51
  "ejs": "^3.1.10",
48
52
  "eslint": "^9.39.2",
49
53
  "eslint-plugin-import": "^2.32.0",
50
54
  "eslint-plugin-unicorn": "^62.0.0",
51
- "front-matter": "^4.0.2",
52
55
  "globby": "^16.1.0",
53
56
  "json5": "^2.2.3",
54
57
  "ky": "^1.14.2",
55
58
  "lodash.kebabcase": "^4.1.1",
59
+ "oclif": "^4.0.0",
56
60
  "p-wait-for": "^6.0.0",
57
61
  "tar": "^7.4.3",
58
62
  "tsdown": "^0.12.4",
@@ -62,6 +66,22 @@
62
66
  "vitest": "^4.0.16",
63
67
  "zod": "^4.3.5"
64
68
  },
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
+ },
65
85
  "engines": {
66
86
  "node": ">=20.19.0"
67
87
  }
@@ -1 +0,0 @@
1
- 22.21.1
@@ -1,9 +0,0 @@
1
- ---
2
- outputFileName: .env.local
3
- ---
4
- # Base44 Project Environment Variables
5
- # This file contains environment-specific configuration for your Base44 project.
6
- # Do not commit this file to version control if it contains sensitive data.
7
-
8
- # Your Base44 Application ID
9
- BASE44_CLIENT_ID=<%= projectId %>