@tdk-landscape/tdk-cli-core 1.3.79 → 1.3.80

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.
@@ -1,5 +1,6 @@
1
1
  import { existsSync, readFileSync } from "node:fs";
2
2
  export const SERVICE_MANIFEST_SCHEMA_VERSION = 1;
3
+ export const SERVICE_MANIFEST_SCHEMA_URL = "https://tdk-landscape.github.io/schema.service.json";
3
4
  const KNOWN_SERVICE_FIELDS = new Set([
4
5
  "$schema",
5
6
  "apiBasePath",
package/cli/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tdk-cli-internal",
3
3
  "private": true,
4
- "version": "1.3.79",
4
+ "version": "1.3.80",
5
5
  "description": "TDK CLI - Tilt Development Kit command line interface",
6
6
  "keywords": [
7
7
  "tdk",
@@ -0,0 +1,142 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://raw.githubusercontent.com/tdk-landscape/tdk-cli-core/main/engine/schemas/project-schema.json",
4
+ "title": "TDK Project Configuration",
5
+ "description": "Editor assistance for .tdk/project.json. TDK's CLI remains the runtime source of truth.",
6
+ "type": "object",
7
+ "additionalProperties": true,
8
+ "required": [
9
+ "version",
10
+ "project",
11
+ "phases",
12
+ "optional_infra",
13
+ "discovery"
14
+ ],
15
+ "properties": {
16
+ "version": {
17
+ "type": "string"
18
+ },
19
+ "project": {
20
+ "type": "object",
21
+ "additionalProperties": true,
22
+ "required": [
23
+ "name",
24
+ "version"
25
+ ],
26
+ "properties": {
27
+ "name": {
28
+ "type": "string"
29
+ },
30
+ "version": {
31
+ "type": "string"
32
+ }
33
+ }
34
+ },
35
+ "phases": {
36
+ "type": "object",
37
+ "additionalProperties": true,
38
+ "required": [
39
+ "pre_alpha",
40
+ "alpha",
41
+ "beta",
42
+ "out_of_scope"
43
+ ],
44
+ "properties": {
45
+ "pre_alpha": {
46
+ "$ref": "#/definitions/phase"
47
+ },
48
+ "alpha": {
49
+ "$ref": "#/definitions/phase"
50
+ },
51
+ "beta": {
52
+ "$ref": "#/definitions/phase"
53
+ },
54
+ "out_of_scope": {
55
+ "$ref": "#/definitions/phase"
56
+ }
57
+ }
58
+ },
59
+ "stacks": {
60
+ "type": "object",
61
+ "additionalProperties": true
62
+ },
63
+ "always_enabled_infra": {
64
+ "type": "array",
65
+ "items": {
66
+ "type": "string"
67
+ }
68
+ },
69
+ "optional_infra": {
70
+ "type": "object",
71
+ "additionalProperties": true,
72
+ "required": [
73
+ "monitoring",
74
+ "elk",
75
+ "debezium",
76
+ "golden_image",
77
+ "verdaccio"
78
+ ],
79
+ "properties": {
80
+ "monitoring": {
81
+ "type": "boolean"
82
+ },
83
+ "elk": {
84
+ "type": "boolean"
85
+ },
86
+ "debezium": {
87
+ "type": "boolean"
88
+ },
89
+ "golden_image": {
90
+ "type": "boolean"
91
+ },
92
+ "verdaccio": {
93
+ "type": "boolean"
94
+ }
95
+ }
96
+ },
97
+ "discovery": {
98
+ "type": "object",
99
+ "additionalProperties": true,
100
+ "required": [
101
+ "paths"
102
+ ],
103
+ "properties": {
104
+ "paths": {
105
+ "type": "array",
106
+ "items": {
107
+ "type": "string"
108
+ }
109
+ }
110
+ }
111
+ },
112
+ "overrides": {
113
+ "type": "object",
114
+ "additionalProperties": true
115
+ }
116
+ },
117
+ "definitions": {
118
+ "phase": {
119
+ "type": "object",
120
+ "additionalProperties": true,
121
+ "required": [
122
+ "name",
123
+ "description",
124
+ "enabledStacks"
125
+ ],
126
+ "properties": {
127
+ "name": {
128
+ "type": "string"
129
+ },
130
+ "description": {
131
+ "type": "string"
132
+ },
133
+ "enabledStacks": {
134
+ "type": "array",
135
+ "items": {
136
+ "type": "string"
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tdk-landscape/tdk-cli-core",
3
- "version": "1.3.79",
4
- "description": "Run your whole microservice landscape locally without Kubernetes. Scaffold services and run them with hot reload, built on Tilt.",
3
+ "version": "1.3.80",
4
+ "description": "TDK runs many services on your laptop with Docker + Tilt. Helm still deploys the cluster.",
5
5
  "homepage": "https://tdk-landscape.github.io/tdk-website",
6
6
  "repository": {
7
7
  "type": "git",