Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Update package.json

  • Loading branch information...
commit f634ee3e0d77989ca6450a362273a4bd06a246b0 1 parent e43f564
@janodvarko janodvarko authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 extension/package.json
8 extension/package.json
@@ -1,7 +1,7 @@
- "name": "firebug",
- "description": "Web Development Evolved - The Firebug you have known and loved",
- "version": "1.9.0",
+ "name": "Firebug",
+ "description": "Web Development Evolved.",
+ "version": "1.10.0a6",
@joewalker Owner

I wonder if this shouldn't be:

"version": "1.10.0-a6",

NPM uses roughly the CommonJS package.json format which says that the version string should comply with semantic versioning which says (#10) that you should use a - to separate the 'patch version' from 'pre-release strings'.
The NPM description seems to be laxer but it can't help to add a - can it? The danger is that something like npm fails to parse you package.json in the future.

@cadorn Owner
cadorn added a note

Dashes don't work with mozilla tooling:

You would need to reformat version upon publish.

I like semver but think it is insufficient. I think we will eventually arrive at a versioning format that is widely supported. We just need a few more JS package managers.

I am leaning towards the following:
It allows me to select an unstable version and track it all the way up to major release and is compatible with mozilla.

@joewalker Owner

So you're arguing for:

"version": "1.10.0alpha6",

Right? (at least that's closest to their examples)
It seems a shame that the semver.js doesn't follow, but I agree following semver.js makes the most sense.

@cadorn Owner
cadorn added a note

Right. Or 1.10.0a6 or 1.10alpha6. I tried to stick with but over time had to add some rules. An important reasoning was to be able to have RC releases for betas.

e.g. 1.1alpha1rc1

I cannot remember if this works with mozilla tooling or if I had to convert the version before publish. I'll be revisiting this in more detail soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
"homepage" : "",
"engines": {
"node": ">= 0.6.6"
@@ -10,7 +10,7 @@
"dryice": ">= 0.4.4",
"shelljs": ">= 0.0.2"
- "author": "Jan Odvarko <>",
+ "author": "Joe Hewitt",
"repository" : {
"type" : "git",
"url" : "git://"

0 comments on commit f634ee3

Please sign in to comment.
Something went wrong with that request. Please try again.