Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5218

config.json should also carry the the engine information

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.1.0
    • None
    • cordova-cli
    • None

    Description

      CLI should add the engine information that it has used to create a project. This would allow us to share Cordova CLI projects without the platforms directory and CLI to regenerate them

      Also it would help IDEs and tools work with CLI generated proects.

      As a note phonegap build adds a lib[1] object with version and uri to the fetch the engine. Although the approach is correct the information on the Cordova version should allow git URIs in addition to packaged ones.

      [1]
      {"lib":{"www":{"id":"phonegap","version":"3.0.0","uri":"https://github.com/phonegap/phonegap-app-hello-world/archive/3.0.0.tar.gz"}},"id":"AAA","name":"HelloWorld"}

      Attachments

        Issue Links

          Activity

            People

              gercan Gorkem Ercan
              gercan Gorkem Ercan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: