-
Notifications
You must be signed in to change notification settings - Fork 21
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
added node version check and updated the licence to a correct string #42
Conversation
+1 beautiful - i'm on v0.10.38 actually, now i'm looking $ node --version |
+1 |
+1 (I'd consider allowing up to v0.10.40. I know myself and a few others are on higher patch versions than .33) |
thanks for the input @tomgreenfield i just need to learn how to update a pr properly and resubmit :) |
version range updated to 0.10.40 |
@brian-learningpool @cajones @chucklorenz @lc-thomasberger @taylortom @dancgray @darylhedley @hrajotia have ya'll got any different node versions running adapt-cli other than 0.10.33 > 0.10.40 ? |
@oliverfoster, I believe before he went on holiday that @dennis-learningpool had successfully installed the framework and authoring tool with Node v4. Perhaps the upper version range shouldn't be as restricted? |
@brian-learningpool - do you know if that is so far restricted to dennis only or do we have people using node 4 in the wild? i'd quite like us to know which versions of node we're good to use. |
I'm not sure, Ollie. The documentation on the authoring tool still recommends 0.10.33. I think Dennis was just curious about installing Node v4 and checked how Adapt ran on it. |
ok. so can we leave it at v0.10 as the current upper limit, then verify that v4 is working and bump the upper limit, documentation and announce in the forum when we're all happy? can use dennis' test as a platform to do that. i'll add a jira ticket for node v4 support if so, as it's an environment for both the AT and Framework both camps will need to been satisfied. |
-1 I think only the authoring tool was explicit about the Node version required. What I'm getting at is that we need a more considered approach to the Node environment we're going to support. Right now it's all a bit vague, and I think merging this PR will cause people some problems. |
fair points, how about switching the error to a warning? and proceeding as described? |
@oliverfoster, I'd prefer us to wait and test with the LTS supported version of NodeJS, i.e. 4.2 (which is due out soon) and standardise the environment requirement across all our core repos. |
ok. when is that happening and do you need testers? |
I think Node 4.2.0 is due out within the next two weeks, according to this. We would require testers but developers could move to Node 4.x for our next sprints in the meantime. Let's discuss it on the call on Monday. |
Yep, sounds good. I've been thinking it'd probably be less restrictive to change the error to a nice big red warning : "the version of node you are using has not been tested with adapt etc, please use v x or help us to test this version properly by following the directions at xxx" ? |
sounds good to me |
@gorhgorh, can you convert the error to a warning as @oliverfoster has suggested? We'll review this when we verify Node 4.2 works with all our dependencies. |
Something like:
Please change the wording. English is not my first language. |
+1 |
I start to have a lot of commit for a simple change, do you know if I can rebase safely to have only one commit ? |
squashed and ready =) |
+1 |
+1 |
it does not seems to be usefull anymore and I don't like to see unmerged prs =) |
this is still pretty useful, helps police the boundaries of usability and support |
ahh ok , i belived that now the framework is tested again latest version of node, did i dreamt it ? |
Hi there, this commit add a section to the package.json where we can define a node version range that is supported by the CLI and a check in the bin/adapt that verifies that the user node version is matching it.
Inputs are welcome on what version are supported. (currently it is limited to 0.10.33)
It also add a valid string for the licence. (GPL-3.0)