Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Add cordovaDependencies section to package.json #1232

Merged
merged 1 commit into from
Sep 20, 2016

Conversation

vladimir-kotikov
Copy link
Contributor

@vladimir-kotikov vladimir-kotikov commented Sep 20, 2016

Description

This reflects engines elements from plugin manifest to package.json to comply w/ new plugin fetching model and corrects engine's value according to package.json format

Its also desirable to add 'protective' entry for next major plugin version as per corresponding discussion on cordova mailing list.

Motivation and Context

The change is needed to protect end-users from fetching edge versions of the plugin by incompatible version of cordova.

How Has This Been Tested?

Published 1.8.2 and 2.0.1 version of the plugin under personal scope (@kotikov.vladimir/phonegap-plugin-push) and ran cordova plugin add to ensure that desired plugin version is being fetched and installed

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

This reflects `engines` elements from plugin manifest to package.json to comply w/ [new plugin fetching model](https://github.com/cordova/cordova-discuss/blob/master/proposals/plugin-version-fetching.md) and corrects `engine`'s value according to [package.json format](https://docs.npmjs.com/files/package.json#engines)

Its also desirable to add 'protective' entry for next major plugin version to protect end-users from fetching edge versions of the plugin by incompatible version of cordova. See corresponding [discussion on mailing list](http://apache.markmail.org/thread/p73loqtvbzvfzsv5) for more details and reasons behind this.
@macdonst macdonst merged commit 6b343e7 into phonegap:master Sep 20, 2016
@lock
Copy link

lock bot commented Jun 3, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants