Skip to content

Allow users to specify qunitjs version #117

@Krinkle

Description

@Krinkle

Under npm 1.x it loads qunitjs 1.10.0 which is quite old at this point.

Projects like karma-qunit specify a minimum version, thus allowing the final consumer to specify a different version in their package.json. https://github.com/karma-runner/karma-qunit/blob/v0.1.4/package.json:

  "peerDependencies": {
    "qunitjs": "^1.14.0"
  },

Under npm 2.x it interestingly refuses to load 1.10.0 alongside a newer version in some cases, resutling in the following:

npm WARN unmet dependency qunit requires qunitjs@'1.10.0' but will load qunitjs, which is version 1.17.1

.. on a project with:

  "devDependencies": {
    "karma": "0.12.31",
    "karma-qunit": "0.1.4",
    "qunit": "0.7.5",
    "qunitjs": "1.17.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions