Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: ionic state save --pin #665

Closed
janpio opened this issue Nov 25, 2015 · 4 comments
Closed

Feature Request: ionic state save --pin #665

janpio opened this issue Nov 25, 2015 · 4 comments

Comments

@janpio
Copy link
Contributor

janpio commented Nov 25, 2015

ionic state save currently builds the cordovaPlugin list in package.json by collecting the plugin names from plugins/fetch.json. It would be nice if we could indicate, that we want to "pin" the current version of the plugins and the CLI somehow figures out a way to get the current version of the plugin and adds it as @x.y.z after the plugin name so future ionic state restore will restore exactly that version.

(Idea how to get plugin version: package.json and config.xml of plugin folder both contain the version)

@jakub-g
Copy link

jakub-g commented Nov 26, 2015

+1

@poornerd
Copy link

poornerd commented Dec 7, 2015

+1

@ravishtiwari
Copy link

I think alternatively, we should be able to use Cordova commands for this:
https://cordova.apache.org/docs/en/dev/platform_plugin_versioning_ref/

of course, we would love to see ionic state save/restore doing this.

@jgw96
Copy link
Contributor

jgw96 commented May 2, 2016

Hello all! Thanks for opening an issue with us. We are currently in the process of deprecating the ionic state commands in favor of doing it the cordova way. https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/index.html You can keep up with the status of this on #904 . Thanks for using Ionic!

@jgw96 jgw96 closed this as completed May 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants