Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
43ceaf49
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
43ceaf49
编写于
3月 12, 2018
作者:
M
Mike Greiling
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update node and yarn dependencies within install/upgrade docs
上级
06a07e12
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
20 addition
and
13 deletion
+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
未找到文件。
changelogs/unreleased/43720-update-fe-webpack-docs.yml
0 → 100644
浏览文件 @
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
浏览文件 @
43ceaf49
...
...
@@ -14,8 +14,8 @@ support through [webpack][webpack].
We also utilize
[
webpack
][
webpack
]
to handle the bundling, minification, and
compression of our assets.
Working with our frontend assets requires Node (v
4.3
or greater) and Yarn
(v
0.17
or greater). You can find information on how to install these on our
Working with our frontend assets requires Node (v
6.0
or greater) and Yarn
(v
1.2
or greater). You can find information on how to install these on our
[
installation guide
][
install
]
.
[
jQuery
][
jquery
]
is used throughout the application's JavaScript, with
...
...
doc/install/installation.md
浏览文件 @
43ceaf49
...
...
@@ -162,13 +162,14 @@ page](https://golang.org/dl).
## 4. Node
Since GitLab 8.17, GitLab requires the use of node >= v4.3.0 to compile
javascript assets, and yarn >= v0.17.0 to manage javascript dependencies.
In many distros 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 -
Since GitLab 8.17, GitLab requires the use of Node to compile javascript
assets, and Yarn to manage javascript dependencies. The current minimum
requirements for these are node >= v6.0.0 and yarn >= v1.2.0. In many distros
the versions provided by the official package repositories are out of date, so
we'll need to install through the following commands:
# install node v8.x
curl --location https://deb.nodesource.com/setup_8.x | sudo bash -
sudo apt-get install -y nodejs
curl --silent --show-error https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
...
...
doc/update/10.5-to-10.6.md
浏览文件 @
43ceaf49
...
...
@@ -56,8 +56,8 @@ sudo gem install bundler --no-ri --no-rdoc
### 4. Update Node
GitLab
now run
s
[
webpack
](
http://webpack.js.org
)
to compile frontend assets.
We require
a minimum version of node v6.0.0.
GitLab
utilize
s
[
webpack
](
http://webpack.js.org
)
to compile frontend assets.
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
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.
<https://nodejs.org/en/download/>
Since 8.17, GitLab requires the use of yarn
`>= v0.17.0`
to manage
JavaScript
dependencies.
GitLab also requires the use of yarn
`>= v1.2.0`
to manage JavaScript
dependencies.
```
bash
curl
--silent
--show-error
https://dl.yarnpkg.com/debian/pubkey.gpg |
sudo
apt-key add -
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录