@base44-preview/cli 0.0.19-pr.117.9a39069 → 0.0.19-pr.118.6c9be42
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/index.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7905,7 +7905,7 @@ var AuthValidationError = class extends Error {
|
|
|
7905
7905
|
const PROJECT_SUBDIR = "base44";
|
|
7906
7906
|
const CONFIG_FILE_EXTENSION_GLOB = "{json,jsonc}";
|
|
7907
7907
|
const FUNCTION_CONFIG_FILE = `function.${CONFIG_FILE_EXTENSION_GLOB}`;
|
|
7908
|
-
const APP_CONFIG_PATTERN =
|
|
7908
|
+
const APP_CONFIG_PATTERN = `${PROJECT_SUBDIR}/.app.${CONFIG_FILE_EXTENSION_GLOB}`;
|
|
7909
7909
|
const PROJECT_CONFIG_PATTERNS = [`${PROJECT_SUBDIR}/config.${CONFIG_FILE_EXTENSION_GLOB}`, `config.${CONFIG_FILE_EXTENSION_GLOB}`];
|
|
7910
7910
|
const AUTH_CLIENT_ID = "base44_cli";
|
|
7911
7911
|
|
|
@@ -30445,9 +30445,7 @@ async function writeAppConfig(projectRoot, appId) {
|
|
|
30445
30445
|
async function findAppConfigPath(projectRoot) {
|
|
30446
30446
|
return (await globby(APP_CONFIG_PATTERN, {
|
|
30447
30447
|
cwd: projectRoot,
|
|
30448
|
-
absolute: true
|
|
30449
|
-
deep: 3,
|
|
30450
|
-
gitignore: true
|
|
30448
|
+
absolute: true
|
|
30451
30449
|
}))[0] ?? null;
|
|
30452
30450
|
}
|
|
30453
30451
|
async function appConfigExists(projectRoot) {
|