@scandipwa/magento-scripts 1.16.0-alpha.2 → 1.16.0-alpha.3

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.
@@ -206,9 +206,10 @@ module.exports = async ({ configuration, ssl, host }, config) => {
206
206
  '--log_bin_trust_function_creators=1',
207
207
  '--default-authentication-plugin=mysql_native_password',
208
208
  '--max_allowed_packet=1GB',
209
- '--bind-address=0.0.0.0',
210
- '--secure-file-priv=NULL'
211
- ].join(' '),
209
+ '--bind-address=0.0.0.0'
210
+ ]
211
+ .concat(!isArm ? ['--secure-file-priv=NULL'] : [])
212
+ .join(' '),
212
213
  securityOptions: [
213
214
  'seccomp=unconfined'
214
215
  ],
@@ -1,5 +1,6 @@
1
1
  /* eslint-disable max-len */
2
2
  const { execAsyncSpawn } = require('../../util/exec-async-command');
3
+ const logger = require('@scandipwa/scandipwa-dev-utils/logger');
3
4
 
4
5
  /**
5
6
  * @param {Object} options
@@ -89,7 +90,8 @@ const pullContainers = () => ({
89
90
  .join(' ');
90
91
  const existingImages = await execAsyncSpawn(`docker images ${containerFilters}`);
91
92
  const missingContainerImages = containers.filter((container) => !existingImages.split('\n')
92
- .some((line) => line.includes(container.imageDetails.name) && line.includes(container.imageDetails.tag)));
93
+ .some((line) => line.includes(container.imageDetails.name) && line.includes(container.imageDetails.tag)))
94
+ .reduce((acc, val) => acc.concat(acc.some((c) => c.imageDetails.name === val.imageDetails.name && c.imageDetails.tag === val.imageDetails.tag) ? [] : val), []);
93
95
 
94
96
  if (missingContainerImages.length === 0) {
95
97
  task.skip();
@@ -98,7 +100,7 @@ const pullContainers = () => ({
98
100
 
99
101
  return task.newListr(
100
102
  missingContainerImages.map((container) => ({
101
- title: `Pulling ${container._} image`,
103
+ title: `Pulling ${ logger.style.file(`${container.imageDetails.name}:${container.imageDetails.tag}`) } image`,
102
104
  task: () => pull(`${container.imageDetails.name}:${container.imageDetails.tag}`)
103
105
  })), {
104
106
  concurrent: true,
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.16.0-alpha.2",
6
+ "version": "1.16.0-alpha.3",
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": "a8b18468296f30f92ba957e6cb96e3af3777f856"
56
+ "gitHead": "1801104ed104a124f8d08cc81008d21b792857e4"
57
57
  }