@archme/cli 0.5.3 → 0.5.4
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.js +4 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8755,7 +8755,7 @@ function xmlEscape(s) {
|
|
|
8755
8755
|
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
8756
8756
|
}
|
|
8757
8757
|
function renderLaunchdPlist(opts) {
|
|
8758
|
-
const argLines = [opts.nodeBin, opts.cliEntry, "daemon", "run"].map((a2) => ` <string>${xmlEscape(a2)}</string>`).join("\n");
|
|
8758
|
+
const argLines = [opts.nodeBin, ...NODE_FLAGS, opts.cliEntry, "daemon", "run"].map((a2) => ` <string>${xmlEscape(a2)}</string>`).join("\n");
|
|
8759
8759
|
const envLines = Object.entries(unitEnv(opts.env)).map(
|
|
8760
8760
|
([k, v]) => ` <key>${xmlEscape(k)}</key>
|
|
8761
8761
|
<string>${xmlEscape(v)}</string>`
|
|
@@ -8801,6 +8801,7 @@ function renderSystemdUnit(opts) {
|
|
|
8801
8801
|
const envLines = Object.entries(unitEnv(opts.env)).map(([k, v]) => `Environment="${k}=${systemdEnvEscape(v)}"`).join("\n");
|
|
8802
8802
|
const execStart = [
|
|
8803
8803
|
systemdArgQuote(opts.nodeBin),
|
|
8804
|
+
...NODE_FLAGS,
|
|
8804
8805
|
systemdArgQuote(opts.cliEntry),
|
|
8805
8806
|
"daemon",
|
|
8806
8807
|
"run"
|
|
@@ -8821,11 +8822,13 @@ ${envLines}
|
|
|
8821
8822
|
WantedBy=default.target
|
|
8822
8823
|
`;
|
|
8823
8824
|
}
|
|
8825
|
+
var NODE_FLAGS;
|
|
8824
8826
|
var init_unitFiles = __esm({
|
|
8825
8827
|
"src/daemon/service/unitFiles.ts"() {
|
|
8826
8828
|
"use strict";
|
|
8827
8829
|
init_paths();
|
|
8828
8830
|
init_supervision();
|
|
8831
|
+
NODE_FLAGS = ["--liftoff-only"];
|
|
8829
8832
|
}
|
|
8830
8833
|
});
|
|
8831
8834
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archme/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "Map your codebase into a living architecture diagram: run `archme init` in a repo to scan it, `archme daemon start` to keep it current on every commit.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|