@scandipwa/magento-scripts 1.15.7 → 1.16.0-alpha.2
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/docker.js +21 -2
- 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/templates/nginx.template.conf +3 -0
- package/lib/config/templates/ssl-terminator.template.conf +7 -1
- 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/magento/enable-magento-composer-plugins.js +1 -1
- package/lib/tasks/magento/setup-magento/adjust-full-page-cache.js +12 -8
- package/lib/tasks/magento/setup-magento/index.js +2 -3
- package/lib/tasks/magento/setup-magento/migrate-database.js +5 -0
- package/lib/tasks/php/extensions/index.js +3 -5
- package/lib/tasks/php/update-env-php.js +33 -1
- package/lib/tasks/php/update-env.php +22 -8
- 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/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
|
});
|
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,13 +270,18 @@ 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
|
},
|
|
262
281
|
restart: 'on-failure:30',
|
|
263
282
|
network: isNotNativeLinux ? network.name : 'host',
|
|
264
283
|
// eslint-disable-next-line max-len
|
|
265
|
-
command: `/bin/bash -c "varnishd -a :${ isNotNativeLinux ? 80 : ports.varnish } -t 600 -f /etc/varnish/default.vcl -s malloc,512m && varnishlog"`,
|
|
284
|
+
command: `/bin/bash -c "varnishd -a :${ isNotNativeLinux ? 80 : ports.varnish } -t 600 -f /etc/varnish/default.vcl -s malloc,512m -p http_resp_hdr_len=70000 -p http_resp_size=100000 && varnishlog"`,
|
|
266
285
|
tmpfs: [
|
|
267
286
|
'/var/lib/varnish:exec'
|
|
268
287
|
]
|
|
@@ -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;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
upstream fastcgi_backend {
|
|
2
2
|
# use tcp connection
|
|
3
3
|
server <%= it.hostMachine %>:<%= it.ports.fpm %>;
|
|
4
|
+
|
|
5
|
+
keepalive 16;
|
|
4
6
|
}
|
|
5
7
|
|
|
6
8
|
server {
|
|
@@ -163,6 +165,7 @@ server {
|
|
|
163
165
|
fastcgi_read_timeout 600s;
|
|
164
166
|
fastcgi_connect_timeout 600s;
|
|
165
167
|
|
|
168
|
+
fastcgi_keep_conn on;
|
|
166
169
|
fastcgi_index index.php;
|
|
167
170
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
168
171
|
include fastcgi_params;
|
|
@@ -3,6 +3,12 @@ set_real_ip_from 10.0.0.0/8;
|
|
|
3
3
|
set_real_ip_from 172.0.0.0/8;
|
|
4
4
|
real_ip_recursive on;
|
|
5
5
|
|
|
6
|
+
upstream app_backend {
|
|
7
|
+
server <%= it.hostMachine %>:<% if (it.config.configuration.varnish.enabled) { %><%= it.ports.varnish %><% } else { %><%= it.ports.app %><% } %>;
|
|
8
|
+
|
|
9
|
+
keepalive 16;
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
server {
|
|
7
13
|
listen <%= it.hostPort %>;
|
|
8
14
|
<% if (it.config.ssl.enabled) { %> listen 443 ssl;
|
|
@@ -28,6 +34,6 @@ server {
|
|
|
28
34
|
proxy_read_timeout 300;
|
|
29
35
|
send_timeout 300;
|
|
30
36
|
|
|
31
|
-
proxy_pass http
|
|
37
|
+
proxy_pass http://app_backend;
|
|
32
38
|
}
|
|
33
39
|
}
|
|
@@ -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')
|
|
@@ -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',
|
|
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')
|