create-pkgbld 1.1.2 → 1.1.4
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -124,7 +124,7 @@ async function execute() {
|
|
|
124
124
|
const gitCfg = await gitConfig__default["default"]();
|
|
125
125
|
if (gitCfg) {
|
|
126
126
|
const url = gitCfg['remote "origin"'].url;
|
|
127
|
-
gitInfo.homepage = url.replace('.git',
|
|
127
|
+
gitInfo.homepage = url.replace('.git', `/blob/main/${basePackageName}/README.md`);
|
|
128
128
|
gitInfo.repository = {
|
|
129
129
|
type: 'git',
|
|
130
130
|
url: `git+${url}`
|
package/dist/index.js
CHANGED
|
@@ -125,7 +125,7 @@ async function execute() {
|
|
|
125
125
|
const gitCfg = await gitConfig__default["default"]();
|
|
126
126
|
if (gitCfg) {
|
|
127
127
|
const url = gitCfg['remote "origin"'].url;
|
|
128
|
-
gitInfo.homepage = url.replace('.git',
|
|
128
|
+
gitInfo.homepage = url.replace('.git', `/blob/main/${basePackageName}/README.md`);
|
|
129
129
|
gitInfo.repository = {
|
|
130
130
|
type: 'git',
|
|
131
131
|
url: `git+${url}`
|
package/dist/index.mjs
CHANGED
|
@@ -112,7 +112,7 @@ async function execute() {
|
|
|
112
112
|
const gitCfg = await gitConfig();
|
|
113
113
|
if (gitCfg) {
|
|
114
114
|
const url = gitCfg['remote "origin"'].url;
|
|
115
|
-
gitInfo.homepage = url.replace('.git',
|
|
115
|
+
gitInfo.homepage = url.replace('.git', `/blob/main/${basePackageName}/README.md`);
|
|
116
116
|
gitInfo.repository = {
|
|
117
117
|
type: 'git',
|
|
118
118
|
url: `git+${url}`
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.1.
|
|
2
|
+
"version": "1.1.4",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "create-pkgbld",
|
|
5
5
|
"author": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"degit": "2.8.4",
|
|
60
60
|
"git-user-name": "2.0.0",
|
|
61
|
-
"minimist": "1.2.
|
|
61
|
+
"minimist": "1.2.7",
|
|
62
62
|
"parse-git-config": "3.0.0",
|
|
63
63
|
"prompts": "2.4.2"
|
|
64
64
|
}
|