Created
December 12, 2024 09:12
-
-
Save cristiroma/020fdeca3023b3eb4a4885b69b49a70e to your computer and use it in GitHub Desktop.
How to develop custom module - Symlink local repository
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "https://packages.drupal.org/8", | |
"exclude": [ "drupal/YOUR_MODULE" ] | |
}, | |
{ | |
"type": "path", | |
"url": "../YOUR_MODULE_GIT_CHECKOUT_DIRECTORY" | |
} | |
], | |
"minimum-stability": "dev", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"exclude": [ "drupal/YOUR_MODULE" ]
- to avoid installing from public repocomposer require drupal/YOUR_MODULE
to symlink module to project