Ignite: Old packages

Created on 11 Mar 2018  Â·  23Comments  Â·  Source: infinitered/ignite

Nice boilerplate but using ignite new app makes an app with old libs.
e.g "react-navigation": "1.0.0-beta.11" that is a very useful package and it's current version is 1.5.1 with a lot of changes.
Now after updating react-navigation I have a lot of errors and because I'm not familiar with Redux, I'm not sure whats the problem.

P.S: If ignite init new project with match new packages, it's reliable to continue developing on this skeleton.

Most helpful comment

Nevermind figured it out - in case it helps another newcomer:

clone repo and set branch to ignite_bowser
cd path_one_up_from_repo
ignite new AppName -b ./ignite-ir-boilerplate

All 23 comments

We have a new release coming soon. We know it's far behind, but the plan is to release in the next month.

here's the upcoming version: https://github.com/infinitered/ignite-ir-boilerplate/tree/ignite_bowser

Is that usable in its current form? Thanks

yup! You can use it, it will be slightly updated though. All updated will be trackable in git.

To use it, you use the -b flag to point to a different boilerplate during the ignite process.

So I take it you recommend starting a new project with the bowser branch? Thanks

Yes! Definitely... though there are no docs for you just yet.

Awesome thanks. I would assume that it functions and is used more or less like the current version though, right? Thanks again

Correct, this is the latest and greatest (minus some updates we will be making)

What exactly must be enter into use this branch? ignite new AppName -b bowser?

Nevermind figured it out - in case it helps another newcomer:

clone repo and set branch to ignite_bowser
cd path_one_up_from_repo
ignite new AppName -b ./ignite-ir-boilerplate

@omairvaiyani I'm trying to use the ignite_bowser branch, but it throws error while doing

ignite add vector-icons

Is it possible to add vector-icons and maps this way?

Some of the existing plugins are targeting a different filesystem setup, so no. Not yet at least.

@skellock thank you.
There's one more thing I noticed about the setup of the branch, is there any good reason to switch to mobx? (I know this should be asked on the target repository)

Ya, we've switched to mobx and mobx-state-tree a while ago. These libs simply do more for you. redux does one thing but does it well. These things tend to be moving targets. =)

@omairvaiyani Should it work on windows too? I've tested on mac and was OK, but using on windows creates a normal ignite boilerbpate : ignite new AppName /b /ignite-ir-boilerplate

On Windows you should use the --boilerplate=C:/path/to/boilerplate option.

I got this error

chris@chris-Inspiron-13-5368:~$ ignite new todoapp -b ./ignite-ir-boilerplate
-----------------------------------------------
  (                  )   (                   
  )\ )   (        ( /(   )\ )    *   )       
 (()/(   )\ )     )\()) (()/(  ` )  /(   (   
  /(_)) (()/(    ((_)\   /(_))  ( )(_))  )\  
 (_))    /(_))_   _((_) (_))   (_(_())  ((_) 
 |_ _|  (_)) __| | \| | |_ _|  |_   _|  | __|
  | |     | (_ | | .` |  | |     | |    | _| 
 |___|     \___| |_|\_| |___|    |_|    |___|
-----------------------------------------------

An unfair headstart for your React Native apps.
https://infinite.red/ignite

-----------------------------------------------

🔥 igniting app todoapp
✔ using the Infinite Red boilerplate v2 (code name 'Andross')
✔ added React Native 0.52.2 in 24.55s
? Would you like Ignite Development Screens? Yes
? What vector icon library will you use? react-native-vector-icons
? What internationalization library will you use? react-native-i18n
? What animation library will you use? react-native-animatable
? Would you like to include redux-persist? No
✖ /home/chris/todoapp/todoapp/ignite-ir-boilerplate was not able to be installed. Is it a valid NPM module?
----------
Command failed: yarn add /home/chris/todoapp/todoapp/ignite-ir-boilerplate --dev
warning enzyme > rst-selector-parser > nearley > [email protected]: Package no longer supported. Contact [email protected] for more info.
error An unexpected error occurred: "Package \"/home/chris/todoapp/todoapp/ignite-ir-boilerplate\" refers to a non-existing file '\"/home/chris/todoapp/todoapp/ignite-ir-boilerplate\"'.".

any ideas?

@ccfiel can you try the full path to the branch?

@xgenvn correct! :D for newbi like me what I did

ignite new todoapp -b /home/chris/ignite-ir-boilerplate

using this ignite new todoapp -b /home/chris/ignite-ir-boilerplate but I did not see any mobx still redux. Did I miss something?

Is your local branch pointed towards the bowser branch?

https://github.com/infinitered/ignite-ir-boilerplate/tree/ignite_bowser

@ccfiel

cd /home/chris/ignite-ir-boilerplate
git checkout ignite_bowser
ignite new todoapp -b /home/chris/ignite-ir-boilerplate

@GantMan its now working. Thanks @xgenvn made a little modification in the command

cd /home/chris/ignite-ir-boilerplate
git checkout ignite_bowser
cd ..
ignite new todoapp -b /home/chris/ignite-ir-boilerplate
Was this page helpful?
0 / 5 - 0 ratings