Skip to content

Commit

Permalink
feat(rollup-plugin-json-replacement): add the rename to `@rollup/plug…
Browse files Browse the repository at this point in the history
…in-json` (#25674)
  • Loading branch information
travi committed Nov 9, 2023
1 parent fa2bd46 commit f4f7a89
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/config/presets/internal/replacements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,17 @@ export const presets: Record<string, Preset> = {
},
],
},
'rollup-json-to-scoped': {
description: 'The json plugin for rollup became scoped.',
packageRules: [
{
matchDatasources: ['npm'],
matchPackageNames: ['rollup-plugin-json'],
replacementName: '@rollup/plugin-json',
replacementVersion: '4.0.0',
},
],
},
'rollup-node-resolve-to-scoped': {
description: 'The node-resolve plugin for rollup became scoped.',
packageRules: [
Expand Down

0 comments on commit f4f7a89

Please sign in to comment.