@scandipwa/magento-scripts 2.1.0 → 2.1.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.
@@ -49,6 +49,11 @@ const addExtensionToBuilder =
49
49
  runCommand += ` ${await Promise.resolve(
50
50
  command({ ...extensionInstructionsWithoutCommand, ctx })
51
51
  )}`
52
+ } else if (typeof command === 'function') {
53
+ runCommand += ` ${command({
54
+ ...extensionInstructionsWithoutCommand,
55
+ ctx
56
+ })}`
52
57
  } else {
53
58
  runCommand += ` docker-php-ext-install ${
54
59
  extensionInstructionsWithoutCommand.name || extensionName
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": "2.1.0",
6
+ "version": "2.1.1",
7
7
  "main": "./index.js",
8
8
  "types": "./typings/index.d.ts",
9
9
  "license": "OSL-3.0",
@@ -58,5 +58,5 @@
58
58
  "devDependencies": {
59
59
  "@types/yargs": "^17.0.13"
60
60
  },
61
- "gitHead": "0996876dfaaa5aa48c48dee07fa0167773a0fe13"
61
+ "gitHead": "0c665d04295cce4c7f4e924389e50c3eb29f0f75"
62
62
  }