{"action":"created","issue":{"url":"https://api.github.com/repos/RobLoach/component-installer/issues/74","labels_url":"https://api.github.com/repos/RobLoach/component-installer/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/RobLoach/component-installer/issues/74/comments","events_url":"https://api.github.com/repos/RobLoach/component-installer/issues/74/events","html_url":"https://github.com/RobLoach/component-installer/issues/74","id":49230767,"number":74,"title":"Can't change list of files to copy without editing composer.lock","user":{"login":"terrasoff","id":1147943,"avatar_url":"https://avatars.githubusercontent.com/u/1147943?v=3","gravatar_id":"","url":"https://api.github.com/users/terrasoff","html_url":"https://github.com/terrasoff","followers_url":"https://api.github.com/users/terrasoff/followers","following_url":"https://api.github.com/users/terrasoff/following{/other_user}","gists_url":"https://api.github.com/users/terrasoff/gists{/gist_id}","starred_url":"https://api.github.com/users/terrasoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrasoff/subscriptions","organizations_url":"https://api.github.com/users/terrasoff/orgs","repos_url":"https://api.github.com/users/terrasoff/repos","events_url":"https://api.github.com/users/terrasoff/events{/privacy}","received_events_url":"https://api.github.com/users/terrasoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-11-18T13:49:35Z","updated_at":"2015-09-02T07:06:39Z","closed_at":null,"body":"- add package (with files section)\r\n```json\r\n{\r\n            \"type\": \"package\",\r\n            \"package\": {\r\n                \"name\": \"twbs/bootstrap\",\r\n                \"type\": \"component\",\r\n                \"version\": \"3.3.0\",\r\n                \"source\": {\r\n                    \"type\": \"git\",\r\n                    \"url\": \"https://github.com/twbs/bootstrap\",\r\n                    \"reference\": \"3.3.0\"\r\n                },\r\n                \"extra\": {\r\n                    \"name\": \"bootstrap\",\r\n                    \"component\": {\r\n                        \"files\": [\r\n                            \"./dist/js/bootstrap.min.js\"\r\n                        ]\r\n                    }\r\n                }\r\n            }\r\n        },\r\n```\r\n- setup list of files to copy to component directory\r\n- peform `composer update`\r\n- change list of files\r\n```json\r\n\"files\": [\r\n   \"./dist/js/bootstrap.min.js\",\r\n   \"./dist/css/bootstrap.min.css\"\r\n]\r\n```\r\n- peform `composer update`\r\n\r\nlist of files don't chane into compose.lock. So i need to change it manually."},"comment":{"url":"https://api.github.com/repos/RobLoach/component-installer/issues/comments/136957147","html_url":"https://github.com/RobLoach/component-installer/issues/74#issuecomment-136957147","issue_url":"https://api.github.com/repos/RobLoach/component-installer/issues/74","id":136957147,"user":{"login":"terrasoff","id":1147943,"avatar_url":"https://avatars.githubusercontent.com/u/1147943?v=3","gravatar_id":"","url":"https://api.github.com/users/terrasoff","html_url":"https://github.com/terrasoff","followers_url":"https://api.github.com/users/terrasoff/followers","following_url":"https://api.github.com/users/terrasoff/following{/other_user}","gists_url":"https://api.github.com/users/terrasoff/gists{/gist_id}","starred_url":"https://api.github.com/users/terrasoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrasoff/subscriptions","organizations_url":"https://api.github.com/users/terrasoff/orgs","repos_url":"https://api.github.com/users/terrasoff/repos","events_url":"https://api.github.com/users/terrasoff/events{/privacy}","received_events_url":"https://api.github.com/users/terrasoff/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T07:06:39Z","updated_at":"2015-09-02T07:06:39Z","body":"**solved**... need to move block \"extra\" from package definition to [common project \"extra\" block](https://github.com/RobLoach/component-installer#packages-without-component-support-in-composerjson)"}}