Skip to content

Create tns update command #2027

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

Closed
sitefinitysteve opened this issue Sep 1, 2016 · 3 comments
Closed

Create tns update command #2027

sitefinitysteve opened this issue Sep 1, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@sitefinitysteve
Copy link

Right now to do an upgrade we need to visit the docs to remember all the commands :)

Would be fantastic to just roll everything up into
"tns update" and it'll do the platform remove\add, and update core modules all with one command

@firescript
Copy link

+1

@enchev enchev added the feature label Sep 7, 2016
@dtopuzov
Copy link
Contributor

This command should actually do those steps:

rm -rf hooks
rm -rf platforms
rm -rf node_modules
tns platform remove (for all installed platforms)
tns platform add (for all installed platforms)
tns plugin remove tns-core-modules
tns plugin add tns-core-modules

Not sure what to do with 3rd party plugins, should we also update to latest version?

@tzraikov tzraikov added this to the 2.4.0 milestone Sep 20, 2016
@tzraikov tzraikov modified the milestone: 2.4.0 Oct 12, 2016
@tzraikov tzraikov self-assigned this Oct 17, 2016
@SvetoslavTsenov SvetoslavTsenov self-assigned this Oct 20, 2016
@SvetoslavTsenov
Copy link

Hey @tzraikov,
What about to add a check also for the package.json and if the version is lower than the released one to update project no matter if the platform is installed. So far as it is working fine but only if the platforms are already installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants