Updating UUID in package.json

21 views
Skip to first unread message

Arky

unread,
Aug 5, 2015, 12:21:53 AM8/5/15
to Jetpack Dev List

Hi,

Working on making a new release of older add-ons using 'jpm' tool. I
needed to update the add-on UUID manual in order to upload the newer
package to AMO.

Is this correct way to add the UUID information to package.json? Thanks!

{
"title": "HTML5-Outliner",
"name" : "html5-outliner",
"id" : "jid1-99OrUsrylTwWQQ@jetpack",
"version": "0.2.2",
"description": "Displays the HTML5 document outline of the current web
page. HTML5 Outlines are composed of labels for important structural
elements (e.g., heading text, table titles, form titles etc).",
"main": "index.js",
"author": "Arky",
"engines": {
"firefox": ">=33.0a1"
},
"license": "MIT"
}


https://github.com/arky/html5-outliner-addon/blob/master/package.json

Cheers

--arky

Adrian Aichner

unread,
Oct 15, 2015, 9:20:26 AM10/15/15
to mozilla-labs-jetpack
Not sure what you actually did.

Is it that you added the "@jetpack" suffix?

That would seem reasonable.

Also be aware the engine version ranges have some issues.

Might be best to use simple expressions like

    "firefox": "33.0 - 44.0"

assuming it actually work in that rangee.

The add-on SDK is only integrated into Firefox itself since 38.0 so I wonder whether your jpm-built extension will actually work in 33.0 already. Make sure to build with jpm 1.0.2 when you need it to work in recent Firefox Nightly as well.

HTH,

Adrian
Reply all
Reply to author
Forward
0 new messages