@getmonoceros/workbench 1.7.3 → 1.7.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/bin.js +8 -10
- package/dist/bin.js.map +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -365,7 +365,7 @@ var GitUserSchema = z.object({
|
|
|
365
365
|
var RepoEntrySchema = z.object({
|
|
366
366
|
url: z.string().regex(
|
|
367
367
|
REPO_URL_RE,
|
|
368
|
-
"Invalid repo URL. Only HTTPS URLs are supported (https://...). SSH-style URLs (git@host:..., ssh://...) are not
|
|
368
|
+
"Invalid repo URL. Only HTTPS URLs are supported (https://...). SSH-style URLs (git@host:..., ssh://...) are not supported."
|
|
369
369
|
),
|
|
370
370
|
path: z.string().regex(
|
|
371
371
|
REPO_PATH_RE,
|
|
@@ -3323,8 +3323,7 @@ function formatRootlessNotSupportedError() {
|
|
|
3323
3323
|
`shell. Otherwise new terminals keep pointing at the rootless`,
|
|
3324
3324
|
`socket and Monoceros's auto-recovery has nothing to fall back to.`,
|
|
3325
3325
|
``,
|
|
3326
|
-
`Then re-run
|
|
3327
|
-
`the workbench repo.`
|
|
3326
|
+
`Then re-run.`
|
|
3328
3327
|
].join("\n");
|
|
3329
3328
|
}
|
|
3330
3329
|
|
|
@@ -3631,7 +3630,7 @@ function warnOnDeprecatedFeatureRefs(containerFeatures, globalConfig, logger) {
|
|
|
3631
3630
|
}
|
|
3632
3631
|
|
|
3633
3632
|
// src/version.ts
|
|
3634
|
-
var CLI_VERSION = true ? "1.7.
|
|
3633
|
+
var CLI_VERSION = true ? "1.7.4" : "dev";
|
|
3635
3634
|
|
|
3636
3635
|
// src/commands/_dispatch.ts
|
|
3637
3636
|
import { consola as consola12 } from "consola";
|
|
@@ -4061,10 +4060,9 @@ var SCHEMA_HEADER = [
|
|
|
4061
4060
|
"# Monoceros solution-config. Edit freely, then run",
|
|
4062
4061
|
"# `monoceros apply <name>` to materialize a dev-container.",
|
|
4063
4062
|
"#",
|
|
4064
|
-
"#
|
|
4065
|
-
"#
|
|
4066
|
-
"# under `
|
|
4067
|
-
"# the feature's `devcontainer-feature.json` for the full list."
|
|
4063
|
+
"# Each section below carries inline comments for the options it",
|
|
4064
|
+
"# accepts. Features expose additional knobs as commented hints",
|
|
4065
|
+
"# under their `options:` block \u2014 un-comment what you need."
|
|
4068
4066
|
];
|
|
4069
4067
|
function generateComposedYml(name, components, lookupManifest, repoUrls = [], ports = []) {
|
|
4070
4068
|
const merged = mergeComponents(components);
|
|
@@ -4279,7 +4277,7 @@ function emitHint(out, hint, description, linePrefix) {
|
|
|
4279
4277
|
}
|
|
4280
4278
|
function renderReposBlock(out, urls, commented) {
|
|
4281
4279
|
out.push("# Repos \u2014 git repositories cloned into projects/ during");
|
|
4282
|
-
out.push("# post-create. HTTPS
|
|
4280
|
+
out.push("# post-create. HTTPS URLs only. Provider auto-detected");
|
|
4283
4281
|
out.push("# for github.com, gitlab.com, bitbucket.org; for any other host");
|
|
4284
4282
|
out.push("# (self-hosted GitLab, Bitbucket Data Center, Gitea/Forgejo,");
|
|
4285
4283
|
out.push("# GitHub Enterprise, \u2026) declare provider explicitly.");
|
|
@@ -4350,7 +4348,7 @@ function renderRoutingHintBlock(out) {
|
|
|
4350
4348
|
function renderActiveRoutingBlock(out, name, ports) {
|
|
4351
4349
|
out.push("# Routing \u2014 expose these container ports to the host through");
|
|
4352
4350
|
out.push("# the shared Traefik singleton. First entry doubles as");
|
|
4353
|
-
out.push(`# http://${name}.localhost (the default route)
|
|
4351
|
+
out.push(`# http://${name}.localhost (the default route).`);
|
|
4354
4352
|
out.push("routing:");
|
|
4355
4353
|
out.push(" ports:");
|
|
4356
4354
|
ports.forEach((port, idx) => {
|