@scandipwa/magento-scripts 1.14.1-alpha.10 → 1.14.1-alpha.11

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.
Files changed (81) hide show
  1. package/lib/commands/logs.js +1 -0
  2. package/lib/commands/start.js +18 -5
  3. package/lib/config/dependencies-for-platforms.js +12 -2
  4. package/lib/config/docker.js +4 -3
  5. package/lib/config/get-port-config.js +2 -1
  6. package/lib/config/index.js +2 -1
  7. package/lib/config/php/extensions/libsodium.js +2 -1
  8. package/lib/config/scandipwa-versions.js +2 -2
  9. package/lib/config/system-config.js +34 -5
  10. package/lib/errors/known-error.js +15 -0
  11. package/lib/errors/unknown-error.js +15 -0
  12. package/lib/tasks/cli/create-bashrc-config.js +2 -1
  13. package/lib/tasks/composer/index.js +5 -3
  14. package/lib/tasks/composer/local-auth-json.js +4 -2
  15. package/lib/tasks/docker/network.js +2 -1
  16. package/lib/tasks/file-system/create-nginx-config.js +2 -1
  17. package/lib/tasks/file-system/create-php-config.js +2 -1
  18. package/lib/tasks/file-system/create-php-fpm-config.js +2 -1
  19. package/lib/tasks/file-system/create-php-storm-config.js +6 -5
  20. package/lib/tasks/file-system/create-ssl-terminator-config.js +5 -3
  21. package/lib/tasks/file-system/create-varnish-config.js +2 -23
  22. package/lib/tasks/file-system/create-vscode-config.js +3 -2
  23. package/lib/tasks/magento/enable-magento-composer-plugins.js +3 -2
  24. package/lib/tasks/magento/install-magento.js +7 -5
  25. package/lib/tasks/magento/setup-magento/flush-redis-config.js +2 -1
  26. package/lib/tasks/magento/setup-magento/index.js +3 -1
  27. package/lib/tasks/magento/setup-magento/install-magento.js +2 -1
  28. package/lib/tasks/magento/setup-magento/upgrade-magento.js +11 -1
  29. package/lib/tasks/magento/setup-magento/waiting-for-varnish.js +41 -0
  30. package/lib/tasks/mysql/connect-to-mysql.js +2 -1
  31. package/lib/tasks/mysql/import-dump-to-mysql.js +4 -2
  32. package/lib/tasks/mysql/import-remote-db/index.js +2 -1
  33. package/lib/tasks/mysql/import-remote-db/ssh/index.js +2 -1
  34. package/lib/tasks/mysql/import-remote-db/ssh/regular-server.js +2 -1
  35. package/lib/tasks/php/bundled-extensions.js +28 -0
  36. package/lib/tasks/php/compile-options.js +18 -48
  37. package/lib/tasks/php/compile.js +4 -3
  38. package/lib/tasks/php/configure.js +7 -66
  39. package/lib/tasks/php/extensions/index.js +71 -0
  40. package/lib/tasks/php/index.js +7 -6
  41. package/lib/tasks/php/update-phpbrew.js +2 -1
  42. package/lib/tasks/php/validate-php.js +67 -0
  43. package/lib/tasks/php-fpm/start-php-fpm.js +2 -1
  44. package/lib/tasks/requirements/composer.js +5 -3
  45. package/lib/tasks/requirements/dependency/arch.js +2 -1
  46. package/lib/tasks/requirements/dependency/centos.js +2 -1
  47. package/lib/tasks/requirements/dependency/fedora.js +2 -1
  48. package/lib/tasks/requirements/docker/index.js +5 -4
  49. package/lib/tasks/requirements/docker/install.js +2 -1
  50. package/lib/tasks/requirements/docker/running-status.js +3 -2
  51. package/lib/tasks/requirements/docker/version.js +2 -1
  52. package/lib/tasks/requirements/node-version.js +2 -1
  53. package/lib/tasks/requirements/php-version.js +5 -3
  54. package/lib/tasks/requirements/phpbrew/index.js +2 -1
  55. package/lib/tasks/requirements/phpbrew/install.js +2 -1
  56. package/lib/tasks/requirements/phpbrew/version.js +2 -1
  57. package/lib/tasks/requirements/platform.js +3 -2
  58. package/lib/tasks/start.js +3 -1
  59. package/lib/tasks/theme/build-theme.js +2 -1
  60. package/lib/tasks/theme/install-theme.js +2 -1
  61. package/lib/tasks/theme/retrieve-theme-data.js +2 -1
  62. package/lib/tasks/theme/setup-persisted-query.js +2 -1
  63. package/lib/tasks/theme/setup-themes.js +2 -1
  64. package/lib/tasks/theme/symlink-theme.js +2 -1
  65. package/lib/util/analytics.js +337 -0
  66. package/lib/util/config-file-validator.js +2 -1
  67. package/lib/util/config-php-json.js +3 -2
  68. package/lib/util/env-php-json.js +3 -2
  69. package/lib/util/get-installed-magento-version.js +3 -2
  70. package/lib/util/get-jsonfile-data.js +2 -1
  71. package/lib/util/install-dependencies-task.js +4 -4
  72. package/lib/util/instance-metadata.js +2 -1
  73. package/lib/util/ip.js +45 -1
  74. package/lib/util/magento-task.js +20 -9
  75. package/lib/util/request.js +0 -0
  76. package/lib/util/resolve-configuration-with-overrides.js +2 -1
  77. package/lib/util/run-composer.js +3 -2
  78. package/lib/util/run-magento.js +3 -2
  79. package/lib/util/run-php.js +3 -2
  80. package/lib/util/wait-for-it.js +3 -2
  81. package/package.json +4 -3
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.14.1-alpha.10",
6
+ "version": "1.14.1-alpha.11",
7
7
  "main": "./index.js",
8
8
  "types": "./typings/index.d.ts",
9
9
  "license": "OSL-3.0",
@@ -22,7 +22,7 @@
22
22
  "arm64"
23
23
  ],
24
24
  "dependencies": {
25
- "@scandipwa/scandipwa-dev-utils": "0.1.12",
25
+ "@scandipwa/scandipwa-dev-utils": "0.1.13",
26
26
  "conf": "10.1.1",
27
27
  "enquirer": "2.3.6",
28
28
  "eta": "1.12.3",
@@ -35,6 +35,7 @@
35
35
  "mysql2": "2.3.2",
36
36
  "node-ssh": "12.0.0",
37
37
  "semver": "7.3.5",
38
+ "smol-request": "2.1.1",
38
39
  "systeminformation": "5.11.7",
39
40
  "yargs": "17.3.1"
40
41
  },
@@ -51,5 +52,5 @@
51
52
  "mysql",
52
53
  "scandipwa"
53
54
  ],
54
- "gitHead": "7d4d0843836447fa9ae49ad9927aa9eb2e92ca98"
55
+ "gitHead": "3e86a5870f29d0b24ac3f65ff5fdbe96ef5bd025"
55
56
  }