@faable/faable 1.21.0 → 1.22.0
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.
|
@@ -59,6 +59,13 @@ const deploy = {
|
|
|
59
59
|
const config = Configuration.instance().deployConfig();
|
|
60
60
|
const app_id = await resolve_app_id(args.app_id, ctx.appId, api, workdir);
|
|
61
61
|
const app = await api.getApp(app_id);
|
|
62
|
+
// Monorepo Root Directory: the server is the source of truth
|
|
63
|
+
// (App.root_dir), so no repo config file is needed. A local
|
|
64
|
+
// faable.json rootDir (dev override) still wins if set.
|
|
65
|
+
if (!config.rootDir && app.root_dir) {
|
|
66
|
+
config.rootDir = app.root_dir;
|
|
67
|
+
log.info(`📁 Monorepo root directory (from app): ${app.root_dir}`);
|
|
68
|
+
}
|
|
62
69
|
// Capture the commit/ref/actor so the deployment records which commit
|
|
63
70
|
// it came from and who pushed it (env in CI, git fallback locally).
|
|
64
71
|
const git = await git_context({ workdir });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faable/faable",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Marc Pomar <marc@faable.com>",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@actions/core": "^3.0.0",
|
|
30
|
-
"@faabletools/buildpacks": "^1.
|
|
30
|
+
"@faabletools/buildpacks": "^1.7.0",
|
|
31
31
|
"axios": "^1.13.2",
|
|
32
32
|
"fs-extra": "^11.3.2",
|
|
33
33
|
"handlebars": "^4.7.8",
|