@virmator/init 14.7.0 → 14.7.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/dist/init.js +7 -1
- package/package.json +2 -2
package/dist/init.js
CHANGED
|
@@ -382,7 +382,13 @@ function createGitUrls(ref) {
|
|
|
382
382
|
const isGitHub = repoPath.includes('github.com');
|
|
383
383
|
const issuesUrl = isGitHub ? `${repoPath}/issues` : '';
|
|
384
384
|
const [, username,] = safeMatch(repoPath, /\.com\/([^/]+)\//);
|
|
385
|
-
const bugsObject = issuesUrl
|
|
385
|
+
const bugsObject = issuesUrl
|
|
386
|
+
? {
|
|
387
|
+
bugs: {
|
|
388
|
+
url: issuesUrl,
|
|
389
|
+
},
|
|
390
|
+
}
|
|
391
|
+
: {};
|
|
386
392
|
const userUrlObject = isGitHub
|
|
387
393
|
? {
|
|
388
394
|
url: `https://github.com/${username}`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/init",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.1",
|
|
4
4
|
"description": "Default init plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@augment-vir/assert": "^31.64.0",
|
|
35
35
|
"@augment-vir/common": "^31.64.0",
|
|
36
36
|
"@augment-vir/node": "^31.64.0",
|
|
37
|
-
"@virmator/core": "^14.7.
|
|
37
|
+
"@virmator/core": "^14.7.1",
|
|
38
38
|
"simple-git": "^3.30.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|