Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19133] Lock versions of titanium, node-appc and alloy dependencies

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2015-12-08T16:45:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTooling
Labelsn/a
ReporterIngo Muschenetz
AssigneePraveen Innamuri
Created2015-07-01T17:08:00.000+0000
Updated2017-03-22T18:31:15.000+0000

Description

Based on our experience with longjohn, I would like to lock the dependency versions of the above plugins. I would consider we run https://docs.npmjs.com/cli/shrinkwrap before publishing.

Comments

  1. Fokke Zandbergen 2015-12-08

    (y) for this! It prevent issues like: https://github.com/FokkeZB/gittio/issues/108 I run Node 4.2.3 as well but don't get the warning and my bet is a reinstall of the Ti CLI will resolve it for the reporter as well. If the Ti CLI would use shrink-wrap then this wouldn't happen (or it would for me as well - at least not depend on the environment).
  2. Ingo Muschenetz 2015-12-08

    We shinkwrap appc-cli as part of the publishing process as noted in CLI-903. We won't shinkwrap any other parts of the tree as it introduces a large level of process complexity.
  3. Fokke Zandbergen 2015-12-10

    OK, but this does mean that if you install Alloy and Titanium straight from NPM you might still have the troubles shrink-wrap fixes. -And I believe shrink-wrap should handle dependencies that also use shrink-wrap fine.- I see you explained the reason why in CLI-903 ;) > On npm install, titanium will grab the latest sanctioned versions (as determined by semver ranges) of dependencies. This allows us to to not need to republish parent projects with new shrinkwapped versions if child projects change (think of if node-ios-device changes, we then need to republish a tree of dependencies)
  4. Lee Morris 2017-03-22

    Closing ticket as the issue will not fix and with reference to the above comments.

JSON Source