If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

stop recommending arrays-of-paths for package.json 'lib' and 'tests'

RESOLVED FIXED in 1.0

Status

Add-on SDK
Documentation
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: warner, Assigned: warner)

Tracking

unspecified
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Our package.json syntax permits some fields (specifically 'lib') to contain lists of pathnames, not just a single one. But the recent linker changes I made probably broke the multi-path case, because many of the URI-mapping tools assume that there is just one path in this array.

I don't think anyone was using this feature, and it's pretty obscure, so I'd like to remove it. At the very least, I'd like to change the docs to stop claiming that it can tolerate an array, so we aren't teaching users to do something that might not work in the future.
(Assignee)

Comment 1

6 years ago
Created attachment 534115 [details] [diff] [review]
change docs to stop recommending arrays of paths in package.json
Attachment #534115 - Flags: review?(myk)
(Assignee)

Updated

6 years ago
Assignee: nobody → warner-bugzilla
Attachment #534115 - Flags: review?(myk) → review+
(Assignee)

Comment 2

6 years ago
landed in https://github.com/mozilla/addon-sdk/commit/d07233646ccaac5b2513ebb92687d31b5a509b0a
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.