@base44-preview/cli 0.0.15-pr.95.d246983 → 0.0.15-pr.95.fb9043c

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 CHANGED
@@ -79,6 +79,7 @@ Base44 projects are configured via a `config.jsonc` (or `config.json`) file in t
79
79
  ```jsonc
80
80
  // base44/config.jsonc
81
81
  {
82
+ "id": "your-app-id", // Set after project creation
82
83
  "name": "My Project",
83
84
  "entitiesDir": "./entities", // Default: ./entities
84
85
  "functionsDir": "./functions", // Default: ./functions
@@ -88,15 +89,17 @@ Base44 projects are configured via a `config.jsonc` (or `config.json`) file in t
88
89
  }
89
90
  ```
90
91
 
91
- ### App Configuration
92
+ ### Environment Variables
92
93
 
93
- Your app ID is stored in a `.app.jsonc` file in the `base44/` directory. This file is created automatically when you run `base44 create` or `base44 link`:
94
+ | Variable | Description | Default |
95
+ |----------|-------------|---------|
96
+ | `BASE44_CLIENT_ID` | Your app ID | - |
94
97
 
95
- ```jsonc
96
- // base44/.app.jsonc
97
- {
98
- "id": "your-app-id"
99
- }
98
+ You can set these in a `.env.local` file in your `base44/` directory:
99
+
100
+ ```bash
101
+ # base44/.env.local
102
+ BASE44_CLIENT_ID=your-app-id
100
103
  ```
101
104
 
102
105
  ## Project Structure
@@ -107,7 +110,7 @@ A typical Base44 project has this structure:
107
110
  my-project/
108
111
  ├── base44/
109
112
  │ ├── config.jsonc # Project configuration
110
- │ ├── .app.jsonc # App ID (git-ignored)
113
+ │ ├── .env.local # Environment variables (git-ignored)
111
114
  │ ├── entities/ # Entity schema files
112
115
  │ │ ├── user.jsonc
113
116
  │ │ └── product.jsonc