Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
7fb7b7a5
Unverified
Commit
7fb7b7a5
authored
3 years ago
by
Matt Travi
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
feat(hapi-replacements): added replacements for hapi and joi (#13135)
Co-authored-by:
Rhys Arkins
<
rhys@arkins.net
>
parent
1e1c7512
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/config/presets/internal/replacements.ts
+39
-0
39 additions, 0 deletions
lib/config/presets/internal/replacements.ts
with
39 additions
and
0 deletions
lib/config/presets/internal/replacements.ts
+
39
−
0
View file @
7fb7b7a5
...
...
@@ -6,7 +6,10 @@ export const presets: Record<string, Preset> = {
description
:
'
All replacements
'
,
extends
:
[
'
replacements:cucumber-to-scoped
'
,
'
replacements:hapi-to-scoped
'
,
'
replacements:jade-to-pug
'
,
'
replacements:joi-to-scoped
'
,
'
replacements:joi-to-unscoped
'
,
'
replacements:rollup-node-resolve-to-scoped
'
,
],
},
...
...
@@ -21,6 +24,18 @@ export const presets: Record<string, Preset> = {
},
],
},
'
hapi-to-scoped
'
:
{
description
:
'
hapi became scoped
'
,
packageRules
:
[
{
matchCurrentVersion
:
'
>=18.0.0
'
,
matchDatasources
:
[
'
npm
'
],
matchPackageNames
:
[
'
hapi
'
],
replacementName
:
'
@hapi/hapi
'
,
replacementVersion
:
'
18.2.0
'
,
},
],
},
'
jade-to-pug
'
:
{
description
:
'
Jade was renamed to Pug
'
,
packageRules
:
[
...
...
@@ -32,6 +47,30 @@ export const presets: Record<string, Preset> = {
},
],
},
'
joi-to-scoped
'
:
{
description
:
'
joi became scoped under the hapi organization
'
,
packageRules
:
[
{
matchCurrentVersion
:
'
>=14.0.0
'
,
matchDatasources
:
[
'
npm
'
],
matchPackageNames
:
[
'
joi
'
],
replacementName
:
'
@hapi/joi
'
,
replacementVersion
:
'
14.4.0
'
,
},
],
},
'
joi-to-unscoped
'
:
{
description
:
'
joi was moved out of the hapi organization
'
,
packageRules
:
[
{
matchCurrentVersion
:
'
>=17.0.0
'
,
matchDatasources
:
[
'
npm
'
],
matchPackageNames
:
[
'
@hapi/joi
'
],
replacementName
:
'
joi
'
,
replacementVersion
:
'
17.1.1
'
,
},
],
},
'
rollup-node-resolve-to-scoped
'
:
{
description
:
'
the node-resolve plugin for rollup became scoped
'
,
packageRules
:
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment