{"action":"created","issue":{"url":"https://api.github.com/repos/shaarli/Shaarli/issues/1072","repository_url":"https://api.github.com/repos/shaarli/Shaarli","labels_url":"https://api.github.com/repos/shaarli/Shaarli/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/shaarli/Shaarli/issues/1072/comments","events_url":"https://api.github.com/repos/shaarli/Shaarli/issues/1072/events","html_url":"https://github.com/shaarli/Shaarli/pull/1072","id":293181922,"number":1072,"title":"WIP:  Manage frontend dependencies with npm/yarn and webpack ","user":{"login":"ArthurHoaro","id":1962678,"avatar_url":"https://avatars1.githubusercontent.com/u/1962678?v=4","gravatar_id":"","url":"https://api.github.com/users/ArthurHoaro","html_url":"https://github.com/ArthurHoaro","followers_url":"https://api.github.com/users/ArthurHoaro/followers","following_url":"https://api.github.com/users/ArthurHoaro/following{/other_user}","gists_url":"https://api.github.com/users/ArthurHoaro/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthurHoaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthurHoaro/subscriptions","organizations_url":"https://api.github.com/users/ArthurHoaro/orgs","repos_url":"https://api.github.com/users/ArthurHoaro/repos","events_url":"https://api.github.com/users/ArthurHoaro/events{/privacy}","received_events_url":"https://api.github.com/users/ArthurHoaro/received_events","type":"User","site_admin":false},"labels":[{"id":250222411,"url":"https://api.github.com/repos/shaarli/Shaarli/labels/3rd%20party","name":"3rd party","color":"bd8d46","default":false},{"id":200423414,"url":"https://api.github.com/repos/shaarli/Shaarli/labels/documentation","name":"documentation","color":"5319e7","default":false},{"id":117161515,"url":"https://api.github.com/repos/shaarli/Shaarli/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":144876391,"url":"https://api.github.com/repos/shaarli/Shaarli/labels/in%20progress","name":"in progress","color":"EFA0FF","default":false},{"id":292775233,"url":"https://api.github.com/repos/shaarli/Shaarli/labels/javascript","name":"javascript","color":"006b75","default":false},{"id":235130287,"url":"https://api.github.com/repos/shaarli/Shaarli/labels/template","name":"template","color":"fef2c0","default":false},{"id":234067547,"url":"https://api.github.com/repos/shaarli/Shaarli/labels/tools","name":"tools","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":{"login":"ArthurHoaro","id":1962678,"avatar_url":"https://avatars1.githubusercontent.com/u/1962678?v=4","gravatar_id":"","url":"https://api.github.com/users/ArthurHoaro","html_url":"https://github.com/ArthurHoaro","followers_url":"https://api.github.com/users/ArthurHoaro/followers","following_url":"https://api.github.com/users/ArthurHoaro/following{/other_user}","gists_url":"https://api.github.com/users/ArthurHoaro/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthurHoaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthurHoaro/subscriptions","organizations_url":"https://api.github.com/users/ArthurHoaro/orgs","repos_url":"https://api.github.com/users/ArthurHoaro/repos","events_url":"https://api.github.com/users/ArthurHoaro/events{/privacy}","received_events_url":"https://api.github.com/users/ArthurHoaro/received_events","type":"User","site_admin":false},"assignees":[{"login":"ArthurHoaro","id":1962678,"avatar_url":"https://avatars1.githubusercontent.com/u/1962678?v=4","gravatar_id":"","url":"https://api.github.com/users/ArthurHoaro","html_url":"https://github.com/ArthurHoaro","followers_url":"https://api.github.com/users/ArthurHoaro/followers","following_url":"https://api.github.com/users/ArthurHoaro/following{/other_user}","gists_url":"https://api.github.com/users/ArthurHoaro/gists{/gist_id}","starred_url":"https://api.github.com/users/ArthurHoaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArthurHoaro/subscriptions","organizations_url":"https://api.github.com/users/ArthurHoaro/orgs","repos_url":"https://api.github.com/users/ArthurHoaro/repos","events_url":"https://api.github.com/users/ArthurHoaro/events{/privacy}","received_events_url":"https://api.github.com/users/ArthurHoaro/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/shaarli/Shaarli/milestones/1","html_url":"https://github.com/shaarli/Shaarli/milestone/1","labels_url":"https://api.github.com/repos/shaarli/Shaarli/milestones/1/labels","id":887186,"number":1,"title":"0.10.0","description":"","creator":{"login":"nodiscc","id":3950390,"avatar_url":"https://avatars2.githubusercontent.com/u/3950390?v=4","gravatar_id":"","url":"https://api.github.com/users/nodiscc","html_url":"https://github.com/nodiscc","followers_url":"https://api.github.com/users/nodiscc/followers","following_url":"https://api.github.com/users/nodiscc/following{/other_user}","gists_url":"https://api.github.com/users/nodiscc/gists{/gist_id}","starred_url":"https://api.github.com/users/nodiscc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodiscc/subscriptions","organizations_url":"https://api.github.com/users/nodiscc/orgs","repos_url":"https://api.github.com/users/nodiscc/repos","events_url":"https://api.github.com/users/nodiscc/events{/privacy}","received_events_url":"https://api.github.com/users/nodiscc/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":24,"state":"open","created_at":"2014-12-02T00:07:31Z","updated_at":"2018-02-14T21:05:35Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-01-31T14:41:04Z","updated_at":"2018-02-14T22:16:47Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/shaarli/Shaarli/pulls/1072","html_url":"https://github.com/shaarli/Shaarli/pull/1072","diff_url":"https://github.com/shaarli/Shaarli/pull/1072.diff","patch_url":"https://github.com/shaarli/Shaarli/pull/1072.patch"},"body":"Relates to #755\r\n\r\n  - move default theme assets to /assets/default\r\n  - asset folders in default template are now git ignored\r\n  - handle assets dependencies with yarn (and fixed version with yarn.lock)\r\n  - handle assets compilation with webpack 2\r\n\r\nJS:\r\n  - use ES6 syntax\r\n  - compile it with babel\r\n  - minify it using babel-minify-webpack-plugin\r\n  - initiate splitting JS files into separate modules (base/picwall/[todo])\r\n  - dependencies are now bundled with Shaarli's JS file (awesomplete and blazy)\r\n\r\nCSS:\r\n  - move Shaarli's pure CSS to SASS\r\n  - dependencies are now bundled with Shaarli's CSS file (awesomplete/purecss/fontawesome)\r\n  - CSS is now minified\r\n\r\nImages:\r\n  - ~~compressed at compilation by image-webpack-loader~~\r\n\r\n---------------------------------\r\n\r\nUsage with `npm` and `yarn` installed:\r\n```\r\nyarn install\r\nyarn run build\r\n```\r\n\r\n---------------------------------\r\n\r\nTODO in this PR:\r\n\r\n  - [ ] Documentation\r\n  - [x] Migrate `vintage` theme\r\n  - [ ] Makefile targets and Travis build\r\n  - [ ] Docker images\r\n\r\n------------------------------------\r\n\r\nTODO list for later:\r\n\r\n  - JSLint: fix 1k JS style errors and add it to Travis build\r\n  - CSSLint: fix CSS style erroors and add it to Travis build\r\n  - Split JS code into dedicated module files\r\n  - JS unit tests\r\n  - Use SASS features such as variables for colors\r\n  - ???\r\n  - Profit!\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/shaarli/Shaarli/issues/comments/365763252","html_url":"https://github.com/shaarli/Shaarli/pull/1072#issuecomment-365763252","issue_url":"https://api.github.com/repos/shaarli/Shaarli/issues/1072","id":365763252,"user":{"login":"tcitworld","id":2197836,"avatar_url":"https://avatars3.githubusercontent.com/u/2197836?v=4","gravatar_id":"","url":"https://api.github.com/users/tcitworld","html_url":"https://github.com/tcitworld","followers_url":"https://api.github.com/users/tcitworld/followers","following_url":"https://api.github.com/users/tcitworld/following{/other_user}","gists_url":"https://api.github.com/users/tcitworld/gists{/gist_id}","starred_url":"https://api.github.com/users/tcitworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcitworld/subscriptions","organizations_url":"https://api.github.com/users/tcitworld/orgs","repos_url":"https://api.github.com/users/tcitworld/repos","events_url":"https://api.github.com/users/tcitworld/events{/privacy}","received_events_url":"https://api.github.com/users/tcitworld/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T22:16:47Z","updated_at":"2018-02-14T22:16:47Z","author_association":"NONE","body":"> Yep, Webpack has an awful lot of dependencies. Do we actually need it for our use case?\r\n\r\nThese are devDependencies, not the project dependencies."}}
{"actor":{"display_login":"tcitworld"}}