|
1 | 1 | { |
2 | 2 | "schema": { |
3 | 3 | "properties": { |
| 4 | + "description": { |
| 5 | + "type": "string", |
| 6 | + "title": "Description", |
| 7 | + "description": "A short description of your add-on.", |
| 8 | + "default": "A new Plone project for {{ cookiecutter.title }}", |
| 9 | + "validator": "", |
| 10 | + "format": "computed" |
| 11 | + }, |
4 | 12 | "author": { |
5 | 13 | "title": "Author", |
6 | 14 | "default": "CodeSyntax", |
|
13 | 21 | "type": "string", |
14 | 22 | "format": "computed" |
15 | 23 | }, |
| 24 | + "hostname": { |
| 25 | + "type": "string", |
| 26 | + "title": "Hostname", |
| 27 | + "description": "Public URL of the server.", |
| 28 | + "default": "{{ cookiecutter.folder_name }}.korpoweb.com", |
| 29 | + "validator": "", |
| 30 | + "format": "computed" |
| 31 | + }, |
| 32 | + "use_prerelease_versions": { |
| 33 | + "type": "string", |
| 34 | + "title": "Should we use prerelease versions?", |
| 35 | + "description": "Whether to include alpha, beta, and release candidate versions when resolving the Plone version.", |
| 36 | + "default": false, |
| 37 | + "validator": "", |
| 38 | + "format": "computed" |
| 39 | + }, |
| 40 | + "plone_version": { |
| 41 | + "type": "string", |
| 42 | + "title": "Plone Version", |
| 43 | + "description": "Plone backend version to use. Automatically resolved to the latest available release.", |
| 44 | + "default": "{{ false | latest_plone }}", |
| 45 | + "validator": "cookieplone.validators.plone_version" |
| 46 | + }, |
16 | 47 | "github_organization": { |
17 | 48 | "title": "GitHub Username or Organization", |
18 | 49 | "default": "codesyntax", |
|
78 | 109 | "thumbor": { |
79 | 110 | "type": "boolean", |
80 | 111 | "title": "Use Thumbor?", |
81 | | - "default": false |
| 112 | + "default": false, |
| 113 | + "format": "computed" |
82 | 114 | }, |
83 | 115 | "security_key": { |
84 | 116 | "type": "string", |
85 | 117 | "title": "Security Key", |
86 | 118 | "default": "{{ random_ascii_string(32) }}", |
87 | 119 | "format": "computed" |
| 120 | + }, |
| 121 | + "volto_version": { |
| 122 | + "type": "string", |
| 123 | + "title": "Volto Version", |
| 124 | + "description": "Volto frontend version to use. Automatically resolved to the latest available release.", |
| 125 | + "default": "19.0.0", |
| 126 | + "validator": "cookieplone.validators.volto_version", |
| 127 | + "format": "computed" |
| 128 | + }, |
| 129 | + "frontend_addon_name": { |
| 130 | + "type": "string", |
| 131 | + "title": "Volto Addon Name", |
| 132 | + "description": "Name of the Volto frontend add-on package (e.g. volto-myproject).", |
| 133 | + "default": "volto-{{ cookiecutter.python_package_name|replace('_', '-')|replace('.', '-') }}", |
| 134 | + "validator": "cookieplone.validators.npm_package_name", |
| 135 | + "format": "computed" |
| 136 | + }, |
| 137 | + "language_code": { |
| 138 | + "type": "string", |
| 139 | + "title": "Language", |
| 140 | + "description": "Default language for the Plone site.", |
| 141 | + "default": "en", |
| 142 | + "validator": "cookieplone.validators.language_code", |
| 143 | + "format": "computed" |
88 | 144 | } |
89 | 145 | }, |
90 | 146 | "allOf": [ |
|
0 commit comments