@donmahallem/lerna2codecov 0.1.2 → 0.1.3
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/cjs/index.js +35 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cli/cli.js +35 -3
- package/dist/cli/cli.js.map +1 -1
- package/dist/esm/index.js +35 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -172,6 +172,36 @@ gitHosts$2.gist = Object.assign({}, defaults$1, {
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
+
gitHosts$2.sourcehut = Object.assign({}, defaults$1, {
|
|
176
|
+
protocols: ['git+ssh:', 'https:'],
|
|
177
|
+
domain: 'git.sr.ht',
|
|
178
|
+
treepath: 'tree',
|
|
179
|
+
browsefiletemplate: ({ domain, user, project, committish, treepath, path, fragment, hashformat }) => `https://${domain}/${user}/${project}/${treepath}/${maybeEncode(committish || 'main')}/${path}${maybeJoin('#', hashformat(fragment || ''))}`,
|
|
180
|
+
filetemplate: ({ domain, user, project, committish, path }) => `https://${domain}/${user}/${project}/blob/${maybeEncode(committish) || 'main'}/${path}`,
|
|
181
|
+
httpstemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}.git${maybeJoin('#', committish)}`,
|
|
182
|
+
tarballtemplate: ({ domain, user, project, committish }) => `https://${domain}/${user}/${project}/archive/${maybeEncode(committish) || 'main'}.tar.gz`,
|
|
183
|
+
bugstemplate: ({ domain, user, project }) => `https://todo.sr.ht/${user}/${project}`,
|
|
184
|
+
docstemplate: ({ domain, user, project, treepath, committish }) => `https://${domain}/${user}/${project}${maybeJoin('/', treepath, '/', maybeEncode(committish))}#readme`,
|
|
185
|
+
extract: (url) => {
|
|
186
|
+
let [, user, project, aux] = url.pathname.split('/', 4);
|
|
187
|
+
|
|
188
|
+
// tarball url
|
|
189
|
+
if (['archive'].includes(aux)) {
|
|
190
|
+
return
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
if (project && project.endsWith('.git')) {
|
|
194
|
+
project = project.slice(0, -4);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
if (!user || !project) {
|
|
198
|
+
return
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
return { user, project, committish: url.hash.slice(1) }
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
|
|
175
205
|
const names = Object.keys(gitHosts$2);
|
|
176
206
|
gitHosts$2.byShortcut = {};
|
|
177
207
|
gitHosts$2.byDomain = {};
|
|
@@ -4070,8 +4100,10 @@ function patch$1 (fs) {
|
|
|
4070
4100
|
return function (target, options) {
|
|
4071
4101
|
var stats = options ? orig.call(fs, target, options)
|
|
4072
4102
|
: orig.call(fs, target);
|
|
4073
|
-
if (stats
|
|
4074
|
-
|
|
4103
|
+
if (stats) {
|
|
4104
|
+
if (stats.uid < 0) stats.uid += 0x100000000;
|
|
4105
|
+
if (stats.gid < 0) stats.gid += 0x100000000;
|
|
4106
|
+
}
|
|
4075
4107
|
return stats;
|
|
4076
4108
|
}
|
|
4077
4109
|
}
|
|
@@ -10481,6 +10513,6 @@ async function updateConfig(project, codecovCfg, opts) {
|
|
|
10481
10513
|
}
|
|
10482
10514
|
|
|
10483
10515
|
exports.updateConfig = updateConfig;
|
|
10484
|
-
// BUILD:
|
|
10516
|
+
// BUILD: Sun Jan 09 2022 16:10:12 GMT+0100 (Central European Standard Time)
|
|
10485
10517
|
|
|
10486
10518
|
//# sourceMappingURL=index.js.map
|