我的第 3 方组件:
{
"name": "3rd/test,
"type": "vcs",
"minimum-stability": "dev"
}
想要使用它的项目:
{
"name": "test/test",
"type": "project",
"minimum-stability": "dev",
"license": "proprietary",
"repositories": [
{
"type": "path",
"url": "/path/of/3rd/library",
"options": {
"symlink": false
}
}
],
"require": {
"3rd/test": "*",
"php": ">=8.1",
"ext-json": "*",
"ext-gd": "*",
"ext-zlib": "*",
"ext-mysqli": "*",
"ext-curl": "*",
"ext-bcmath": "*",
"ext-zip": "*",
"ext-pdo": "*",
"ext-sqlite3": "*"
}
}
首先它会将第 3 方库复制到供应商/目录,到目前为止一切顺利。但是当我在第三个库中进行修改并使用 Composer Update 时,它不会更新该文件!为什么?