You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I have a fundamental flaw in my understanding of things, but here is what I am trying to achieve.
In my local dev project(s) I want to install modules (magento) by referencing to their local path folder.
This way I can work on those modules (in their original location) while in use inside a (or multiple) project(s). When changes in the modules are ready for publication they get committed to github and published via packagist.
Now when I use studio I end up with a composer.lock that references the modules from my local source. But this does not work in the remote production environment as there are no local sources remotely. On the remote machine composer should grab the modules from github/packagist.
Am I wrong studio assuming would help me with this issue?
This is a composer.lock from a test setup:
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "176bdd05e506333feee3a7bba56a0233",
"packages": [],
"packages-dev": [
{
"name": "mynamespace/testproject",
"version": "dev-main",
"dist": {
"type": "path",
"url": "/libs/mynamespace/testproject",
"reference": "5b5fba674e14ae4fb9303e34625b8902f5a0f0dc"
},
"type": "magento2-module",
"autoload": {
"files": [
"src/registration.php"
],
"psr-4": {
"mynamespace\\testproject\\": "src/"
}
},
"license": [
"MIT"
],
"authors": [
{
"name": "John Doe",
"email": "[email protected]"
}
],
"transport-options": {
"relative": false
}
}
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"mynamespace/testproject": 20
},
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.3.0"
}
The text was updated successfully, but these errors were encountered:
Maybe I have a fundamental flaw in my understanding of things, but here is what I am trying to achieve.
In my local dev project(s) I want to install modules (magento) by referencing to their local path folder.
This way I can work on those modules (in their original location) while in use inside a (or multiple) project(s). When changes in the modules are ready for publication they get committed to github and published via packagist.
Now when I use studio I end up with a composer.lock that references the modules from my local source. But this does not work in the remote production environment as there are no local sources remotely. On the remote machine composer should grab the modules from github/packagist.
Am I wrong studio assuming would help me with this issue?
This is a composer.lock from a test setup:
The text was updated successfully, but these errors were encountered: