misc minor fixes to [githubsize node pypi] (#8946)
* fix some params incorrectly marked as optional all of these are really required * make '@' part of the param (not route) for scoped packages * minor HTML tweaks to sonar help --------- Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
This commit is contained in:
@@ -27,8 +27,8 @@ export default class NodeVersionBase extends NPMBase {
|
||||
},
|
||||
{
|
||||
title: `${prefix} (scoped)`,
|
||||
pattern: '@:scope/:packageName',
|
||||
namedParams: { scope: 'stdlib', packageName: 'stdlib' },
|
||||
pattern: ':scope/:packageName',
|
||||
namedParams: { scope: '@stdlib', packageName: 'stdlib' },
|
||||
staticPreview: this.renderStaticPreview({
|
||||
nodeVersionRange: '>= 6.0.0',
|
||||
}),
|
||||
@@ -48,8 +48,8 @@ export default class NodeVersionBase extends NPMBase {
|
||||
},
|
||||
{
|
||||
title: `${prefix} (scoped with tag)`,
|
||||
pattern: '@:scope/:packageName/:tag',
|
||||
namedParams: { scope: 'stdlib', packageName: 'stdlib', tag: 'latest' },
|
||||
pattern: ':scope/:packageName/:tag',
|
||||
namedParams: { scope: '@stdlib', packageName: 'stdlib', tag: 'latest' },
|
||||
staticPreview: this.renderStaticPreview({
|
||||
nodeVersionRange: '>= 6.0.0',
|
||||
tag: 'latest',
|
||||
@@ -59,8 +59,8 @@ export default class NodeVersionBase extends NPMBase {
|
||||
},
|
||||
{
|
||||
title: `${prefix} (scoped with tag, custom registry)`,
|
||||
pattern: '@:scope/:packageName/:tag',
|
||||
namedParams: { scope: 'stdlib', packageName: 'stdlib', tag: 'latest' },
|
||||
pattern: ':scope/:packageName/:tag',
|
||||
namedParams: { scope: '@stdlib', packageName: 'stdlib', tag: 'latest' },
|
||||
queryParams: { registry_uri: 'https://registry.npmjs.com' },
|
||||
staticPreview: this.renderStaticPreview({
|
||||
nodeVersionRange: '>= 6.0.0',
|
||||
|
||||
Reference in New Issue
Block a user