@base44-preview/cli 0.0.51-pr.503.6669b14 → 0.0.51-pr.503.750a608
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/cli/index.js +2 -5
- package/dist/cli/index.js.map +3 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -243441,9 +243441,6 @@ var functionResource = {
|
|
|
243441
243441
|
push: (functions) => deployFunctionsSequentially(functions)
|
|
243442
243442
|
};
|
|
243443
243443
|
// src/core/project/config.ts
|
|
243444
|
-
function describeFunctionSource(fn) {
|
|
243445
|
-
return fn.source.type === "plugin" ? `plugin "${fn.source.namespace}"` : "project";
|
|
243446
|
-
}
|
|
243447
243444
|
async function findConfigInDir(dir) {
|
|
243448
243445
|
const files = await globby(PROJECT_CONFIG_PATTERNS, {
|
|
243449
243446
|
cwd: dir,
|
|
@@ -243596,7 +243593,7 @@ class ProjectConfigReader {
|
|
|
243596
243593
|
for (const fn of functions) {
|
|
243597
243594
|
const existingFunction = functionsByName.get(fn.name);
|
|
243598
243595
|
if (existingFunction) {
|
|
243599
|
-
throw new ConfigInvalidError(`Duplicate function name "${fn.name}" after loading project plugins
|
|
243596
|
+
throw new ConfigInvalidError(`Duplicate function name "${fn.name}" after loading project plugins.`, configPath, {
|
|
243600
243597
|
hints: [
|
|
243601
243598
|
{
|
|
243602
243599
|
message: "Rename the project function or change the plugin namespace/function name so every deploy name is unique."
|
|
@@ -261548,4 +261545,4 @@ export {
|
|
|
261548
261545
|
CLIExitError
|
|
261549
261546
|
};
|
|
261550
261547
|
|
|
261551
|
-
//# debugId=
|
|
261548
|
+
//# debugId=2ADA1E4C26BBE1A464756E2164756E21
|