Make it usable for other projects
Now this tool is used only for Yii 3, but it would be convenient to use it for developing other projects, for example, a project based on modules.
What needs to be changed/added:
-
[ ] Extract core files to
yiisoft/dev-tooland add dependency it toyii-dev-tool -
[x] Make configuration of repositories possible, decouple from yii
-
[ ] Add a command that creates a package from a template
-
[x] Add a command to run unit tests in packages
Make configuration of repositories possible, decouple from yii
Isn't it there? https://github.com/yiisoft/yii-dev-tool/blob/master/packages.local.php.example
Add a command that creates a package from a template
That is easy to do via GitHub currently:

Make configuration of repositories possible, decouple from yii
Isn't it there? https://github.com/yiisoft/yii-dev-tool/blob/master/packages.local.php.example
Add a command that creates a package from a template
That is easy to do via GitHub currently:
-
I'm talking about this https://github.com/yiisoft/yii-dev-tool/blob/master/src/Command/InstallCommand.php#L107 there is still where it is tied. Make the default repository address so that you can simply specify
test/test, not the full path to the repository. -
It is possible to do with the help of github, but it is not as convenient as
./dev-tool package/create yiisoft/testMake a template folder that you can change if needed for yourself, make automatic insertion of the package name into composer.json, etc. And someone uses gitlab or bitbucket, it's easier to specify the repository and then the script will do everything
Alright. Makes sense but not a priority at this stage.
Alright. Makes sense but not a priority at this stage.
Of course, this is not a priority now, I created iusse so as not to forget, and so I have already forgotten some ideas)