30 Commits
Author SHA1 Message Date
Christian Münch a101ea42d0 Automatic php version and framework dependency detection
Introduces a abstraction to read data of composer.lock.
Use current php version and actual installed version of
magento/framework as version of dependencies for new
generated module.
2023-07-31 09:58:10 +02:00
Aad Mathijssen b9f75df9d6 Add --add-strict-types option to dev:module:create command 2020-10-31 12:22:05 +01:00
Aad Mathijssen a212846ecd Fix order of import statements in the Setup classes generated by dev:module:create 2020-10-30 16:33:48 +01:00
Aad Mathijssen 5784a0c700 Fix PSR-12-violation in the registration.php file generated by dev:module:create 2020-10-30 14:02:09 +01:00
Christian Münch d3930f7a3d Cleanup unused code in dev:console 2019-12-28 18:18:29 +01:00
Christian Münch 7d9c4fd150 Fix #302 Replace n98-magerun.phar witg n98-magerun2.phar
[ci skip]
2018-09-13 00:54:53 +02:00
Christian Münch 654d08ed02 Add requirements for Magento 2.2 2017-12-27 10:32:42 +01:00
Tom Klingenberg 4038599a87 Fix bash autocompletion, fixes #331
Via `bin/compile-bash-autocompletion`.

The script

    build/bin/compile-bash-autocomplemetion-sh

creates (when invoked from a Zsh shell) an autocompletion file for Zsh.

This causes an error as the generated file is used in a bash environment.

Fix is to make the generation for the bash autocompletion explicit by
using the --shell=bash switch for the symfony-autocomplete tool.


Refs:

- #331

- #327
2017-11-16 00:26:39 +01:00
Tom Klingenberg 6e366e97bf Update bash autocompletion, improves #327
Via `bin/compile-bash-autocompletion`.

Refs:

- #327
2017-11-02 09:43:44 +01:00
Floddy e1da0b810f Bash autocompletion fix for 2.0.0+ 2017-11-01 19:18:07 +01:00
Christian Münch fb75eb2f88 Major break: Renamed config commands according to changes in Magento 2.2 2017-10-10 20:43:42 +02:00
Oleksandr Turiak 2c7585dc8f Generate a shorter version of registration.php 2017-03-30 14:31:15 +02:00
Christian Münch 0cfb9cc6b3 Polish composer.json templates
Touch-up of composer.json template, e.g. we cannot assume that
every module use OSL-3 license, new framework versions and
removal of hardcoded version string which should not be
used with VCS tagging.

Refs:

- Commmand: make:module

- Commmand: make:theme
2017-03-02 09:26:40 +01:00
Tom Klingenberg f7c5e778c3 Move autocompletion into res folder
And forward port of Magerun static bash automcompletion compilation.

More space in project root directory and align it's name with the other
autocompletion files (fish, zsh).

Register symfony-console-autocomplete as a development requirement.

Reflect changes in docs.

Make autocompletion compiling a first-level command.

Integrate with Travis build.
2017-02-11 17:31:27 +01:00
Tom Klingenberg e20e08ed68 Remove old composer json res files
Forward port from Magerun cc6fc14.

These two composer files were added long ago. Composer is shipping in
the vendor folder incl. these (or now better: their precursors files).

As I remove these I must admit I have no clue why these files were added
in the first place so technically I'm not understanding what I'm doing.
So in case these files have been removed in error please ping me.

Refs:

- n98-magerun/cc6fc14331a8b736175818c5cb0cad1156305ded

- n98-magerun/60de37ca9006234b6a3336897ba6f4cc5078b658
2017-02-11 13:38:11 +01:00
Alexander Turiak f06e36b392 Fix minor PHP version for Magento 2 extensions (#269)
Magento2 has minimum PHP 5.6.x requirement, compare with devdocs.

Refs:

- Command: dev:module:create
2017-02-11 13:12:30 +01:00
jurgisl add1bdf16e Fix copy-paste errors in Setup twig template. 2016-12-23 09:37:27 +01:00
Christian Münch 817df4587b [TASK] Add support for composer.json during theme generation 2016-07-17 13:37:59 +02:00
Christian Münch e55d700034 [TASK] Remove default dependency to composer installer 2016-07-17 13:37:59 +02:00
Christian Münch ab2194e74a [TASK] Add composer.json generation to make:module command 2016-07-17 13:36:40 +02:00
Christian Münch 7247fae1dc [TASK] Add logic to render table columns 2016-07-17 13:36:40 +02:00
Christian Münch aaeef969cf [TASK] Moved render logic into own renderer class. 2016-07-17 13:36:40 +02:00
Christian Münch effa916e2c [WIP] Add make:table command and some changes according to shell 2016-07-17 13:36:40 +02:00
Phillip Jackson 9817535ac4 Add trailing namespace slash (required by Packagist) 2016-04-22 17:39:56 -04:00
Ben McManus 36f1c6d95f Update composer properties
* prefix composer package name with 'module-'
* fix module type to magento2
* add magento2 module autoloader
2016-03-01 19:16:51 +00:00
Christian Münch deffde98c7 [TASK] dev:module:create command: Changed XSD pathes to new form. Added module registration.php file. 2015-11-09 01:04:04 +01:00
Christian Münch 66f0cb2dd5 [FEATURE] Generate setup classes. 2015-05-29 17:54:36 +02:00
Christian Münch aab044e96c [BUGFIX] #77 Fixed XSD path in crontab.xml file. 2015-05-19 12:22:51 +02:00
Christian Münch 4adc1c5036 [TASK] #77 Ported dev:module:create command. 2015-05-19 11:56:48 +02:00
Christian Münch e98f81465c [TASK] Added res folder. 2014-12-26 20:37:18 +01:00