git-web 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/providers/hostname/bitbucket.js +4 -1
- package/lib/providers/hostname/index.js +11 -4
- package/man/git-ci.1 +1 -1
- package/man/git-fork.1 +1 -1
- package/man/git-issues.1 +1 -1
- package/man/git-pr.1 +1 -1
- package/man/git-prs.1 +1 -1
- package/man/git-web.1 +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -33
|
@@ -5,12 +5,19 @@ const gitlab = require('./gitlab');
|
|
|
5
5
|
const bitbucket = require('./bitbucket');
|
|
6
6
|
const codecommit = require('./codecommit');
|
|
7
7
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
const providersHostnames = {
|
|
9
|
+
github,
|
|
10
|
+
gitlab,
|
|
11
|
+
bitbucket
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
+
const providersMap = Object.entries(providersHostnames).reduce((map, [provider, hostnames]) => {
|
|
15
|
+
[].concat(hostnames).forEach(hostname => {
|
|
16
|
+
map[hostname] = provider;
|
|
17
|
+
});
|
|
18
|
+
return map;
|
|
19
|
+
}, {});
|
|
20
|
+
|
|
14
21
|
module.exports = hostname => {
|
|
15
22
|
|
|
16
23
|
if(providersMap[hostname])
|
package/man/git-ci.1
CHANGED
package/man/git-fork.1
CHANGED
package/man/git-issues.1
CHANGED
package/man/git-pr.1
CHANGED
package/man/git-prs.1
CHANGED
package/man/git-web.1
CHANGED
package/package.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
6
|
-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [Unreleased]
|
|
9
|
-
|
|
10
|
-
## [1.0.0] - 2023-02-14
|
|
11
|
-
### Changed
|
|
12
|
-
- Dropped support for node 10 and 12 **BREAKING CHANGE**
|
|
13
|
-
- Updated bitbucket pipelines URLs
|
|
14
|
-
|
|
15
|
-
### Security
|
|
16
|
-
- Dependencies updated to fix known vulnerabilities
|
|
17
|
-
|
|
18
|
-
## [0.2.1] - 2021-03-09
|
|
19
|
-
### Fixed
|
|
20
|
-
- Issue with `fs.access` flags in node 14+
|
|
21
|
-
|
|
22
|
-
## [0.2.0] - 2020-08-31
|
|
23
|
-
### Added
|
|
24
|
-
- New commmands: `git fork`, `git issue`, `git issues`, `git pr` and `git prs`.
|
|
25
|
-
- Man pages for all the commands
|
|
26
|
-
- Documentation in README
|
|
27
|
-
- Stability improved with unit testing
|
|
28
|
-
|
|
29
|
-
## [0.1.0] - 2020-08-29
|
|
30
|
-
### Added
|
|
31
|
-
- `git web` command with origin and commit modifiers with support for bitbucket, codecommit, github and gitlab.
|
|
32
|
-
- `git ci` command with origin and commit modifiers with support for bitbucket, circleci, github, gitlab and travis.
|
|
33
|
-
- Pending commands `git issues`, `git fork` , `git prs` and `git pr`.
|