@emulsify/cli 2.3.0 → 2.3.1
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.
|
@@ -19,6 +19,29 @@
|
|
|
19
19
|
"machineName": {
|
|
20
20
|
"type": "string",
|
|
21
21
|
"description": "Machine-friendly name of the project, such as 'carmen-sandiego'."
|
|
22
|
+
},
|
|
23
|
+
"singleDirectoryComponents": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "Whether Drupal Single Directory Component output mirroring is enabled."
|
|
26
|
+
},
|
|
27
|
+
"generatedFrom": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Name of the Emulsify project that generated this project."
|
|
30
|
+
},
|
|
31
|
+
"generatedFromVersion": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Version of the Emulsify project that generated this project."
|
|
34
|
+
},
|
|
35
|
+
"description": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"description": "Human-facing description of the generated project."
|
|
38
|
+
},
|
|
39
|
+
"assetRoots": {
|
|
40
|
+
"type": "array",
|
|
41
|
+
"description": "Compatibility alias for additional project-relative asset directories. Prefer the top-level assets.roots property.",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
22
45
|
}
|
|
23
46
|
},
|
|
24
47
|
"additionalProperties": false,
|
|
@@ -36,6 +59,42 @@
|
|
|
36
59
|
"additionalProperties": false,
|
|
37
60
|
"required": ["repository"]
|
|
38
61
|
},
|
|
62
|
+
"projectStructure": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"description": "Compatibility configuration for Emulsify Core project structure. Prefer the top-level assets property for asset settings.",
|
|
65
|
+
"properties": {
|
|
66
|
+
"assetRoots": {
|
|
67
|
+
"type": "array",
|
|
68
|
+
"description": "Compatibility alias for additional project-relative asset directories. Prefer assets.roots.",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"additionalProperties": false
|
|
75
|
+
},
|
|
76
|
+
"assets": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"description": "Configures Emulsify Core asset discovery and output behavior.",
|
|
79
|
+
"properties": {
|
|
80
|
+
"roots": {
|
|
81
|
+
"type": "array",
|
|
82
|
+
"description": "Additional project-relative directories containing static assets.",
|
|
83
|
+
"items": {
|
|
84
|
+
"type": "string"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"rebase": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"description": "Whether Emulsify Core resolves asset aliases and repairs unresolved CSS asset URLs."
|
|
90
|
+
},
|
|
91
|
+
"selfContainedOutput": {
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"description": "Whether project assets remain under the build output so it can be deployed independently."
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"additionalProperties": false
|
|
97
|
+
},
|
|
39
98
|
"system": {
|
|
40
99
|
"type": "object",
|
|
41
100
|
"description": "Contains information about the Emulsify system this project is utilizing",
|
|
@@ -19,6 +19,10 @@ async function getProjectConfigValidator() {
|
|
|
19
19
|
}
|
|
20
20
|
function formatProjectConfigError(error) {
|
|
21
21
|
const location = error.instancePath || '/';
|
|
22
|
+
if (error.keyword === 'additionalProperties' &&
|
|
23
|
+
typeof error.params.additionalProperty === 'string') {
|
|
24
|
+
return `${location} must NOT have additional property ${JSON.stringify(error.params.additionalProperty)}`;
|
|
25
|
+
}
|
|
22
26
|
return `${location} ${error.message}`;
|
|
23
27
|
}
|
|
24
28
|
async function validateEmulsifyConfig(config, path) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emulsify/cli",
|
|
3
3
|
"productName": "Emulsify CLI",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.1",
|
|
5
5
|
"description": "Command line interface for Emulsify",
|
|
6
6
|
"repository": "git@github.com:emulsify-ds/emulsify-cli.git",
|
|
7
7
|
"author": "Patrick Coffey <patrickcoffey48@gmail.com>",
|