diff --git a/package-lock.json b/package-lock.json index 13c4f899b..632fe0418 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,8 +1,7 @@ { "name": "verdaccio", - "version": "2.2.6", + "version": "2.3.0-beta", "lockfileVersion": 1, - "requires": true, "dependencies": { "@verdaccio/file-locking": { "version": "0.0.3", diff --git a/src/api/web/api.js b/src/api/web/api.js index c92a61109..d1bff86bf 100644 --- a/src/api/web/api.js +++ b/src/api/web/api.js @@ -127,9 +127,6 @@ module.exports = function(config, auth, storage) { } else { next(HTTPError[err.message ? 401 : 500](err.message)); } - - let base = Utils.combineBaseUrl(Utils.getWebProtocol(req), req.get('host'), config.url_prefix); - res.redirect(base); }); }); diff --git a/src/webui/src/components/PackageList/index.js b/src/webui/src/components/PackageList/index.js index 478021793..73fb7f65f 100644 --- a/src/webui/src/components/PackageList/index.js +++ b/src/webui/src/components/PackageList/index.js @@ -23,7 +23,18 @@ export default class PackageList extends React.Component { { this.props.packages.length ? this.renderList(): -
+ To publish your first package just:
+
+ 1. Login
+ npm adduser --registry {location.origin}
+ 2. Publish
+ npm publish --registry {location.origin}
+ 3. Done!
+