Fetch module from PackDis
Prerequisites
- Module added in line with https://git.econsor.net/magento/magento-2/module/skeleton/-/wikis/add-module-to-pack-dis
Instructions
- Add repository for pack dis in composer.json
{
"type": "composer",
"url": "https://packages.econsor.net/r"
} - Add auth information to auth.json
- For http-basic:
- URL: packages.econsor.net
- Username: "token"
- Password: {TOKEN YOU CREATED EARLIER}
- For http-basic:
- Require your module:
- For stable(tagged) versions you can require as normal
- For unreleased release branches with a branch alias require with the version alias @dev i.e. "^0.1.0@dev" for alias "
0.1.x-dev"- Branch aliases can be defined for unreleased release branches and look like the following:
However these should be removed before a release gets tagged
"extra": {
"branch-alias": {
"dev-{BRANCH NAME}": "{VERSION NUMBER}.x-dev"
}
}
- Branch aliases can be defined for unreleased release branches and look like the following:
- For unmerged feature branches require: "{COMPOSER MODULE NAME}:{FEATURE BRANCH NAME} as {DESIRED VERSION NUMBER}"
- For details regarding composer versionr requirements see: https://getcomposer.org/doc/articles/versions.md