@tdk-landscape/tdk-cli-core 1.3.142 → 1.3.144
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/cli/dist/cli.js +1 -1
- package/cli/dist/commands/help.js +1 -1
- package/cli/dist/commands/status.js +4 -3
- package/cli/dist/commands/ui.js +3 -2
- package/cli/dist/utils/smoke.js +6 -1
- package/cli/dist/utils/tilt-startup.js +7 -1
- package/cli/dist-bundle/{chunk-6WQCJGMP.js → chunk-2PTDOT3Y.js} +2 -2
- package/cli/dist-bundle/cli.js +251 -251
- package/cli/dist-bundle/{cold-preflight-FBMOXJ34.js → cold-preflight-CGPSYGDB.js} +1 -1
- package/cli/package.json +2 -2
- package/engine/assets/docker/wake-gateway/Dockerfile +1 -0
- package/engine/assets/docker/wake-gateway/server.ts +3 -0
- package/engine/topologies/tilt/generators/npmrc.star +4 -7
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{createRequire as __tdkRequire}from'node:module';const require=__tdkRequire(import.meta.url);
|
|
2
|
-
import{sb as a,tb as b,ub as c,vb as d,wb as e}from"./chunk-
|
|
2
|
+
import{sb as a,tb as b,ub as c,vb as d,wb as e}from"./chunk-2PTDOT3Y.js";import"./chunk-42IVF3YT.js";import"./chunk-6EA4DGCY.js";export{e as assertMachineReadyOrExit,d as formatColdPreflight,a as nodeTooOld,b as requireVerifiedDockerVersions,c as runColdPreflight};
|
package/cli/package.json
CHANGED
|
@@ -349,6 +349,9 @@ Bun.serve({
|
|
|
349
349
|
// was raised. 255s is Bun's own max for this setting.
|
|
350
350
|
idleTimeout: 255,
|
|
351
351
|
fetch(req) {
|
|
352
|
+
if (req.method === "GET" && new URL(req.url).pathname === "/health") {
|
|
353
|
+
return new Response("ok");
|
|
354
|
+
}
|
|
352
355
|
return handleWake(req).catch((err) => {
|
|
353
356
|
console.error("wake gateway error:", err);
|
|
354
357
|
return new Response(`wake gateway error: ${String(err)}`, { status: 500 });
|
|
@@ -51,22 +51,19 @@ def generate_npmrc(resource_path, registry_url, is_docker, write_fn, verdaccio_e
|
|
|
51
51
|
write_fn: File writer function
|
|
52
52
|
verdaccio_enabled: If False, scoped packages fall back to public npm (default True)
|
|
53
53
|
"""
|
|
54
|
-
registry_host = registry_url.replace("http://", "").replace("https://", "").rstrip("/")
|
|
55
|
-
|
|
56
54
|
target_dir = resource_path + "/" + OUTPUT.AUTOGENERATED_FOLDER
|
|
57
55
|
generated_filename = PACKAGE_CONFIG_FILENAMES['npmrc_docker_autogenerated'] if is_docker else PACKAGE_CONFIG_FILENAMES['npmrc']
|
|
58
56
|
header = Utils.get_template_header("npmrc", target_dir + "/" + generated_filename)
|
|
59
57
|
|
|
60
58
|
if verdaccio_enabled:
|
|
59
|
+
# Verdaccio's default policy permits anonymous reads and requires
|
|
60
|
+
# authentication only for publishing. Keep user credentials in the
|
|
61
|
+
# user's npm config; generated project files must not contain defaults.
|
|
61
62
|
content = """{header}
|
|
62
63
|
registry=https://registry.npmjs.org/
|
|
63
64
|
@{npm_scope}:registry={registry_url}/
|
|
64
65
|
@tdk-landscape:registry={registry_url}/
|
|
65
|
-
@identity:registry={registry_url}/
|
|
66
|
-
//{registry_host}/:username=admin
|
|
67
|
-
//{registry_host}/:_password=YWRtaW4=
|
|
68
|
-
//{registry_host}/:email=admin@example.com
|
|
69
|
-
//{registry_host}/:always-auth=true""".format(header=header, registry_url=registry_url, registry_host=registry_host, npm_scope=_NPM_SCOPE)
|
|
66
|
+
@identity:registry={registry_url}/""".format(header=header, registry_url=registry_url, npm_scope=_NPM_SCOPE)
|
|
70
67
|
else:
|
|
71
68
|
# Verdaccio not enabled (no license key) — all scopes use public npm
|
|
72
69
|
content = """{header}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tdk-landscape/tdk-cli-core",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"description": "TDK CLI — start services on your
|
|
3
|
+
"version": "1.3.144",
|
|
4
|
+
"description": "TDK CLI — start services on your machine.",
|
|
5
5
|
"homepage": "https://tdk-landscape.github.io/tdk-website",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|