Add .nvmrc and node version checker#67
Add .nvmrc and node version checker#67RubenVerborgh merged 3 commits intonodeSolidServer:masterfrom bbogdanov:master
Conversation
RubenVerborgh
left a comment
There was a problem hiding this comment.
Thanks for proposing. I'm not convinced about having .nvmrc in the repository though, isn't this a developer-specific preference?
| @@ -0,0 +1,13 @@ | |||
| var semver = require('semver') | |||
| var packageJson = require('./package') | |||
There was a problem hiding this comment.
Let's use const for imports.
|
@bbogdanov Shall we just make the checker a hidden file and executable? Then it's all good to go. |
@RubenVerborgh The file is now a dot file and executable. |
|
Thanks! is .nvmrc still missing a newline though? |
|
Thanks a lot! |
|
@RubenVerborgh I just realized the checker is running before the installation of the packages but the checker depends on one of the packages - semver. Travis seems is not using the post and pre-install scripts at the moment. Would you like me to set the script to run on |
|
Ooh yes first approach please. I'll just fix it myself in master. |
|
Caught it in cf7d5ce, thanks. |
|
Great, you are welcome! |
|
The engine check caused problems when installing the package, since the script was being run on |
|
Could you give me more information about them/it? |
|
So when running
These issues broke the release of solid-auth-client 2.2.7, which had to be retracted. While they might be fixable (in multiple ways), I think the fragility is bigger than the utility. |
|
I didn't have this in mind. You are right, these problems could occur. Thank you for letting me know! |
No description provided.