Skip to content

Commit d6a0d74

Browse files
committed
Updated CLI to 4.1.0.
1 parent ab50ee2 commit d6a0d74

File tree

6 files changed

+239
-202
lines changed

6 files changed

+239
-202
lines changed

cli/.config/dotnet-tools.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"version": 1,
3-
"isRoot": true,
4-
"tools": {
5-
"sitecore.cli": {
6-
"version": "4.0.0",
7-
"commands": [
8-
"sitecore"
9-
]
10-
}
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"sitecore.cli": {
6+
"version": "4.1.0",
7+
"commands": [
8+
"sitecore"
9+
]
1110
}
11+
}
1212
}
Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"title": "ModuleFile",
4-
"description": "Sitecore module definition file schema",
5-
"allOf": [
6-
{
7-
"title": "ModuleConfiguration",
8-
"type": "object",
9-
"description": "Defines a \"DevEx Module\" that is a Helix-like module that can contain serialized item configurations, etc.\nThis class is overridden with Serialization-specific derived versions that provide access to their module-specific settings.",
10-
"additionalProperties": {},
11-
"required": [
12-
"namespace"
13-
],
14-
"properties": {
15-
"$schema": {
16-
"type": "string"
17-
},
18-
"namespace": {
19-
"type": "string",
20-
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).",
21-
"minLength": 1,
22-
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$"
23-
},
24-
"description": {
25-
"type": "string",
26-
"description": "Description of the module, for reference/docs purposes only"
27-
},
28-
"references": {
29-
"type": "array",
30-
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.",
31-
"items": {
32-
"type": "string"
33-
}
34-
},
35-
"source": {
36-
"type": "string",
37-
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored."
38-
}
39-
}
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "ModuleFile",
4+
"description": "Sitecore module definition file schema",
5+
"allOf": [
6+
{
7+
"title": "ModuleConfiguration",
8+
"type": "object",
9+
"description": "Defines a \"DevEx Module\" that is a Helix-like module that can contain serialized item configurations, etc.\nThis class is overridden with Serialization-specific derived versions that provide access to their module-specific settings.",
10+
"additionalProperties": {},
11+
"required": [
12+
"namespace"
13+
],
14+
"properties": {
15+
"$schema": {
16+
"type": "string"
17+
},
18+
"namespace": {
19+
"type": "string",
20+
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).",
21+
"minLength": 1,
22+
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$"
23+
},
24+
"description": {
25+
"type": "string",
26+
"description": "Description of the module, for reference/docs purposes only"
27+
},
28+
"references": {
29+
"type": "array",
30+
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.",
31+
"items": {
32+
"type": "string"
33+
}
34+
},
35+
"source": {
36+
"type": "string",
37+
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored."
4038
}
41-
]
39+
}
40+
}
41+
]
4242
}
Lines changed: 76 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,86 @@
11
{
2-
"$schema": "http://json-schema.org/draft-04/schema#",
3-
"title": "RootConfigurationFile",
4-
"type": "object",
5-
"description": "Defines the root Sitecore Developer Configuration file",
6-
"additionalProperties": false,
7-
"required": [
8-
"modules"
9-
],
10-
"properties": {
11-
"$schema": {
12-
"type": "string"
2+
"$schema": "http://json-schema.org/draft-04/schema#",
3+
"title": "RootConfigurationFile",
4+
"type": "object",
5+
"description": "Defines the root Sitecore Developer Configuration file",
6+
"additionalProperties": false,
7+
"required": [
8+
"modules"
9+
],
10+
"properties": {
11+
"$schema": {
12+
"type": "string"
13+
},
14+
"modules": {
15+
"type": "array",
16+
"description": "Sitecore module file resolution globs",
17+
"minItems": 1,
18+
"items": {
19+
"type": "string"
20+
}
21+
},
22+
"plugins": {
23+
"type": "array",
24+
"description": "Contains a list of Sitecore Plugin NugetPackages. The format of the name is [NugetPackageName]@[NugetPackageVersion]. These entries are normally managed using\nthe 'Sitecore Plugin Add' and 'Sitecore Plugin Remove' commands",
25+
"items": {
26+
"type": "string"
27+
}
28+
},
29+
"serialization": {
30+
"description": "Global item serialization default settings",
31+
"oneOf": [
32+
{
33+
"$ref": "#/definitions/SerializationRootConfiguration"
34+
}
35+
]
36+
}
37+
},
38+
"definitions": {
39+
"SerializationRootConfiguration": {
40+
"type": "object",
41+
"additionalProperties": false,
42+
"properties": {
43+
"defaultMaxRelativeItemPathLength": {
44+
"type": "integer",
45+
"description": "Max relative item path length to serialize before considering path too long (and requiring aliasing to shorten).\nOverridable on a per-module basis; this is the default when it is unspecified.",
46+
"format": "int32",
47+
"default": 120
48+
},
49+
"defaultModuleRelativeSerializationPath": {
50+
"type": "string",
51+
"description": "The default relative physical path from a module file where serialized items for that module will be stored.\nFor example given module /c/foo/bar.module.json, and default '/serialization/items' path,\nthe serialized items for bar would be stored at /c/foo/bar/serialization/items.\nPrefix the path with ~/ for a root configuration relative path instead of a module-relative path.\nUse '$(module)' to insert the module name when using a root relative path.\nOverridable on a per-module basis; this is the default when it is unspecified.",
52+
"default": "serialization"
1353
},
14-
"modules": {
15-
"type": "array",
16-
"description": "Sitecore module file resolution globs",
17-
"minItems": 1,
18-
"items": {
19-
"type": "string"
20-
}
54+
"removeOrphansForRoles": {
55+
"type": "boolean",
56+
"description": "Specifies remove orphans functionality for roles serialization",
57+
"default": true
2158
},
22-
"plugins": {
23-
"type": "array",
24-
"description": "Contains a list of Sitecore Plugin NugetPackages. The format of the name is [NugetPackageName]@[NugetPackageVersion]. These entries are normally managed using\nthe 'Sitecore Plugin Add' and 'Sitecore Plugin Remove' commands",
25-
"items": {
26-
"type": "string"
27-
}
59+
"continueOnItemFailure": {
60+
"type": "boolean",
61+
"description": "Specifies behavior when item synchronization fails",
62+
"default": false
2863
},
29-
"serialization": {
30-
"description": "Global item serialization default settings",
31-
"oneOf": [
32-
{
33-
"$ref": "#/definitions/SerializationRootConfiguration"
34-
}
35-
]
64+
"excludedFields": {
65+
"type": "array",
66+
"description": "Configure base fields filter",
67+
"items": {
68+
"$ref": "#/definitions/FieldFilter"
69+
}
3670
}
71+
}
3772
},
38-
"definitions": {
39-
"SerializationRootConfiguration": {
40-
"type": "object",
41-
"additionalProperties": false,
42-
"properties": {
43-
"defaultMaxRelativeItemPathLength": {
44-
"type": "integer",
45-
"description": "Max relative item path length to serialize before considering path too long (and requiring aliasing to shorten).\nOverridable on a per-module basis; this is the default when it is unspecified.",
46-
"format": "int32",
47-
"default": 120
48-
},
49-
"defaultModuleRelativeSerializationPath": {
50-
"type": "string",
51-
"description": "The default relative physical path from a module file where serialized items for that module will be stored.\nFor example given module /c/foo/bar.module.json, and default '/serialization/items' path,\nthe serialized items for bar would be stored at /c/foo/bar/serialization/items.\nPrefix the path with ~/ for a root configuration relative path instead of a module-relative path.\nUse '$(module)' to insert the module name when using a root relative path.\nOverridable on a per-module basis; this is the default when it is unspecified.",
52-
"default": "serialization"
53-
},
54-
"excludedFields": {
55-
"type": "array",
56-
"description": "Configure base fields filter",
57-
"items": {
58-
"$ref": "#/definitions/FieldFilter"
59-
}
60-
}
61-
}
73+
"FieldFilter": {
74+
"type": "object",
75+
"additionalProperties": false,
76+
"properties": {
77+
"fieldId": {
78+
"type": "string"
6279
},
63-
"FieldFilter": {
64-
"type": "object",
65-
"additionalProperties": false,
66-
"properties": {
67-
"fieldId": {
68-
"type": "string"
69-
},
70-
"description": {
71-
"type": "string"
72-
}
73-
}
80+
"description": {
81+
"type": "string"
7482
}
83+
}
7584
}
85+
}
7686
}

0 commit comments

Comments
 (0)