{"action":"created","issue":{"url":"https://api.github.com/repos/swarajban/npm-cache/issues/39","repository_url":"https://api.github.com/repos/swarajban/npm-cache","labels_url":"https://api.github.com/repos/swarajban/npm-cache/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/swarajban/npm-cache/issues/39/comments","events_url":"https://api.github.com/repos/swarajban/npm-cache/issues/39/events","html_url":"https://github.com/swarajban/npm-cache/pull/39","id":131900514,"number":39,"title":"add jspm support","user":{"login":"sod","id":905328,"avatar_url":"https://avatars.githubusercontent.com/u/905328?v=3","gravatar_id":"","url":"https://api.github.com/users/sod","html_url":"https://github.com/sod","followers_url":"https://api.github.com/users/sod/followers","following_url":"https://api.github.com/users/sod/following{/other_user}","gists_url":"https://api.github.com/users/sod/gists{/gist_id}","starred_url":"https://api.github.com/users/sod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sod/subscriptions","organizations_url":"https://api.github.com/users/sod/orgs","repos_url":"https://api.github.com/users/sod/repos","events_url":"https://api.github.com/users/sod/events{/privacy}","received_events_url":"https://api.github.com/users/sod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-06T21:18:09Z","updated_at":"2016-02-08T18:14:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/swarajban/npm-cache/pulls/39","html_url":"https://github.com/swarajban/npm-cache/pull/39","diff_url":"https://github.com/swarajban/npm-cache/pull/39.diff","patch_url":"https://github.com/swarajban/npm-cache/pull/39.patch"},"body":"Love your module! Here is [jspm](http://jspm.io/) support.\r\n\r\njspm uses two configuration files. The namespace `jspm` inside `package.json` and and its own `config.js` file. The `config.js` is treated like a shrinkwrap file. Thus equal `config.js` => equal `jspm install` result ..... except: \r\n\r\n1. a dependency was added to the `package.json` but is missing in the `config.js`. Then jspm installs the additional vendor and writes it into the `config.js`\r\n\r\n   => catched by: backup and restore the `config.js` in conjunction with the install directory\r\n\r\n2. a path setting was changed in the `package.json`\r\n\r\n   => catched by: include the `jspm` data from the `package.json` in the hash calculation\r\n\r\nSupports package.json config:\r\n* `jspm.directories.baseURL` => modifies vendor and config location\r\n* `jspm.configFile` =>  modifies config location (and ignores baseURL)\r\n* `jspm.directories.packages` =>  modifies vendor location (and ignores baseURL)\r\n\r\nOff Topic: npm-cache could only restore the archived directory in the project root. I fixed that, so `web/jspm_packages` for a symfony2 directory structure is possible."},"comment":{"url":"https://api.github.com/repos/swarajban/npm-cache/issues/comments/181506910","html_url":"https://github.com/swarajban/npm-cache/pull/39#issuecomment-181506910","issue_url":"https://api.github.com/repos/swarajban/npm-cache/issues/39","id":181506910,"user":{"login":"swarajban","id":384283,"avatar_url":"https://avatars.githubusercontent.com/u/384283?v=3","gravatar_id":"","url":"https://api.github.com/users/swarajban","html_url":"https://github.com/swarajban","followers_url":"https://api.github.com/users/swarajban/followers","following_url":"https://api.github.com/users/swarajban/following{/other_user}","gists_url":"https://api.github.com/users/swarajban/gists{/gist_id}","starred_url":"https://api.github.com/users/swarajban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swarajban/subscriptions","organizations_url":"https://api.github.com/users/swarajban/orgs","repos_url":"https://api.github.com/users/swarajban/repos","events_url":"https://api.github.com/users/swarajban/events{/privacy}","received_events_url":"https://api.github.com/users/swarajban/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T18:14:51Z","updated_at":"2016-02-08T18:14:51Z","body":"Thanks Alexander, seems like there's lots of interest in jspm support. I\nhave never used it, but will familiarize myself, look over the pr, and try\nto merge it in this week\n\n\nOn Mon, Feb 8, 2016 at 11:24 AM Andrew Stoker <notifications@github.com>\nwrote:\n\n> +1\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/swarajban/npm-cache/pull/39#issuecomment-181424127>.\n>\n"}}