Fixed bugs for scoped packages
Thanks to @phndiaye.
Bug fixes
- The
workspacesfield in the rootpackage.jsonnow list the package locations. A bug (listing the package names instead) would have surfaced when (1) the package is scoped or (2) an end-developer passes the argument--addon-location,--test-app-location, or--test-app-name.1 - The regular expression for computing the relative path has been updated. A bug would have occurred when the package is scoped.1
1. See #17 to learn how to keep your v2 addon up-to-date.