{ "id": "170783", "key": "DAEMON-220", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "19959", "description": "", "name": "Appc Daemon 1.1.0", "archived": false, "released": true, "releaseDate": "2018-04-09" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-02-16T16:02:09.000+0000", "created": "2018-01-12T16:42:45.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-02-16T16:02:09.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15614", "name": "appcd-plugin" } ], "description": "h5.Description \r\n\r\nDAEMON-215 introduced the global node_modules directory into the plugin lookup, however currently scoped packages are not supported, this is because a scoped package is contained in a directory where the name is the scope e.g @foo/bar is installed in /usr/local/lib/node_modules/@foo/bar. This appears to be because the node_modules dir is seen as a PluginsDirScheme, but we need to load the scoped packages as a NestedPluginsDirScheme. We should maybe check for any directories that start with '@' and then load directories under there rather than trying to load @foo as a plugin", "attachment": [], "flagged": false, "summary": "Plugin: Add support for loading plugins installed as a scoped npm package", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "closedSprints": [ { "id": 996, "state": "closed", "name": "2018 Sprint 03 Tooling", "startDate": "2018-01-28T16:24:33.898Z", "endDate": "2018-02-11T16:24:00.000Z", "completeDate": "2018-02-12T04:23:35.987Z", "originBoardId": 219 }, { "id": 1001, "state": "closed", "name": "2018 Sprint 04 Tooling", "startDate": "2018-02-12T04:25:16.870Z", "endDate": "2018-02-26T04:25:00.000Z", "completeDate": "2018-02-26T19:38:13.619Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "434100", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "https://github.com/appcelerator/appc-daemon/pull/273", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-02-06T15:32:44.000+0000", "updated": "2018-02-06T15:32:44.000+0000" }, { "id": "434395", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I slightly improved version that supports scoped packages being added and removed.\r\n\r\nhttps://github.com/appcelerator/appc-daemon/pull/276", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-02-13T07:06:12.000+0000", "updated": "2018-02-13T07:06:12.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }