@getmonoceros/workbench 1.27.0 → 1.28.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.
- package/dist/bin.js +32 -3
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -2278,7 +2278,7 @@ var init_catalog = __esm({
|
|
|
2278
2278
|
override = process.env.MONOCEROS_BASE_IMAGE_OVERRIDE?.trim();
|
|
2279
2279
|
BASE_IMAGE = override && override.length > 0 ? override : DEFAULT_BASE_IMAGE;
|
|
2280
2280
|
RUNTIME_IMAGE_REPO = "ghcr.io/getmonoceros/monoceros-runtime";
|
|
2281
|
-
DEFAULT_RUNTIME_VERSION = true ? "1.2
|
|
2281
|
+
DEFAULT_RUNTIME_VERSION = true ? "1.3.2" : readFileSync3(
|
|
2282
2282
|
fileURLToPath2(
|
|
2283
2283
|
new URL("../../../../images/runtime/VERSION", import.meta.url)
|
|
2284
2284
|
),
|
|
@@ -2964,6 +2964,35 @@ function ideStateVolumes(name) {
|
|
|
2964
2964
|
volume: `monoceros-${name}-vscodium-userdata`,
|
|
2965
2965
|
target: "/home/node/.vscodium-server/data/User",
|
|
2966
2966
|
minRuntime: "1.2.0"
|
|
2967
|
+
},
|
|
2968
|
+
// JetBrains (ADR 0022). Only the backend DISTRIBUTION
|
|
2969
|
+
// (`~/.cache/JetBrains/RemoteDev/dist`, ~3 GB, identical across
|
|
2970
|
+
// containers) is shared machine-wide - downloaded once. The sibling
|
|
2971
|
+
// RemoteDev state (`active/`, `recent/`, `remote-dev-worker/`) is
|
|
2972
|
+
// per-user session state and stays per-container, inside the
|
|
2973
|
+
// per-container `~/.cache/JetBrains` volume; sharing it pooled every
|
|
2974
|
+
// container's recent-projects/active-sessions (the "wild" Gateway
|
|
2975
|
+
// list). The shared `dist` mount nests two levels into that volume.
|
|
2976
|
+
{
|
|
2977
|
+
volume: "monoceros-jetbrains-dist",
|
|
2978
|
+
target: "/home/node/.cache/JetBrains/RemoteDev/dist",
|
|
2979
|
+
minRuntime: "1.3.2",
|
|
2980
|
+
shared: true
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
volume: `monoceros-${name}-jetbrains-cache`,
|
|
2984
|
+
target: "/home/node/.cache/JetBrains",
|
|
2985
|
+
minRuntime: "1.3.0"
|
|
2986
|
+
},
|
|
2987
|
+
{
|
|
2988
|
+
volume: `monoceros-${name}-jetbrains-config`,
|
|
2989
|
+
target: "/home/node/.config/JetBrains",
|
|
2990
|
+
minRuntime: "1.3.0"
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
volume: `monoceros-${name}-jetbrains-data`,
|
|
2994
|
+
target: "/home/node/.local/share/JetBrains",
|
|
2995
|
+
minRuntime: "1.3.0"
|
|
2967
2996
|
}
|
|
2968
2997
|
];
|
|
2969
2998
|
}
|
|
@@ -7869,7 +7898,7 @@ var CLI_VERSION;
|
|
|
7869
7898
|
var init_version = __esm({
|
|
7870
7899
|
"src/version.ts"() {
|
|
7871
7900
|
"use strict";
|
|
7872
|
-
CLI_VERSION = true ? "1.
|
|
7901
|
+
CLI_VERSION = true ? "1.28.0" : "dev";
|
|
7873
7902
|
}
|
|
7874
7903
|
});
|
|
7875
7904
|
|
|
@@ -9747,7 +9776,7 @@ async function runRemove(opts) {
|
|
|
9747
9776
|
logger,
|
|
9748
9777
|
exec: dockerExec
|
|
9749
9778
|
});
|
|
9750
|
-
const ideVolumes = ideStateVolumes(opts.name).map((v) => v.volume);
|
|
9779
|
+
const ideVolumes = ideStateVolumes(opts.name).filter((v) => !v.shared).map((v) => v.volume);
|
|
9751
9780
|
await dockerExec(["volume", "rm", "-f", ...ideVolumes]);
|
|
9752
9781
|
let backupPath = null;
|
|
9753
9782
|
if (!opts.noBackup && (hasYml || hasContainer)) {
|