Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
43ceaf49
Commit
43ceaf49
authored
Mar 12, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update node and yarn dependencies within install/upgrade docs
parent
06a07e12
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
13 deletions
+20
-13
changelogs/unreleased/43720-update-fe-webpack-docs.yml
changelogs/unreleased/43720-update-fe-webpack-docs.yml
+6
-0
doc/development/fe_guide/index.md
doc/development/fe_guide/index.md
+2
-2
doc/install/installation.md
doc/install/installation.md
+8
-7
doc/update/10.5-to-10.6.md
doc/update/10.5-to-10.6.md
+4
-4
No files found.
changelogs/unreleased/43720-update-fe-webpack-docs.yml
0 → 100644
View file @
43ceaf49
---
title
:
Update documentation to reflect current minimum required versions of node and
yarn
merge_request
:
17706
author
:
type
:
other
doc/development/fe_guide/index.md
View file @
43ceaf49
...
@@ -14,8 +14,8 @@ support through [webpack][webpack].
...
@@ -14,8 +14,8 @@ support through [webpack][webpack].
We also utilize
[
webpack
][
webpack
]
to handle the bundling, minification, and
We also utilize
[
webpack
][
webpack
]
to handle the bundling, minification, and
compression of our assets.
compression of our assets.
Working with our frontend assets requires Node (v
4.3
or greater) and Yarn
Working with our frontend assets requires Node (v
6.0
or greater) and Yarn
(v
0.17
or greater). You can find information on how to install these on our
(v
1.2
or greater). You can find information on how to install these on our
[
installation guide
][
install
]
.
[
installation guide
][
install
]
.
[
jQuery
][
jquery
]
is used throughout the application's JavaScript, with
[
jQuery
][
jquery
]
is used throughout the application's JavaScript, with
...
...
doc/install/installation.md
View file @
43ceaf49
...
@@ -162,13 +162,14 @@ page](https://golang.org/dl).
...
@@ -162,13 +162,14 @@ page](https://golang.org/dl).
## 4. Node
## 4. Node
Since GitLab 8.17, GitLab requires the use of node >= v4.3.0 to compile
Since GitLab 8.17, GitLab requires the use of Node to compile javascript
javascript assets, and yarn >= v0.17.0 to manage javascript dependencies.
assets, and Yarn to manage javascript dependencies. The current minimum
In many distros the versions provided by the official package repositories
requirements for these are node >= v6.0.0 and yarn >= v1.2.0. In many distros
are out of date, so we'll need to install through the following commands:
the versions provided by the official package repositories are out of date, so
we'll need to install through the following commands:
# install node v7.x
curl --location https://deb.nodesource.com/setup_7.x | sudo bash -
# install node v8.x
curl --location https://deb.nodesource.com/setup_8.x | sudo bash -
sudo apt-get install -y nodejs
sudo apt-get install -y nodejs
curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
...
...
doc/update/10.5-to-10.6.md
View file @
43ceaf49
...
@@ -56,8 +56,8 @@ sudo gem install bundler --no-ri --no-rdoc
...
@@ -56,8 +56,8 @@ sudo gem install bundler --no-ri --no-rdoc
### 4. Update Node
### 4. Update Node
GitLab
now run
s
[
webpack
](
http://webpack.js.org
)
to compile frontend assets.
GitLab
utilize
s
[
webpack
](
http://webpack.js.org
)
to compile frontend assets.
We require
a minimum version of node v6.0.0.
This requires
a minimum version of node v6.0.0.
You can check which version you are running with
`node -v`
. If you are running
You can check which version you are running with
`node -v`
. If you are running
a version older than
`v6.0.0`
you will need to update to a newer version. You
a version older than
`v6.0.0`
you will need to update to a newer version. You
...
@@ -66,8 +66,8 @@ from source at the nodejs.org website.
...
@@ -66,8 +66,8 @@ from source at the nodejs.org website.
<https://nodejs.org/en/download/>
<https://nodejs.org/en/download/>
Since 8.17, GitLab requires the use of yarn
`>= v0.17.0`
to manage
GitLab also requires the use of yarn
`>= v1.2.0`
to manage JavaScript
JavaScript
dependencies.
dependencies.
```
bash
```
bash
curl
--silent
--show-error
https://dl.yarnpkg.com/debian/pubkey.gpg |
sudo
apt-key add -
curl
--silent
--show-error
https://dl.yarnpkg.com/debian/pubkey.gpg |
sudo
apt-key add -
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment