@scandipwa/magento-scripts 1.15.5 → 1.16.0-alpha.0
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.
- package/lib/commands/execute.js +4 -1
- package/lib/commands/logs.js +3 -0
- package/lib/config/dependencies-for-platforms.js +19 -4
- package/lib/config/docker.js +20 -1
- package/lib/config/php/extensions/index.js +2 -1
- package/lib/config/php/extensions/xdebug.js +9 -0
- package/lib/config/php/releases/index.js +6 -0
- package/lib/config/php/releases/php-7.2.js +25 -0
- package/lib/config/php/releases/php-7.3.js +25 -0
- package/lib/config/php/releases/php-7.4.js +23 -0
- package/lib/config/php/releases/php-8.1.js +25 -0
- package/lib/config/php-config.js +2 -2
- package/lib/config/templates/ssl-terminator.template.conf +6 -0
- package/lib/config/versions/magento-2.3.0.js +2 -21
- package/lib/config/versions/magento-2.3.1.js +2 -21
- package/lib/config/versions/magento-2.3.2-p2.js +2 -21
- package/lib/config/versions/magento-2.3.2.js +2 -21
- package/lib/config/versions/magento-2.3.3-p1.js +2 -21
- package/lib/config/versions/magento-2.3.3.js +2 -21
- package/lib/config/versions/magento-2.3.4-p2.js +2 -21
- package/lib/config/versions/magento-2.3.4.js +2 -21
- package/lib/config/versions/magento-2.3.5-p1.js +2 -21
- package/lib/config/versions/magento-2.3.5-p2.js +2 -21
- package/lib/config/versions/magento-2.3.5.js +2 -21
- package/lib/config/versions/magento-2.3.6-p1.js +2 -21
- package/lib/config/versions/magento-2.3.6.js +2 -21
- package/lib/config/versions/magento-2.3.7-p1.js +2 -19
- package/lib/config/versions/magento-2.3.7-p2.js +2 -19
- package/lib/config/versions/magento-2.3.7-p3.js +2 -19
- package/lib/config/versions/magento-2.3.7.js +2 -19
- package/lib/config/versions/magento-2.4.0-p1.js +2 -19
- package/lib/config/versions/magento-2.4.0.js +2 -19
- package/lib/config/versions/magento-2.4.1-p1.js +6 -19
- package/lib/config/versions/magento-2.4.1.js +2 -19
- package/lib/config/versions/magento-2.4.2-p1.js +6 -20
- package/lib/config/versions/magento-2.4.2-p2.js +6 -19
- package/lib/config/versions/magento-2.4.2.js +6 -19
- package/lib/config/versions/magento-2.4.3-p1.js +6 -19
- package/lib/config/versions/magento-2.4.3-p2.js +6 -19
- package/lib/config/versions/magento-2.4.3.js +6 -19
- package/lib/config/versions/magento-2.4.4.js +2 -22
- package/lib/tasks/composer/install-prestissimo.js +52 -2
- package/lib/tasks/file-system/create-phpstorm-config/workspace-config/index.js +1 -3
- package/lib/tasks/file-system/create-ssl-terminator-config.js +3 -3
- package/lib/tasks/import-dump.js +13 -5
- package/lib/tasks/magento/enable-magento-composer-plugins.js +10 -19
- package/lib/tasks/magento/index.js +1 -1
- package/lib/tasks/magento/{install-magento.js → install-magento-project.js} +5 -4
- package/lib/tasks/magento/setup-magento/adjust-full-page-cache.js +13 -9
- package/lib/tasks/magento/setup-magento/configure-elasticsearch.js +1 -1
- package/lib/tasks/magento/setup-magento/create-admin.js +1 -1
- package/lib/tasks/magento/setup-magento/disable-2fa.js +1 -1
- package/lib/tasks/magento/setup-magento/disable-maintenance-mode.js +1 -1
- package/lib/tasks/magento/setup-magento/disable-page-builder.js +1 -1
- package/lib/tasks/magento/setup-magento/flush-redis-config.js +1 -1
- package/lib/tasks/magento/setup-magento/increase-admin-session-lifetime.js +1 -1
- package/lib/tasks/magento/setup-magento/index-products.js +1 -1
- package/lib/tasks/magento/setup-magento/index.js +5 -4
- package/lib/tasks/magento/setup-magento/install-magento.js +4 -2
- package/lib/tasks/magento/setup-magento/migrate-database.js +25 -10
- package/lib/tasks/magento/setup-magento/set-base-url.js +1 -1
- package/lib/tasks/magento/setup-magento/set-deployment-mode.js +1 -1
- package/lib/tasks/magento/setup-magento/set-url-rewrite.js +1 -3
- package/lib/tasks/magento/setup-magento/upgrade-magento.js +1 -1
- package/lib/tasks/magento/setup-magento/urn-highlighter.js +4 -4
- package/lib/tasks/magento/setup-magento/varnish-config.js +1 -2
- package/lib/tasks/magento/setup-magento/waiting-for-redis.js +1 -1
- package/lib/tasks/magento/setup-magento/waiting-for-varnish.js +1 -1
- package/lib/tasks/mysql/connect-to-mysql.js +1 -1
- package/lib/tasks/php/bundled-extensions.js +0 -1
- package/lib/tasks/php/update-env-php.js +34 -2
- package/lib/tasks/php/update-env.php +22 -8
- package/lib/tasks/requirements/dependency/mac.js +102 -25
- package/lib/tasks/requirements/phpbrew/install.js +5 -75
- package/lib/tasks/start.js +2 -2
- package/lib/tasks/status/index.js +7 -3
- package/lib/tasks/theme/link-theme.js +0 -2
- package/lib/tasks/theme/setup-themes.js +1 -5
- package/lib/util/exec-async-command.js +20 -12
- package/lib/util/install-dependencies-task.js +4 -6
- package/lib/util/is-running-root.js +3 -1
- package/package.json +2 -2
- package/typings/context.d.ts +1 -0
- package/lib/tasks/theme/setup-persisted-query.js +0 -63
package/lib/commands/execute.js
CHANGED
|
@@ -17,7 +17,8 @@ Available containers:
|
|
|
17
17
|
- nginx
|
|
18
18
|
- redis
|
|
19
19
|
- elasticsearch
|
|
20
|
-
- varnish (if enabled)
|
|
20
|
+
- varnish (if enabled)
|
|
21
|
+
- sslTerminator`);
|
|
21
22
|
},
|
|
22
23
|
async (argv) => {
|
|
23
24
|
const containers = (await docker).getContainers();
|
|
@@ -38,6 +39,8 @@ Available containers:
|
|
|
38
39
|
argv.commands.push('bash');
|
|
39
40
|
}
|
|
40
41
|
}
|
|
42
|
+
|
|
43
|
+
logger.logN(`Executing container ${logger.style.misc(container._)}`);
|
|
41
44
|
await executeInContainer({
|
|
42
45
|
containerName: container.name,
|
|
43
46
|
commands: argv.commands
|
package/lib/commands/logs.js
CHANGED
|
@@ -19,6 +19,7 @@ Available scopes:
|
|
|
19
19
|
- nginx
|
|
20
20
|
- elasticsearch
|
|
21
21
|
- varnish (if enabled)
|
|
22
|
+
- sslTerminator
|
|
22
23
|
|
|
23
24
|
And you can use name matching:
|
|
24
25
|
npm run logs ma (will match magento)
|
|
@@ -90,6 +91,8 @@ npm run logs re (will match redis)`);
|
|
|
90
91
|
argv.until && `--until ${argv.until}`
|
|
91
92
|
].filter(Boolean).join(' ');
|
|
92
93
|
const command = `docker logs ${containers[containerName].name} ${commandArguments}`;
|
|
94
|
+
|
|
95
|
+
logger.logN(`Looking at the logs of ${logger.style.misc(containerName)}:`);
|
|
93
96
|
await execAsyncSpawn(command, {
|
|
94
97
|
callback: logger.log
|
|
95
98
|
});
|
|
@@ -20,6 +20,16 @@ const dependenciesForPlatforms = {
|
|
|
20
20
|
installCommand: (deps, { native } = { native: false }) => `${getBrewCommandSync({ native })} install ${deps}`,
|
|
21
21
|
packageManager: 'brew'
|
|
22
22
|
},
|
|
23
|
+
'darwin-arm': {
|
|
24
|
+
dependencies: [
|
|
25
|
+
'php',
|
|
26
|
+
'autoconf',
|
|
27
|
+
'pkg-config',
|
|
28
|
+
'gd'
|
|
29
|
+
],
|
|
30
|
+
installCommand: (deps, { native } = { native: false }) => `${getBrewCommandSync({ native })} install ${deps}`,
|
|
31
|
+
packageManager: 'brew'
|
|
32
|
+
},
|
|
23
33
|
'Arch Linux': {
|
|
24
34
|
dependencies: [
|
|
25
35
|
'freetype2',
|
|
@@ -36,7 +46,9 @@ const dependenciesForPlatforms = {
|
|
|
36
46
|
'sqlite',
|
|
37
47
|
'readline',
|
|
38
48
|
'perl',
|
|
39
|
-
'libsodium'
|
|
49
|
+
'libsodium',
|
|
50
|
+
'php',
|
|
51
|
+
'pkgconf'
|
|
40
52
|
],
|
|
41
53
|
installCommand: (deps) => `sudo pacman -S ${deps} --noconfirm`,
|
|
42
54
|
packageManager: 'pacman'
|
|
@@ -58,7 +70,8 @@ const dependenciesForPlatforms = {
|
|
|
58
70
|
'bzip2-devel',
|
|
59
71
|
'curl-devel',
|
|
60
72
|
'libxslt-devel',
|
|
61
|
-
'autoconf'
|
|
73
|
+
'autoconf',
|
|
74
|
+
'php'
|
|
62
75
|
],
|
|
63
76
|
installCommand: (deps) => `sudo yum install ${deps} -y`,
|
|
64
77
|
packageManager: 'yum'
|
|
@@ -80,7 +93,8 @@ const dependenciesForPlatforms = {
|
|
|
80
93
|
'bzip2-devel',
|
|
81
94
|
'curl-devel',
|
|
82
95
|
'libxslt-devel',
|
|
83
|
-
'autoconf'
|
|
96
|
+
'autoconf',
|
|
97
|
+
'php'
|
|
84
98
|
],
|
|
85
99
|
installCommand: (deps) => `sudo yum install --enablerepo=PowerTools ${deps} -y`,
|
|
86
100
|
packageManager: 'yum'
|
|
@@ -109,7 +123,8 @@ const dependenciesForPlatforms = {
|
|
|
109
123
|
'php-bz2',
|
|
110
124
|
'pkg-config',
|
|
111
125
|
'autoconf',
|
|
112
|
-
'cmake'
|
|
126
|
+
'cmake',
|
|
127
|
+
'php'
|
|
113
128
|
],
|
|
114
129
|
installCommand: (deps) => `sudo apt install ${deps} -y`,
|
|
115
130
|
packageManager: 'apt'
|
package/lib/config/docker.js
CHANGED
|
@@ -102,6 +102,11 @@ module.exports = async ({ configuration, ssl, host }, config) => {
|
|
|
102
102
|
ports: isNotNativeLinux ? [
|
|
103
103
|
`${ isIpAddress(host) ? host : '127.0.0.1' }:${ ports.sslTerminator }:80`
|
|
104
104
|
] : [],
|
|
105
|
+
forwardedPorts: [
|
|
106
|
+
isNotNativeLinux
|
|
107
|
+
? `127.0.0.1:${ ports.sslTerminator }:80`
|
|
108
|
+
: `127.0.0.1:${ ports.sslTerminator }`
|
|
109
|
+
],
|
|
105
110
|
healthCheck: {
|
|
106
111
|
cmd: 'service nginx status'
|
|
107
112
|
},
|
|
@@ -127,6 +132,11 @@ module.exports = async ({ configuration, ssl, host }, config) => {
|
|
|
127
132
|
ports: isNotNativeLinux ? [
|
|
128
133
|
`${ isIpAddress(host) ? host : '127.0.0.1' }:${ ports.app }:80`
|
|
129
134
|
] : [],
|
|
135
|
+
forwardedPorts: [
|
|
136
|
+
isNotNativeLinux
|
|
137
|
+
? `127.0.0.1:${ ports.app }:80`
|
|
138
|
+
: `127.0.0.1:${ ports.app }`
|
|
139
|
+
],
|
|
130
140
|
healthCheck: {
|
|
131
141
|
cmd: 'service nginx status'
|
|
132
142
|
},
|
|
@@ -159,6 +169,7 @@ module.exports = async ({ configuration, ssl, host }, config) => {
|
|
|
159
169
|
cmd: 'redis-cli ping'
|
|
160
170
|
},
|
|
161
171
|
ports: [`127.0.0.1:${ ports.redis }:6379`],
|
|
172
|
+
forwardedPorts: [`127.0.0.1:${ ports.redis }:6379`],
|
|
162
173
|
mounts: [`source=${ volumes.redis.name },target=/data`],
|
|
163
174
|
// TODO: use connect instead
|
|
164
175
|
network: network.name,
|
|
@@ -176,6 +187,7 @@ module.exports = async ({ configuration, ssl, host }, config) => {
|
|
|
176
187
|
cmd: 'mysqladmin ping --silent'
|
|
177
188
|
},
|
|
178
189
|
ports: [`127.0.0.1:${ ports.mysql }:3306`],
|
|
190
|
+
forwardedPorts: [`127.0.0.1:${ ports.mysql }:3306`],
|
|
179
191
|
mounts: [`source=${ volumes.mysql.name },target=/var/lib/mysql`],
|
|
180
192
|
env: {
|
|
181
193
|
MYSQL_PORT: 3306,
|
|
@@ -194,7 +206,8 @@ module.exports = async ({ configuration, ssl, host }, config) => {
|
|
|
194
206
|
'--log_bin_trust_function_creators=1',
|
|
195
207
|
'--default-authentication-plugin=mysql_native_password',
|
|
196
208
|
'--max_allowed_packet=1GB',
|
|
197
|
-
'--bind-address=0.0.0.0'
|
|
209
|
+
'--bind-address=0.0.0.0',
|
|
210
|
+
'--secure-file-priv=NULL'
|
|
198
211
|
].join(' '),
|
|
199
212
|
securityOptions: [
|
|
200
213
|
'seccomp=unconfined'
|
|
@@ -216,6 +229,7 @@ module.exports = async ({ configuration, ssl, host }, config) => {
|
|
|
216
229
|
cmd: 'curl --silent --fail localhost:9200/_cluster/health || exit 1'
|
|
217
230
|
},
|
|
218
231
|
ports: [`127.0.0.1:${ ports.elasticsearch }:9200`],
|
|
232
|
+
forwardedPorts: [`127.0.0.1:${ ports.elasticsearch }:9200`],
|
|
219
233
|
mounts: [`source=${ volumes.elasticsearch.name },target=/usr/share/elasticsearch/data`],
|
|
220
234
|
env: {
|
|
221
235
|
'bootstrap.memory_lock': true,
|
|
@@ -256,6 +270,11 @@ module.exports = async ({ configuration, ssl, host }, config) => {
|
|
|
256
270
|
ports: isNotNativeLinux ? [
|
|
257
271
|
`${ isIpAddress(host) ? host : '127.0.0.1' }:${ ports.varnish }:80`
|
|
258
272
|
] : [],
|
|
273
|
+
forwardedPorts: [
|
|
274
|
+
isNotNativeLinux
|
|
275
|
+
? `127.0.0.1:${ ports.varnish }:80`
|
|
276
|
+
: `127.0.0.1:${ ports.varnish }`
|
|
277
|
+
],
|
|
259
278
|
env: {
|
|
260
279
|
VARNISH_SIZE: '2G'
|
|
261
280
|
},
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const { xdebug } = require('../extensions');
|
|
3
|
+
|
|
4
|
+
const php72 = ({ templateDir, additionalExtensions = {} }) => ({
|
|
5
|
+
version: '7.2.34',
|
|
6
|
+
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
7
|
+
extensions: {
|
|
8
|
+
gd: {
|
|
9
|
+
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
10
|
+
},
|
|
11
|
+
intl: {},
|
|
12
|
+
zlib: {},
|
|
13
|
+
openssl: {},
|
|
14
|
+
sockets: {},
|
|
15
|
+
SimpleXML: {},
|
|
16
|
+
xdebug,
|
|
17
|
+
apcu: {},
|
|
18
|
+
opcache: {
|
|
19
|
+
extensionName: 'Zend OPcache'
|
|
20
|
+
},
|
|
21
|
+
...additionalExtensions
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
module.exports = php72;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const { xdebug } = require('../extensions');
|
|
3
|
+
|
|
4
|
+
const php73 = ({ templateDir, additionalExtensions = {} }) => ({
|
|
5
|
+
version: '7.3.33',
|
|
6
|
+
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
7
|
+
extensions: {
|
|
8
|
+
gd: {
|
|
9
|
+
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
10
|
+
},
|
|
11
|
+
intl: {},
|
|
12
|
+
zlib: {},
|
|
13
|
+
openssl: {},
|
|
14
|
+
sockets: {},
|
|
15
|
+
SimpleXML: {},
|
|
16
|
+
xdebug,
|
|
17
|
+
apcu: {},
|
|
18
|
+
opcache: {
|
|
19
|
+
extensionName: 'Zend OPcache'
|
|
20
|
+
},
|
|
21
|
+
...additionalExtensions
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
module.exports = php73;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const { xdebug } = require('../extensions');
|
|
3
|
+
|
|
4
|
+
const php74 = ({ templateDir, additionalExtensions = {} } = {}) => ({
|
|
5
|
+
version: '7.4.30',
|
|
6
|
+
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
7
|
+
extensions: {
|
|
8
|
+
gd: {},
|
|
9
|
+
intl: {},
|
|
10
|
+
zlib: {},
|
|
11
|
+
openssl: {},
|
|
12
|
+
sockets: {},
|
|
13
|
+
SimpleXML: {},
|
|
14
|
+
xdebug,
|
|
15
|
+
apcu: {},
|
|
16
|
+
opcache: {
|
|
17
|
+
extensionName: 'Zend OPcache'
|
|
18
|
+
},
|
|
19
|
+
...additionalExtensions
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
module.exports = php74;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const { libsodium, xdebug } = require('../extensions');
|
|
3
|
+
|
|
4
|
+
const php81 = ({ templateDir, additionalExtensions = {} } = {}) => ({
|
|
5
|
+
version: '8.1.7',
|
|
6
|
+
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
7
|
+
extensions: {
|
|
8
|
+
gd: {},
|
|
9
|
+
intl: {},
|
|
10
|
+
zlib: {},
|
|
11
|
+
openssl: {},
|
|
12
|
+
sockets: {},
|
|
13
|
+
SimpleXML: {},
|
|
14
|
+
libsodium,
|
|
15
|
+
fileinfo: {},
|
|
16
|
+
xdebug,
|
|
17
|
+
apcu: {},
|
|
18
|
+
opcache: {
|
|
19
|
+
extensionName: 'Zend OPcache'
|
|
20
|
+
},
|
|
21
|
+
...additionalExtensions
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
module.exports = php81;
|
package/lib/config/php-config.js
CHANGED
|
@@ -17,8 +17,8 @@ module.exports = (app, config) => {
|
|
|
17
17
|
binPath: path.join(phpVersionDir, 'bin', 'php'),
|
|
18
18
|
iniPath: path.join(cacheDir, 'php.ini'),
|
|
19
19
|
iniTemplatePath: php.configTemplate,
|
|
20
|
-
fpmBinPath: path.
|
|
21
|
-
fpmConfPath: path.
|
|
20
|
+
fpmBinPath: path.join(phpVersionDir, 'sbin', 'php-fpm'),
|
|
21
|
+
fpmConfPath: path.join(cacheDir, 'php-fpm.conf'),
|
|
22
22
|
fpmPidFilePath: path.join(cacheDir, 'php-fpm.pid'),
|
|
23
23
|
extensions: php.extensions,
|
|
24
24
|
version: php.version
|
|
@@ -21,6 +21,12 @@ server {
|
|
|
21
21
|
proxy_set_header X-Real-IP $remote_addr;
|
|
22
22
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
23
23
|
proxy_set_header Host $http_host;
|
|
24
|
+
proxy_http_version 1.1;
|
|
25
|
+
proxy_set_header Connection "";
|
|
26
|
+
proxy_connect_timeout 300;
|
|
27
|
+
proxy_send_timeout 300;
|
|
28
|
+
proxy_read_timeout 300;
|
|
29
|
+
send_timeout 300;
|
|
24
30
|
|
|
25
31
|
proxy_pass http://<%= it.hostMachine %>:<% if (it.config.configuration.varnish.enabled) { %><%= it.ports.varnish %><% } else { %><%= it.ports.app %><% } %>;
|
|
26
32
|
}
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php72 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.0',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.2.33',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php72({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php72 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.1',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.2.33',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php72({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php72 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.2-p2',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.2.33',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php72({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php72 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.2',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.2.33',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php72({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php73 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.3-p1',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.3.28',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php73({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php73 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.3',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.3.28',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php73({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php73 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.4-p2',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.3.28',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php73({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php73 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.4',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.3.28',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php73({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php73 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.5-p1',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.3.28',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php73({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|
|
@@ -1,32 +1,13 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const { defaultMagentoConfig } = require('../magento-config');
|
|
3
|
+
const { php73 } = require('../php/releases');
|
|
3
4
|
const { sslTerminator } = require('../ssl-terminator');
|
|
4
5
|
const { varnish66 } = require('../varnish/varnish-6-6');
|
|
5
6
|
|
|
6
7
|
module.exports = ({ templateDir } = {}) => ({
|
|
7
8
|
magentoVersion: '2.3.5-p2',
|
|
8
9
|
configuration: {
|
|
9
|
-
php: {
|
|
10
|
-
version: '7.3.28',
|
|
11
|
-
configTemplate: path.join(templateDir || '', 'php.template.ini'),
|
|
12
|
-
extensions: {
|
|
13
|
-
gd: {
|
|
14
|
-
macosOptions: '--with-zlib-dir=$(brew --prefix zlib) --with-freetype-dir=$(brew --prefix freetype)'
|
|
15
|
-
},
|
|
16
|
-
intl: {},
|
|
17
|
-
zlib: {},
|
|
18
|
-
openssl: {},
|
|
19
|
-
sockets: {},
|
|
20
|
-
SimpleXML: {},
|
|
21
|
-
xdebug: {
|
|
22
|
-
version: '3.1.2'
|
|
23
|
-
},
|
|
24
|
-
apcu: {},
|
|
25
|
-
opcache: {
|
|
26
|
-
extensionName: 'Zend OPcache'
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
10
|
+
php: php73({ templateDir }),
|
|
30
11
|
nginx: {
|
|
31
12
|
version: '1.18.0',
|
|
32
13
|
configTemplate: path.join(templateDir || '', 'nginx.template.conf')
|