From cd3011510ef9f62495220d53fa3b8689c854d913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=B8vik?= Date: Fri, 2 Feb 2018 20:50:28 +0100 Subject: [PATCH] Use and recommend appropriate npm and node versions --- Dockerfile | 2 +- docs/GETSTARTED.md | 6 +++--- docs/QUICKSTART-1.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4f62e62..d04165e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:7.10.0 +FROM node:8.9.4 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY package.json /usr/src/app/package.json diff --git a/docs/GETSTARTED.md b/docs/GETSTARTED.md index 091ba92..5e28f1f 100644 --- a/docs/GETSTARTED.md +++ b/docs/GETSTARTED.md @@ -5,7 +5,7 @@ We will be focused on React and Redux based applications in this starter-guide. Keep in mind that Roc is **not** tied to React and Redux extensions. Creating your own extension is also an option. ## Install Roc -Make sure you have [Node.js](https://nodejs.org) 4.x or higher and [npm](https://www.npmjs.com/) 3.x or higher on your system. +Make sure you have [Node.js](https://nodejs.org) 8.x or higher and [npm](https://www.npmjs.com/) 5.x or higher on your system. __Currently with official support for Mac, Linux and Windows.__ @@ -169,7 +169,7 @@ Stability and productivity is the most important. However a dependency-update __ Yes, this works great. Here is an example `Dockerfile` ```dockerfile -FROM node:7.10.0 +FROM node:8.9.4 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY package.json /usr/src/app/package.json @@ -181,7 +181,7 @@ EXPOSE 3000 ``` ## I am a bit stuck, where can I find more information? -We have written a [comprehensive user-guide](https://github.com/rocjs/roc-package-web-app-react/blob/master/GUIDE.md). Check it out! +We have written a [comprehensive user-guide](https://github.com/rocjs/extensions/blob/master/packages/roc-package-web-app-react/GUIDE.md). Check it out! Roc with `roc-package-web-app-react` installs and manages many libraries for you so that you can focus on your application. Below is a link outlining the most important libraries you should be familiar with when using `roc-package-web-app-react`. They are provided to you automatically, and Roc does not modify their API. diff --git a/docs/QUICKSTART-1.md b/docs/QUICKSTART-1.md index 2d86120..6e13543 100644 --- a/docs/QUICKSTART-1.md +++ b/docs/QUICKSTART-1.md @@ -1,5 +1,5 @@ #### Install -Make sure you have node 4.x+ and npm 3.x+ on your system. +Make sure you have node 8.x+ and npm 5.x+ on your system. ``` npm install -g roc@next ```