@tdk-landscape/tdk-cli-core 1.3.134 → 1.3.136
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/bin/tdk.js +2 -0
- package/cli/dist/backend-frameworks/registry.js +2 -0
- package/cli/dist/backend-languages/registry.js +2 -0
- package/cli/dist/cli.js +2 -0
- package/cli/dist/commands/__tests__/project-e2e-helpers.js +2 -0
- package/cli/dist/commands/completion.js +2 -0
- package/cli/dist/commands/config.js +2 -0
- package/cli/dist/commands/doctor.js +4 -2
- package/cli/dist/commands/down.js +2 -0
- package/cli/dist/commands/eject.js +2 -0
- package/cli/dist/commands/help.js +2 -0
- package/cli/dist/commands/import.js +2 -0
- package/cli/dist/commands/logs.js +2 -0
- package/cli/dist/commands/maintainers.js +2 -0
- package/cli/dist/commands/mcp.js +2 -0
- package/cli/dist/commands/networks.js +2 -0
- package/cli/dist/commands/project.js +2 -0
- package/cli/dist/commands/projects.js +2 -0
- package/cli/dist/commands/resource.js +2 -0
- package/cli/dist/commands/resources.js +2 -0
- package/cli/dist/commands/runtime.js +2 -0
- package/cli/dist/commands/stack.js +2 -0
- package/cli/dist/commands/stacks.js +2 -0
- package/cli/dist/commands/status.js +2 -0
- package/cli/dist/commands/ui.js +2 -0
- package/cli/dist/commands/up.js +2 -0
- package/cli/dist/commands/upgrade.js +2 -0
- package/cli/dist/commands/version.js +2 -0
- package/cli/dist/components/BaseTooltip.js +2 -0
- package/cli/dist/components/DetailPanel.js +2 -0
- package/cli/dist/components/FileTree.js +2 -0
- package/cli/dist/components/ResourceSelectInput.js +2 -0
- package/cli/dist/components/ResourceTable.js +2 -0
- package/cli/dist/components/ServiceIssues.js +2 -0
- package/cli/dist/components/TUIHeader.js +2 -0
- package/cli/dist/components/TabBar.js +2 -0
- package/cli/dist/components/Tooltip.js +2 -0
- package/cli/dist/components/index.js +2 -0
- package/cli/dist/components/ui-theme.js +2 -0
- package/cli/dist/config/platform-standards.js +2 -0
- package/cli/dist/frontend-frameworks/registry.js +2 -0
- package/cli/dist/generator/__tests__/golden-helpers.js +2 -0
- package/cli/dist/generator/extension-fetch.js +2 -0
- package/cli/dist/generator/resource-templates.js +2 -0
- package/cli/dist/generator/template-engine.js +8 -2
- package/cli/dist/mcp/server.js +2 -0
- package/cli/dist/mcp/tools.js +2 -0
- package/cli/dist/utils/agent-host.js +2 -0
- package/cli/dist/utils/atomic-write.js +2 -0
- package/cli/dist/utils/bun-floor.js +2 -0
- package/cli/dist/utils/cold-preflight.js +2 -0
- package/cli/dist/utils/discovery-paths.js +31 -5
- package/cli/dist/utils/docker.js +2 -0
- package/cli/dist/utils/doctor-runtime.js +8 -3
- package/cli/dist/utils/doctor-starlark.js +2 -0
- package/cli/dist/utils/doctor-wiring.js +2 -0
- package/cli/dist/utils/down-cleanup.js +2 -0
- package/cli/dist/utils/env-validator.js +2 -0
- package/cli/dist/utils/errors.js +2 -0
- package/cli/dist/utils/exec-async.js +2 -0
- package/cli/dist/utils/file-helpers.js +2 -0
- package/cli/dist/utils/formatting.js +2 -0
- package/cli/dist/utils/generated-paths.js +2 -0
- package/cli/dist/utils/host-port-config.js +3 -1
- package/cli/dist/utils/host-port-plan.js +2 -0
- package/cli/dist/utils/json-output.js +2 -0
- package/cli/dist/utils/machine-output.js +2 -0
- package/cli/dist/utils/paths.js +2 -0
- package/cli/dist/utils/platform.js +2 -0
- package/cli/dist/utils/port-assignment.js +2 -0
- package/cli/dist/utils/port-conflict-fix.js +2 -0
- package/cli/dist/utils/port-listener-probe.js +2 -0
- package/cli/dist/utils/project-config-defaults.js +2 -0
- package/cli/dist/utils/project-features.js +2 -0
- package/cli/dist/utils/prompt.js +2 -0
- package/cli/dist/utils/resource-features.js +2 -0
- package/cli/dist/utils/resource-kind.js +2 -0
- package/cli/dist/utils/schema-version-gate.js +2 -0
- package/cli/dist/utils/secret-redaction.js +2 -0
- package/cli/dist/utils/service-config-checks.js +2 -0
- package/cli/dist/utils/service-manifest.js +2 -0
- package/cli/dist/utils/service-urls.js +2 -0
- package/cli/dist/utils/services.js +2 -0
- package/cli/dist/utils/shared-platform-postgres.js +26 -5
- package/cli/dist/utils/single-flight.js +2 -0
- package/cli/dist/utils/smoke.js +5 -0
- package/cli/dist/utils/spinner.js +2 -0
- package/cli/dist/utils/startup-report.js +2 -0
- package/cli/dist/utils/suggestions.js +2 -0
- package/cli/dist/utils/tar.js +2 -0
- package/cli/dist/utils/tdk-version.js +2 -0
- package/cli/dist/utils/tilt-process.js +2 -0
- package/cli/dist/utils/tilt-resource-state.js +2 -0
- package/cli/dist/utils/tilt-startup.js +2 -0
- package/cli/dist/utils/tilt-unreachable-message.js +2 -0
- package/cli/dist/utils/tilt.js +2 -0
- package/cli/dist/utils/up-readiness.js +2 -0
- package/cli/dist/utils/which.js +2 -0
- package/cli/dist/utils/windows-doctor.js +2 -0
- package/cli/dist-bundle/{chunk-DLEX3BP5.js → chunk-I63IBPUZ.js} +7 -7
- package/cli/dist-bundle/cli.js +4 -4
- package/cli/dist-bundle/{cold-preflight-6X67ZFII.js → cold-preflight-NXFER2W6.js} +1 -1
- package/cli/package.json +2 -1
- package/cli/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/install-deps.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +2 -0
- package/cli/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +2 -0
- package/discovery/TILT_DISCOVERY.star +2 -0
- package/discovery/config.star +2 -0
- package/discovery/constants.star +2 -0
- package/discovery/deterministic.star +2 -0
- package/discovery/discovery_daemon.star +2 -0
- package/discovery/discovery_orchestrator.star +2 -0
- package/discovery/filtering.star +2 -0
- package/discovery/incremental_discovery.star +2 -0
- package/discovery/indexing.star +2 -0
- package/discovery/json_manifest_scanner.star +2 -0
- package/discovery/libraries.star +2 -0
- package/discovery/loading.star +2 -0
- package/discovery/manifest/constants.star +2 -0
- package/discovery/manifest/loading.star +2 -0
- package/discovery/manifest/normalize.star +2 -0
- package/discovery/manifest/validation.star +2 -0
- package/discovery/normalization.star +2 -0
- package/discovery/registry.star +2 -0
- package/discovery/resource_snapshot.py +2 -0
- package/discovery/resource_snapshot.star +2 -0
- package/discovery/schemas.star +2 -0
- package/discovery/test_resource_snapshot.py +2 -0
- package/discovery/validation.star +2 -0
- package/discovery/versioning.star +2 -0
- package/engine/assets/docker/wake-gateway/decide.test.ts +2 -0
- package/engine/assets/docker/wake-gateway/decide.ts +2 -0
- package/engine/assets/docker/wake-gateway/server.ts +2 -0
- package/engine/assets/scripts/cleanup-completed-migrator-images.sh +2 -0
- package/engine/assets/scripts/cleanup-tilt-images.sh +2 -0
- package/engine/assets/scripts/mac-m1-resource-monitor.sh +2 -0
- package/engine/config.star +2 -0
- package/engine/entrypoint.star +2 -0
- package/engine/lifecycle/orchestrator.star +2 -0
- package/engine/paths.star +2 -0
- package/engine/scripts/build-and-publish-lib.sh +2 -0
- package/engine/scripts/check-lib-publish.sh +2 -0
- package/engine/scripts/debug-container.sh +2 -0
- package/engine/scripts/generate-manifest.sh +2 -0
- package/engine/topologies/platform/docker/auth/auth.star +2 -0
- package/engine/topologies/platform/docker/build/golden_image_dockerfile.star +3 -3
- package/engine/topologies/platform/docker/compose/compose.star +2 -0
- package/engine/topologies/platform/docker/compose/compose_helpers.star +2 -0
- package/engine/topologies/platform/docker/compose/traefik_standalone.star +2 -0
- package/engine/topologies/platform/docker/config/bunignore.star +2 -0
- package/engine/topologies/platform/docker/config/dockerignore.star +2 -0
- package/engine/topologies/platform/docker/config/healthcheck.star +2 -0
- package/engine/topologies/platform/docker/constants.star +2 -0
- package/engine/topologies/platform/docker/dockerfile/dockerfile.star +2 -0
- package/engine/topologies/platform/docker/dockerfile/language_dockerfile.star +11 -8
- package/engine/topologies/platform/docker/index.star +2 -0
- package/engine/topologies/platform/docker/layers/bun_helpers.star +2 -0
- package/engine/topologies/platform/docker/layers/infisical/index.star +2 -0
- package/engine/topologies/platform/docker/layers/infisical/infisical_docker.star +2 -0
- package/engine/topologies/platform/docker/layers/l1_base_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/l2_dependency_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/l3_builder_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/l4_runtime_layers.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/constants.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/db_readiness.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/filesystem_setup.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/migrate_script.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/prisma_build.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/prisma_runtime.star +2 -0
- package/engine/topologies/platform/docker/layers/prisma/secret_resolution.star +2 -0
- package/engine/topologies/platform/docker/networking/api_path_constants.star +2 -0
- package/engine/topologies/platform/docker/networking/sablier_container_cycle.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik_constants.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik_helpers.star +2 -0
- package/engine/topologies/platform/docker/networking/traefik_static_routes.star +2 -0
- package/engine/topologies/platform/docker/secrets/env_secrets.star +2 -0
- package/engine/topologies/platform/docker/secrets/infisical.star +2 -0
- package/engine/topologies/platform/net/proxy.star +2 -0
- package/engine/topologies/platform/registries/local.star +2 -0
- package/engine/topologies/platform/registries/verdaccio_loader.star +2 -0
- package/engine/topologies/platform/security/secrets.star +2 -0
- package/engine/topologies/platform/state/relational.star +2 -0
- package/engine/topologies/tilt/common/utils.star +2 -0
- package/engine/topologies/tilt/common/utils_debug.star +2 -0
- package/engine/topologies/tilt/common/utils_deterministic.star +2 -0
- package/engine/topologies/tilt/common/utils_docker_networks.star +2 -0
- package/engine/topologies/tilt/common/utils_env.star +2 -0
- package/engine/topologies/tilt/common/utils_output.star +2 -0
- package/engine/topologies/tilt/config/defaults.star +2 -0
- package/engine/topologies/tilt/config/feature_flags.star +2 -0
- package/engine/topologies/tilt/config/global.star +2 -0
- package/engine/topologies/tilt/config/profiles.star +2 -0
- package/engine/topologies/tilt/generators/agents_md.star +2 -0
- package/engine/topologies/tilt/generators/api_gateway.star +2 -0
- package/engine/topologies/tilt/generators/index.star +2 -0
- package/engine/topologies/tilt/generators/infisical/examples.star +2 -0
- package/engine/topologies/tilt/generators/infisical/index.star +2 -0
- package/engine/topologies/tilt/generators/infisical/machine_identity.star +2 -0
- package/engine/topologies/tilt/generators/infisical/organization.star +2 -0
- package/engine/topologies/tilt/generators/infisical/path_manager.star +2 -0
- package/engine/topologies/tilt/generators/infisical/secrets_generator.star +2 -0
- package/engine/topologies/tilt/generators/nginx_conf.star +2 -0
- package/engine/topologies/tilt/generators/npmrc.star +2 -0
- package/engine/topologies/tilt/generators/tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/backend_library_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/backend_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/common.star +2 -0
- package/engine/topologies/tilt/generators/typescript/frontend_library_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/frontend_tsconfig.star +2 -0
- package/engine/topologies/tilt/generators/typescript/include.star +2 -0
- package/engine/topologies/tilt/generators/typescript/playwright_config.star +2 -0
- package/engine/topologies/tilt/generators/typescript/prisma_config.star +2 -0
- package/engine/topologies/tilt/generators/validators.star +2 -0
- package/engine/topologies/tilt/generators/vite/backend.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/lit.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/preact.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/qwik.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/react.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/solid.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/svelte.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/vanilla.star +2 -0
- package/engine/topologies/tilt/generators/vite/frameworks/vue.star +2 -0
- package/engine/topologies/tilt/generators/vite/frontend.star +2 -0
- package/engine/topologies/tilt/generators/vite/generators.star +2 -0
- package/engine/topologies/tilt/generators/vite/helpers.star +2 -0
- package/engine/topologies/tilt/generators/vite/library.star +2 -0
- package/engine/topologies/tilt/generators/vite/sdk.star +2 -0
- package/engine/topologies/tilt/generators/vite/templates.star +2 -0
- package/engine/topologies/tilt/generators/vite_config.star +2 -0
- package/engine/topologies/tilt/manifest/__init__.star +2 -0
- package/engine/topologies/tilt/manifest/constants.star +2 -0
- package/engine/topologies/tilt/manifest/errors.star +2 -0
- package/engine/topologies/tilt/manifest/integration.star +2 -0
- package/engine/topologies/tilt/manifest/json_to_yaml.py +2 -0
- package/engine/topologies/tilt/manifest/loader.star +2 -0
- package/engine/topologies/tilt/manifest/mapper.star +2 -0
- package/engine/topologies/tilt/manifest/parser.star +2 -0
- package/engine/topologies/tilt/manifest/schema.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_integration.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_loader_parser.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_manifest.star +2 -0
- package/engine/topologies/tilt/manifest/tests/test_validator.star +2 -0
- package/engine/topologies/tilt/manifest/validator.star +2 -0
- package/engine/topologies/tilt/manifest/yaml_to_json.py +2 -0
- package/engine/topologies/tilt/resources/conditions.star +2 -0
- package/engine/topologies/tilt/resources/databases.star +2 -0
- package/engine/topologies/tilt/resources/declaration.star +2 -0
- package/engine/topologies/tilt/resources/deps.star +2 -0
- package/engine/topologies/tilt/resources/infra-loader.star +2 -0
- package/engine/topologies/tilt/resources/libs.star +2 -0
- package/engine/topologies/tilt/resources/libs_discovery.star +2 -0
- package/engine/topologies/tilt/resources/libs_paths.star +2 -0
- package/engine/topologies/tilt/resources/libs_resource_definition.star +2 -0
- package/engine/topologies/tilt/resources/libs_setup.star +2 -0
- package/engine/topologies/tilt/resources/libs_tsconfig.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_compose_resource_registration.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_manifest_orchestration.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_migrator_orchestration.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_resource_validation.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/apply_runtime_flags.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/builders/typescript.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/dependencies/index.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/dependencies/resolver.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/env.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/frontend.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/generators/manifest_resource.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator/helpers.star +2 -0
- package/engine/topologies/tilt/resources/orchestrator.star +2 -0
- package/engine/topologies/tilt/resources/ordering.star +2 -0
- package/engine/topologies/tilt/resources/shared-platform-postgres.star +2 -0
- package/engine/topologies/tilt/resources/triggers.star +2 -0
- package/engine/topologies/tilt/resources/watchers.star +2 -0
- package/engine/where-things-live.star +2 -0
- package/ext/ide-components/code_viewer/server.py +2 -0
- package/ext/ide-components/config_inspector/server.py +2 -0
- package/ext/ide-components/file_browser/server.py +2 -0
- package/ext/ide-components/shared/config_service.py +2 -0
- package/ext/ide-components/shared/file_utils.py +2 -0
- package/ext/ide-components/shared/http_utils.py +2 -0
- package/ext/ide-components/shared/syntax_highlighter.py +2 -0
- package/ext/ide-components/shared/template_engine.py +2 -0
- package/ext/ide-components/shared/templates/base.html +4 -0
- package/ext/ide-components/shared/test_config_service.py +2 -0
- package/ext/ide-components/shared/tilt_integration.py +2 -0
- package/ext/ui-enhancements/cron-status-server.sh +2 -0
- package/ext/ui-enhancements/cron-status-tracker.sh +2 -0
- package/ext/ui-enhancements/tiltfile.py +2 -0
- package/package.json +1 -1
- package/shared-platform-engineering/docker-templates/bun-hoisted-symlink-fix.sh +2 -0
- package/shared-platform-engineering/docker-templates/infisical-entrypoint.sh +2 -0
- package/shared-platform-engineering/docker-templates/install-deps.sh +2 -0
- package/shared-platform-engineering/docker-templates/prisma-bun-client-link-fix.sh +2 -0
- package/shared-platform-engineering/docker-templates/prisma-normalize-client.sh +2 -0
- package/specs/specs/TILT_SERVICE_DEFAULTS.star +2 -0
- package/specs/specs/TILT_TECH_STACK.star +2 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🐳 TILT SDK - BUNIGNORE GENERATORS (Option 2: Reduce node_modules size)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🐳 TILT SDK - DOCKERIGNORE GENERATORS (modular)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# Docker healthcheck timing - single source for golden images, L4 runtimes and
|
|
3
5
|
# generated compose files.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🐳 PLATFORM DOCKER CONSTANTS
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# Dockerfiles for backends whose `language` is not the Bun default.
|
|
2
4
|
#
|
|
3
5
|
# Bun backends use the golden-image generator. Python backends are a small
|
|
@@ -26,7 +28,7 @@ _HEALTHCHECK = """HEALTHCHECK --interval=10s --timeout=5s --retries=3 \\
|
|
|
26
28
|
"""
|
|
27
29
|
|
|
28
30
|
_PYTHON = """# Generated by TDK for a Python backend. Do not edit; change service.json instead.
|
|
29
|
-
FROM python:3.12-slim AS base
|
|
31
|
+
FROM python:3.12-slim@sha256:05cda9777409a9c3ffddd94a4c476b79f0769a0b4857f0c7ed9226b6800b0d6f AS base
|
|
30
32
|
|
|
31
33
|
WORKDIR /app/{res_path}
|
|
32
34
|
|
|
@@ -50,7 +52,7 @@ CMD ["sh", "-c", "uvicorn main:app --app-dir src --host 0.0.0.0 --port ${{PORT:-
|
|
|
50
52
|
"""
|
|
51
53
|
|
|
52
54
|
_GO = """# Generated by TDK for a Go backend. Do not edit; change service.json instead.
|
|
53
|
-
FROM golang:1.23-bookworm AS build
|
|
55
|
+
FROM golang:1.23-bookworm@sha256:167053a2bb901972bf2c1611f8f52c44d5fe7e762e5cab213708d82c421614db AS build
|
|
54
56
|
# The official image pins GOTOOLCHAIN=local, so a go.mod that needs a newer Go (Gin 1.12 needs 1.25) stops with "requires go >= 1.25".
|
|
55
57
|
# `auto` lets Go fetch the toolchain go.mod asks for; a go.mod at or below the image's Go downloads nothing.
|
|
56
58
|
ENV GOTOOLCHAIN=auto
|
|
@@ -66,7 +68,7 @@ RUN CGO_ENABLED=0 go build -o /out/app .
|
|
|
66
68
|
FROM build AS test
|
|
67
69
|
RUN go test ./...
|
|
68
70
|
{go_development}
|
|
69
|
-
FROM debian:bookworm-slim AS production
|
|
71
|
+
FROM debian:bookworm-slim@sha256:7c7b2c966bc9ee8cedfeef67e0e279108992c77681fa595db4a9d65c06ccc587 AS production
|
|
70
72
|
|
|
71
73
|
{curl}
|
|
72
74
|
COPY --from=build /out/app /usr/local/bin/app
|
|
@@ -80,7 +82,7 @@ CMD ["app"]
|
|
|
80
82
|
_RUST = """# Generated by TDK for a Rust backend. Do not edit; change service.json instead.
|
|
81
83
|
# BuildKit cache mounts keep the registry and the target directory between builds, so a rebuild after a
|
|
82
84
|
# source change recompiles only the crate itself, not every dependency.
|
|
83
|
-
FROM rust:1-slim-bookworm AS build
|
|
85
|
+
FROM rust:1-slim-bookworm@sha256:2c3a22f0a5533ea2dd5a16627bc841228151faa2d4de2644ac9987e4a2f1f2fa AS build
|
|
84
86
|
|
|
85
87
|
WORKDIR /app/{res_path}
|
|
86
88
|
|
|
@@ -94,7 +96,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \\
|
|
|
94
96
|
--mount=type=cache,target=/app/{res_path}/target \\
|
|
95
97
|
cargo test
|
|
96
98
|
|
|
97
|
-
FROM debian:bookworm-slim AS production
|
|
99
|
+
FROM debian:bookworm-slim@sha256:7c7b2c966bc9ee8cedfeef67e0e279108992c77681fa595db4a9d65c06ccc587 AS production
|
|
98
100
|
|
|
99
101
|
{curl}
|
|
100
102
|
COPY --from=build /out/app /usr/local/bin/app
|
|
@@ -181,7 +183,7 @@ done
|
|
|
181
183
|
# source edit recompiles incrementally. `go.mod`, `go.sum` and the Dockerfile still rebuild the image. The heredoc needs BuildKit's
|
|
182
184
|
# Dockerfile frontend 1.4 (Docker Engine 23+).
|
|
183
185
|
_GO_DEVELOPMENT = """
|
|
184
|
-
FROM golang:1.23-bookworm AS development
|
|
186
|
+
FROM golang:1.23-bookworm@sha256:167053a2bb901972bf2c1611f8f52c44d5fe7e762e5cab213708d82c421614db AS development
|
|
185
187
|
ENV GOTOOLCHAIN=auto
|
|
186
188
|
WORKDIR /app/{res_path}
|
|
187
189
|
COPY {res_path}/go.* ./
|
|
@@ -193,7 +195,8 @@ ENV GOFLAGS=-buildvcs=false CGO_ENABLED=0
|
|
|
193
195
|
# Same flags as the watcher's builds (and CGO off like the production stage), so the primed binary and cache match every later one.
|
|
194
196
|
RUN go build -ldflags='-s -w' -o /tmp/app .
|
|
195
197
|
COPY --chmod=755 <<'TDK_GO_DEV_WATCH' /usr/local/bin/tdk-go-watch
|
|
196
|
-
{watch_script}
|
|
198
|
+
{watch_script}
|
|
199
|
+
TDK_GO_DEV_WATCH
|
|
197
200
|
EXPOSE {port}
|
|
198
201
|
CMD ["tdk-go-watch"]
|
|
199
202
|
"""
|
|
@@ -205,7 +208,7 @@ def generate_language_dockerfile(res_path, language, port = BASE_PORT_BACKEND, d
|
|
|
205
208
|
fail("No Dockerfile generator for backend language '{}'".format(language))
|
|
206
209
|
go_development = ""
|
|
207
210
|
if dev and language == "go":
|
|
208
|
-
go_development = _GO_DEVELOPMENT.format(res_path = res_path, port = port, watch_script = _GO_DEV_WATCH)
|
|
211
|
+
go_development = _GO_DEVELOPMENT.format(res_path = res_path, port = port, watch_script = _GO_DEV_WATCH.rstrip("\n"))
|
|
209
212
|
return template.format(
|
|
210
213
|
res_path = res_path,
|
|
211
214
|
port = port,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔐 INFISICAL DOCKER LAYERS - Master Index
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔐 INFISICAL DOCKER INTEGRATION
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# === INLINED CONSTANTS for pure extension loading ===
|
|
2
4
|
WEB_FRAMEWORK = "hono"
|
|
3
5
|
RUNTIME_CONFIG = {"bun": {"image_base": "oven/bun:1.3.11-alpine", "package_manager": "bun", "lockfile": "bun.lock", "backend_start_command": "bun run start", "frontend_start_command": "bun run dev"}, "node": {"image_base": "node:20-alpine", "package_manager": "npm", "lockfile": "package-lock.json", "backend_start_command": "node dist/index.js"}}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🌐 - API PATH CONSTANTS (Dynamic)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# On-demand scaling: Sablier + Traefik (free-tier stub)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🐳 TILT SDK - TRAEFIK LABELS GENERATOR
|
|
3
5
|
# =============================================================================
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env starlark
|
|
2
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
3
|
+
# SPDX-License-Identifier: MIT
|
|
2
4
|
# =============================================================================
|
|
3
5
|
# 🐳 TILT SDK - TRAEFIK CONSTANTS
|
|
4
6
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🐳 TILT SDK - TRAEFIK HELPERS
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# Traefik static (file-provider) route for a deferred (`sablier.deferStart`)
|
|
3
5
|
# resource -- see openspec/changes/prioritized-cold-start.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔑 SECRETS FROM THE PROJECT .env
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔐 LOCAL ENVIRONMENT GENERATOR
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 📦 VERDACCIO (NPM Registry) - loader (free-tier stub)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔐 INFISICAL SECURITY MODULE
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔧 TILT SDK - CORE UTILITIES MODULE
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🛠️ TILT SDK - DEBUG UTILITIES
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 📋 DETERMINISTIC TILT UTILITIES
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🐳 TILT SDK - DOCKER NETWORK MANAGEMENT
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🌍 TILT SDK - ENVIRONMENT UTILITIES
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 📊 TILT SDK - OUTPUT UTILITIES
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# ⚙️ TOPOLOGIES - GLOBAL CONFIG
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🎯 TOPOLOGIES - FOCUS PROFILES
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🤖 TILT SDK - AGENTS.MD GENERATOR (free-tier stub)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🌐 TILT SDK - API GATEWAY (Referer-Based Context Routing)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🎯 GENERATORS - Master Index
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔐 INFISICAL STARLARK GENERATORS - USAGE EXAMPLES
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔐 INFISICAL GENERATORS - Master Index
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🤖 INFISICAL MACHINE IDENTITY MANAGER
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🏢 INFISICAL ORGANIZATION MANAGER
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 📁 INFISICAL PATH MANAGER
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🔐 INFISICAL SECRETS GENERATOR
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🌐 TILT SDK - NGINX PROVIDER
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 📦 TILT SDK - NPM/BUN CONFIG PROVIDER
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# Entry point for modular TSConfig provider
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# Common helpers/constants for TSConfig providers
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# Entry point for modular TSConfig provider
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🎭 TILT SDK - PLAYWRIGHT CONFIG GENERATOR (free-tier stub)
|
|
3
5
|
# =============================================================================
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (c) 2026 TDK Landscape contributors
|
|
2
|
+
# SPDX-License-Identifier: MIT
|
|
1
3
|
# =============================================================================
|
|
2
4
|
# 🛡️ VALIDATORS - Pre-Flight Validation Generators
|
|
3
5
|
# =============================================================================
|