@scandipwa/magento-scripts 1.15.5 → 1.15.6
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.
|
@@ -104,26 +104,17 @@ Do you want to enable them all or disable some of them?`,
|
|
|
104
104
|
|
|
105
105
|
switch (answerForEnablingPlugins.toLowerCase()) {
|
|
106
106
|
case 'enable all': {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
composerJsonData.config = {
|
|
108
|
+
...(composerJsonData.config || {}),
|
|
109
|
+
'allow-plugins': {
|
|
110
|
+
...allowPlugins,
|
|
111
|
+
...missingPlugins.reduce((acc, val) => ({ ...acc, [val]: true }), {})
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
await fs.promises.writeFile(composerJsonPath, JSON.stringify(composerJsonData, null, 4), {
|
|
116
|
+
encoding: 'utf-8'
|
|
110
117
|
});
|
|
111
|
-
|
|
112
|
-
if (userConfirmation) {
|
|
113
|
-
composerJsonData.config = {
|
|
114
|
-
...(composerJsonData.config || {}),
|
|
115
|
-
'allow-plugins': {
|
|
116
|
-
...allowPlugins,
|
|
117
|
-
...missingPlugins.reduce((acc, val) => ({ ...acc, [val]: true }), {})
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
await fs.promises.writeFile(composerJsonPath, JSON.stringify(composerJsonData, null, 4), {
|
|
122
|
-
encoding: 'utf-8'
|
|
123
|
-
});
|
|
124
|
-
} else {
|
|
125
|
-
throw new KnownError('Please confirm your choice or choose other option.');
|
|
126
|
-
}
|
|
127
118
|
break;
|
|
128
119
|
}
|
|
129
120
|
case 'configure manually': {
|
|
@@ -24,7 +24,7 @@ Please wait, this will take some time and do not restart the MySQL container unt
|
|
|
24
24
|
let mysqlFinishedInitialization = false;
|
|
25
25
|
while (!mysqlFinishedInitialization) {
|
|
26
26
|
const mysqlOutput = await execAsyncSpawn(`docker logs ${name}`);
|
|
27
|
-
if (mysqlOutput.includes('
|
|
27
|
+
if (mysqlOutput.includes('init process done.') && !mysqlFinishedInitialization) {
|
|
28
28
|
mysqlFinishedInitialization = true;
|
|
29
29
|
break;
|
|
30
30
|
}
|
|
@@ -148,7 +148,7 @@ const addPHPBrewInitiatorLineToConfigFile = () => ({
|
|
|
148
148
|
|
|
149
149
|
const addLineToShellConfigFIle = await task.prompt({
|
|
150
150
|
type: 'Confirm',
|
|
151
|
-
message: `To finish
|
|
151
|
+
message: `To finish configuring PHPBrew we need to add ${logger.style.code('[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc')} line to your ${ shellConfigFileName } file.
|
|
152
152
|
Do you want to do it now?`
|
|
153
153
|
});
|
|
154
154
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Scripts and configuration used by CMA.",
|
|
4
4
|
"homepage": "https://docs.create-magento-app.com/",
|
|
5
5
|
"repository": "github:scandipwa/create-magento-app",
|
|
6
|
-
"version": "1.15.
|
|
6
|
+
"version": "1.15.6",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"types": "./typings/index.d.ts",
|
|
9
9
|
"license": "OSL-3.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"mysql",
|
|
54
54
|
"scandipwa"
|
|
55
55
|
],
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "78f8b8d57032441f7667da0ef98ef6370de2fc7c"
|
|
57
57
|
}
|