@cloudcannon/configuration-types 0.0.53 → 0.0.54

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,17 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "title": "Initial Site Settings",
4
- "description": "Configuration for the `.cloudcannon/initial-site-settings.json` file. Defines build settings and site mode for new sites.",
5
- "id": "type.InitialSiteSettings",
6
3
  "type": "object",
7
4
  "properties": {
8
5
  "mode": {
9
- "description": "The mode for this site. `hosted` sites are built and hosted by CloudCannon. `headless` sites are not built or hosted.",
10
6
  "type": "string",
11
7
  "enum": [
12
8
  "hosted",
13
9
  "headless"
14
- ]
10
+ ],
11
+ "description": "The mode for this site. `hosted` sites are built and hosted by CloudCannon. `headless` sites are not built or hosted."
15
12
  },
16
13
  "ssg": {
17
14
  "description": "The Static Site Generator used by this site.",
@@ -37,8 +34,6 @@
37
34
  ]
38
35
  },
39
36
  "build": {
40
- "title": "Build",
41
- "description": "Build configuration. Ignored when `mode` is `headless`.",
42
37
  "type": "object",
43
38
  "properties": {
44
39
  "install_command": {
@@ -57,23 +52,23 @@
57
52
  "description": "Environment variables to set during the build process.",
58
53
  "type": "array",
59
54
  "items": {
60
- "description": "A single environment variable as a key-value pair.",
61
55
  "type": "object",
62
56
  "properties": {
63
57
  "key": {
64
- "description": "The name of the environment variable.",
65
- "type": "string"
58
+ "type": "string",
59
+ "description": "The name of the environment variable."
66
60
  },
67
61
  "value": {
68
- "description": "The value of the environment variable.",
69
- "type": "string"
62
+ "type": "string",
63
+ "description": "The value of the environment variable."
70
64
  }
71
65
  },
72
66
  "required": [
73
67
  "key",
74
68
  "value"
75
69
  ],
76
- "additionalProperties": false
70
+ "additionalProperties": false,
71
+ "description": "A single environment variable as a key-value pair."
77
72
  }
78
73
  },
79
74
  "preserve_output": {
@@ -109,8 +104,13 @@
109
104
  "type": "string"
110
105
  }
111
106
  },
112
- "additionalProperties": false
107
+ "additionalProperties": false,
108
+ "title": "Build",
109
+ "description": "Build configuration. Ignored when `mode` is `headless`."
113
110
  }
114
111
  },
115
- "additionalProperties": false
112
+ "additionalProperties": false,
113
+ "title": "Initial Site Settings",
114
+ "description": "Configuration for the `.cloudcannon/initial-site-settings.json` file. Defines build settings and site mode for new sites.",
115
+ "id": "type.InitialSiteSettings"
116
116
  }
@@ -1,17 +1,14 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Initial Site Settings",
4
- "description": "Configuration for the `.cloudcannon/initial-site-settings.json` file. Defines build settings and site mode for new sites.",
5
- "$id": "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-initial-site-settings.schema.json",
6
3
  "type": "object",
7
4
  "properties": {
8
5
  "mode": {
9
- "description": "The mode for this site. `hosted` sites are built and hosted by CloudCannon. `headless` sites are not built or hosted.",
10
6
  "type": "string",
11
7
  "enum": [
12
8
  "hosted",
13
9
  "headless"
14
10
  ],
11
+ "description": "The mode for this site. `hosted` sites are built and hosted by CloudCannon. `headless` sites are not built or hosted.",
15
12
  "documented": true,
16
13
  "title": "mode",
17
14
  "markdownDescription": "The mode for this site. `hosted` sites are built and hosted by CloudCannon. `headless` sites are not built or hosted."
@@ -43,8 +40,6 @@
43
40
  "markdownDescription": "The Static Site Generator used by this site."
44
41
  },
45
42
  "build": {
46
- "title": "Build",
47
- "description": "Build configuration. Ignored when `mode` is `headless`.",
48
43
  "type": "object",
49
44
  "properties": {
50
45
  "install_command": {
@@ -72,19 +67,18 @@
72
67
  "description": "Environment variables to set during the build process.",
73
68
  "type": "array",
74
69
  "items": {
75
- "description": "A single environment variable as a key-value pair.",
76
70
  "type": "object",
77
71
  "properties": {
78
72
  "key": {
79
- "description": "The name of the environment variable.",
80
73
  "type": "string",
74
+ "description": "The name of the environment variable.",
81
75
  "documented": true,
82
76
  "title": "key",
83
77
  "markdownDescription": "The name of the environment variable."
84
78
  },
85
79
  "value": {
86
- "description": "The value of the environment variable.",
87
80
  "type": "string",
81
+ "description": "The value of the environment variable.",
88
82
  "documented": true,
89
83
  "title": "value",
90
84
  "markdownDescription": "The value of the environment variable."
@@ -95,6 +89,7 @@
95
89
  "value"
96
90
  ],
97
91
  "additionalProperties": false,
92
+ "description": "A single environment variable as a key-value pair.",
98
93
  "documented": true,
99
94
  "title": "environment_variables[*]",
100
95
  "markdownDescription": "A single environment variable as a key-value pair."
@@ -161,11 +156,16 @@
161
156
  }
162
157
  },
163
158
  "additionalProperties": false,
159
+ "title": "Build",
160
+ "description": "Build configuration. Ignored when `mode` is `headless`.",
164
161
  "documented": true,
165
162
  "markdownDescription": "Build configuration. Ignored when `mode` is `headless`."
166
163
  }
167
164
  },
168
165
  "additionalProperties": false,
166
+ "title": "Initial Site Settings",
167
+ "description": "Configuration for the `.cloudcannon/initial-site-settings.json` file. Defines build settings and site mode for new sites.",
168
+ "$id": "https://github.com/cloudcannon/configuration-types/releases/latest/download/cloudcannon-initial-site-settings.schema.json",
169
169
  "documented": false,
170
170
  "markdownDescription": "Configuration for the `.cloudcannon/initial-site-settings.json` file. Defines build settings and site mode for new sites."
171
171
  }