Ionic CLI 4 - Release Candidate


#1

If you are following my https://twitter.com/ionicreleases bot you might have noticed a few strange tweets in the last few days:






A whole load of packages with a version number ending in -rc.1 were released in the “Ionic CLI” repository.

I kept quiet about it as I didn’t want to flood the devs with reports, but as they posted about it on the official Ionic Twitter account I think it is safe to post this here now as well:

So, to install a RC of Ionic CLI 4 use this command:

npm install -g ionic@rc

I have used it myself and got almost no problems.


#2

Thank you!!!


#3

Many thanks @Sujan12. Yay.


#4

What is new or different in CLI 4 ?


#5

https://github.com/ionic-team/ionic-cli/blob/master/packages/ionic/CHANGELOG.md


#6

Thanks @Sujan12

Being able to use ionic s instead of ionic serve is a good idea - the number of times I used ionic seerve by mistake…


#7

With ionic 4, we will be able to take many avenues to creating our apps such as react, jquery (if one wanted to), angular, etc. Correct?

Is there some specific process to go about importing / using these?

Is it even necessary or do we just
Alter our development process?

Is there some documentation addressing these things that I missed?

Is this even possible at this stage of 4.0 development?

Just some thoughts I had. Any answers would be great if answers even exist.


#8

I think the answer to almost every question is: still being finalized. But for example, you can just load ion-grid and ion-col, nothing else. Or you can just add one ionicon, nothing else. So you’ll be able to Frankenstein together an app using the framework you want and the Ionic components you want. That’s part of why loading and execution will probably be a lot faster.


#9

That’s kindof what I figured. I’m using 4.0 with no problems besides 1.

After running ionic serve then closing out w/CTRL+C, I sometimes have to restart my ide to run serve again. Otherwise it fails, throwing a message that says serve is already running.


#10

Answer to all those: @ionic/core is a thing that includes all the Ionic UI components that can be used in any JS app. You develop whatever way you want with those tools - but use Ionic UI stuff inside.

Could you create an issue for this at https://github.com/ionic-team/ionic-cli/issues?


#11

Thanks @Sujan12.

Just took a look and the most recent posted issue is exactly that, so it looks like somone beat me to it. Should I post anyways to show it’s not an isolated event?


#12

Add to that issue with a +1 or a comment with your details.


#13

Done. Thanks for your assistance.


#14

@Sujan12 Do you know what the current situation is - is V4 out or is in still a release candidate?


#15

Still showing rc3 for me as the most recent release: https://github.com/ionic-team/ionic-cli/releases