From 735e1421f0d0a9167c3c6d61ae16aa43db4e90a4 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Thu, 2 Aug 2018 07:17:40 +0200 Subject: [PATCH 1/4] chore(release): 3.5.0 --- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e97727744..72639d9ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +# [3.5.0](https://github.com/verdaccio/verdaccio/compare/v3.4.1...v3.5.0) (2018-08-02) + + +### Bug Fixes + +* fix docker python issue [#883](https://github.com/verdaccio/verdaccio/issues/883) ([ec744ea](https://github.com/verdaccio/verdaccio/commit/ec744ea)) +* unpublish version does not remove it from timeline ([61e62bd](https://github.com/verdaccio/verdaccio/commit/61e62bd)) + + +### Features + +* adds gravatar support for maintainers ([4df6b3b](https://github.com/verdaccio/verdaccio/commit/4df6b3b)) +* adds option to set scope in webui instructions header ([f9e9383](https://github.com/verdaccio/verdaccio/commit/f9e9383)), closes [#593](https://github.com/verdaccio/verdaccio/issues/593) + + ## [3.4.1](https://github.com/verdaccio/verdaccio/compare/v3.4.0...v3.4.1) (2018-07-27) diff --git a/package.json b/package.json index 10e091dbe..6510eced1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "verdaccio", - "version": "3.4.1", + "version": "3.5.0", "description": "Private npm repository server", "author": { "name": "Alex Kocharin", From 8a0e8ab32dafd8f15bd46b074b8edad05c8db95a Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Thu, 2 Aug 2018 07:41:48 +0200 Subject: [PATCH 2/4] fix: remove version page --- website/pages/en/versions.js | 111 ----------------------------------- 1 file changed, 111 deletions(-) delete mode 100644 website/pages/en/versions.js diff --git a/website/pages/en/versions.js b/website/pages/en/versions.js deleted file mode 100644 index 3702678c4..000000000 --- a/website/pages/en/versions.js +++ /dev/null @@ -1,111 +0,0 @@ -/** - * Copyright (c) 2017-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -const React = require('react'); - -const CompLibrary = require('../../core/CompLibrary'); -const Container = CompLibrary.Container; -const GridBlock = CompLibrary.GridBlock; - -const CWD = process.cwd(); - -const siteConfig = require(CWD + '/siteConfig.js'); -const versions = require(CWD + '/versions.json'); - -class Versions extends React.Component { - render(props) { - const latestVersion = versions[0]; - const repoUrl = `https://github.com/${siteConfig.organizationName}/${ - siteConfig.projectName - }`; - - return ( -
- -
-
-

{siteConfig.title + ' Versions'}

-
-

Current version (Stable)

- - - - - - - - -
{latestVersion} - Documentation - - Release Notes -
-

- This is the version that is configured automatically when you - first install this project. -

-

Pre-release versions

- - - - - - - - -
master - - Documentation - - - Release Notes -
-

- This is the current master branch documentation. -

-

Past Versions

- - - {versions.map( - version => - version !== latestVersion && ( - - - - - - ) - )} - -
{version} - - Documentation - - - - Release Notes - -
-

- You can find past versions of this project on{' '} - GitHub. -

-
-
-
- ); - } -} - -module.exports = Versions; From 598251556b522b2148652fc40a7242824b61bb39 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Thu, 2 Aug 2018 07:43:41 +0200 Subject: [PATCH 3/4] chore(release): 3.5.1 --- CHANGELOG.md | 10 ++++++++++ package.json | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72639d9ab..e3e768e64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [3.5.1](https://github.com/verdaccio/verdaccio/compare/v3.5.0...v3.5.1) (2018-08-02) + + +### Bug Fixes + +* remove version page ([8a0e8ab](https://github.com/verdaccio/verdaccio/commit/8a0e8ab)) + + + # [3.5.0](https://github.com/verdaccio/verdaccio/compare/v3.4.1...v3.5.0) (2018-08-02) diff --git a/package.json b/package.json index 6510eced1..bce633d69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "verdaccio", - "version": "3.5.0", + "version": "3.5.1", "description": "Private npm repository server", "author": { "name": "Alex Kocharin", From 1f5479c75a9a041b805973f79c7978fe7a6fe9c5 Mon Sep 17 00:00:00 2001 From: verdacciobot <35213902+verdacciobot@users.noreply.github.com> Date: Thu, 2 Aug 2018 20:35:12 +0200 Subject: [PATCH 4/4] New Crowdin translations (#890) * New translations dev-plugins.md (Chinese Simplified) docs(website): new translations * New translations dev-plugins.md (Chinese Simplified) docs(website): new translations * New translations docker.md (Chinese Simplified) docs(website): new translations * New translations dev-plugins.md (Chinese Simplified) docs(website): new translations * New translations plugins.md (Chinese Simplified) docs(website): new translations --- website/translated_docs/zh-Hans/dev-plugins.md | 12 ++++++------ website/translated_docs/zh-Hans/docker.md | 6 +++--- website/translated_docs/zh-Hans/plugins.md | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/website/translated_docs/zh-Hans/dev-plugins.md b/website/translated_docs/zh-Hans/dev-plugins.md index 64db25c2c..a9152de95 100644 --- a/website/translated_docs/zh-Hans/dev-plugins.md +++ b/website/translated_docs/zh-Hans/dev-plugins.md @@ -26,7 +26,7 @@ interface IPluginAuth extends IPlugin { } ``` -> 仅 `adduser`, `allow_access` 和`allow_publish` 是可选的,verdaccio 在所有这些例子里提供后退。 +> 仅 `adduser`, `allow_access` 和`allow_publish` 是可选的,verdaccio 在所有这些例子里提供后退功能。 #### 回调 @@ -104,7 +104,7 @@ interface verdaccio$IPluginMiddleware extends verdaccio$IPlugin { ### register_middlewares -此方法通过`auth`和`storage`提供完全认证访问。`app` 是可以让您添加新端点的表达应用程序。 +此方法通过`auth`和`storage`提供认证和存储的完全访问。`app` 是可以让您添加新端点的应用程序。 > Middleware插件的一个很好的例子是[sinopia-github-oauth](https://github.com/soundtrackyourbrand/sinopia-github-oauth) 和 [verdaccio-audit](https://github.com/verdaccio/verdaccio-audit)。 @@ -116,7 +116,7 @@ function register_middlewares(expressApp, authInstance, storageInstance) { } ``` -要注册middleware,我们需要一个object(对象)以及一个可以接收3 个参数(`expressApp, auth, storage`),名叫 `register_middlewares`的单一方法。 *Auth*是authentification instance,*storage* 也是主Storage instance,它将让您可以访问到所有存储操作。 +要注册middleware,我们需要一个object(对象)以及一个可以接收3 个参数(`expressApp, auth, storage`),名叫 `register_middlewares`的单一方法。 *Auth*是认证实例,*storage* 也是主存储实例,它将让您可以访问到所有存储操作。 ## Storage Plugin(存储插件) @@ -124,7 +124,7 @@ Verdaccio 默认使用文件系统存储插件[local-storage](https://github.com ### API -存储API 更复杂一些,您将需要创建一个可以返回`IPluginStorage`执行的class(类)。请参阅以下详细信息。 +存储API 更复杂一些,您将需要创建一个可以返回实现`IPluginStorage`的class(类)。请参阅以下详细信息。 ```flow class LocalDatabase{ @@ -174,11 +174,11 @@ class verdaccio$IReadTarball extends stream$PassThrough { } ``` -> 存储API 仍然还在实验阶段,并在接下来的小版本中可能会有修改。 更多有关存储API 的详细信息,请跟随[类型 我们官方资源库里的定义](https://github.com/verdaccio/flow-types)。 +> 存储API 仍然还在实验阶段,并在接下来的小版本中可能会有修改。 更多有关存储API 的详细信息,请访问[我们官方资源库里的类型定义](https://github.com/verdaccio/flow-types)。 ### 存储插件示例 -以下插件列表执行存储API,可以被用作示例。 +以下插件列表实现存储API,可以被用作示例。 * [verdaccio-memory](https://github.com/verdaccio/verdaccio-memory) * [local-storage](https://github.com/verdaccio/local-storage) diff --git a/website/translated_docs/zh-Hans/docker.md b/website/translated_docs/zh-Hans/docker.md index 43af2581d..8840ed34f 100644 --- a/website/translated_docs/zh-Hans/docker.md +++ b/website/translated_docs/zh-Hans/docker.md @@ -88,7 +88,7 @@ PORT=5000; docker run -it --rm --name verdaccio \ verdaccio/verdaccio ``` -### HTTPS与Docker一同使用 +### 在Docker中使用HTTPS 您可以配置 verdaccio 要监听的协议,类似于端口配置。 在 config.yaml里指定证书后,您必须用"https"覆盖`PROTOCOL` 环境变量中的默认值("http")。 @@ -109,7 +109,7 @@ $ docker-compose up --build 把`PORT=5000`作为以上命令的前缀来设置要使用(容器和主机二者)的端口。 -Docker将生成一个named volume(命名卷),它用于存储持续应用程序数据。 您可以使用`docker inspect` 或者 `docker volume inspect` 来查看此volume(卷)的物理位置并编辑配置,比如: +Docker将生成一个named volume(命名卷),它用于存储持久化应用程序数据。 您可以使用`docker inspect` 或者 `docker volume inspect` 来查看此volume(卷)的物理位置并编辑配置,比如: $ docker volume inspect verdaccio_verdaccio [ @@ -144,7 +144,7 @@ npm run build:docker npm run build:docker:rpi ``` -请注意,您需要在您的机台上安装 docker 来执行以上任何docker命令, docker 执行项应该在您的`$PATH`里。 +请注意,您需要在您的机器上安装 docker 来执行以上任何docker命令, docker 可执行程序应该在您的`$PATH`里。 ## Docker示例 diff --git a/website/translated_docs/zh-Hans/plugins.md b/website/translated_docs/zh-Hans/plugins.md index 1a3c41569..0ed905cec 100644 --- a/website/translated_docs/zh-Hans/plugins.md +++ b/website/translated_docs/zh-Hans/plugins.md @@ -120,7 +120,7 @@ store: * [verdaccio-gitlab](https://github.com/bufferoverflow/verdaccio-gitlab):使用Gitlab的Personal Access Token进行认证 * [verdaccio-htpasswd](https://github.com/verdaccio/verdaccio-htpasswd):基于(内置)htpasswd文件插件的verdaccio认证插件 * [verdaccio-github-oauth](https://github.com/aroundus-inc/verdaccio-github-oauth): verdaccio 的Github oauth认证插件。 -* [verdaccio-github-oauth-ui](https://github.com/n4bb12/verdaccio-github-oauth-ui): GitHub OAuth plugin for the verdaccio login button. +* [verdaccio-github-oauth-ui](https://github.com/n4bb12/verdaccio-github-oauth-ui): verdaccio登录按钮的GitHub OAuth 插件。 ### 中间件插件