Skip to content

Commit 39ebce1

Browse files
cursoragentserhalp
authored andcommitted
fix: update outdated plugin upgrade instructions
Co-authored-by: philippe.serhal <[email protected]>
1 parent 5de08d5 commit 39ebce1

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

packages/build/src/log/messages/compatibility.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ const getUpgradeInstruction = function (loadedFrom, origin) {
140140
}
141141

142142
if (origin === 'ui') {
143-
return 'To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)'
143+
return 'To upgrade this plugin, go to Project Configuration > Build & deploy > Build settings in your site dashboard'
144144
}
145145

146-
return 'To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)'
146+
return 'To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead'
147147
}
148148

149149
// Print a warning message when plugins are using a version that is too recent

packages/build/tests/plugins_list/snapshots/tests.js.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ Generated by [AVA](https://avajs.dev).
935935
936936
> Outdated plugins␊
937937
- netlify-plugin-contextual-env 0-1-0: latest version is 0-3-0␊
938-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
938+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
939939
940940
netlify-plugin-contextual-env (onPreBuild event) ␊
941941
────────────────────────────────────────────────────────────────␊
@@ -997,7 +997,7 @@ Generated by [AVA](https://avajs.dev).
997997
998998
> Outdated plugins␊
999999
- netlify-plugin-contextual-env 0-1-0: latest version is 0-3-0␊
1000-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1000+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
10011001
10021002
netlify-plugin-contextual-env (onPreBuild event) ␊
10031003
────────────────────────────────────────────────────────────────␊
@@ -1059,7 +1059,7 @@ Generated by [AVA](https://avajs.dev).
10591059
10601060
> Outdated plugins␊
10611061
- netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊
1062-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1062+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
10631063
10641064
netlify-plugin-contextual-env (onPreBuild event) ␊
10651065
────────────────────────────────────────────────────────────────␊
@@ -1121,7 +1121,7 @@ Generated by [AVA](https://avajs.dev).
11211121
11221122
> Outdated plugins␊
11231123
- netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊
1124-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1124+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
11251125
11261126
netlify-plugin-contextual-env (onPreBuild event) ␊
11271127
────────────────────────────────────────────────────────────────␊
@@ -1183,7 +1183,7 @@ Generated by [AVA](https://avajs.dev).
11831183
11841184
> Outdated plugins␊
11851185
- netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊
1186-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1186+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
11871187
11881188
netlify-plugin-contextual-env (onPreBuild event) ␊
11891189
────────────────────────────────────────────────────────────────␊
@@ -1304,7 +1304,7 @@ Generated by [AVA](https://avajs.dev).
13041304
> Outdated plugins␊
13051305
- netlify-plugin-contextual-env 0-1-0: latest version is 0-3-0␊
13061306
Migration guide: http://test.com␊
1307-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1307+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
13081308
13091309
netlify-plugin-contextual-env (onPreBuild event) ␊
13101310
────────────────────────────────────────────────────────────────␊
@@ -1366,7 +1366,7 @@ Generated by [AVA](https://avajs.dev).
13661366
13671367
> Outdated plugins␊
13681368
- netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊
1369-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1369+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
13701370
13711371
netlify-plugin-contextual-env (onPreBuild event) ␊
13721372
────────────────────────────────────────────────────────────────␊
@@ -1602,7 +1602,7 @@ Generated by [AVA](https://avajs.dev).
16021602
16031603
> Outdated plugins␊
16041604
- netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊
1605-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1605+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
16061606
16071607
netlify-plugin-contextual-env (onPreBuild event) ␊
16081608
────────────────────────────────────────────────────────────────␊
@@ -1664,7 +1664,7 @@ Generated by [AVA](https://avajs.dev).
16641664
16651665
> Outdated plugins␊
16661666
- netlify-plugin-contextual-env 0-2-0: latest version is 0-3-0␊
1667-
To upgrade this plugin, please remove it from "netlify.toml" and install it from the Netlify plugins directory instead (https://app.netlify.com/plugins)
1667+
To upgrade this plugin, please remove it from "netlify.toml" and install it from Project Configuration > Build & deploy > Build settings in your site dashboard instead
16681668
16691669
netlify-plugin-contextual-env (onPreBuild event) ␊
16701670
────────────────────────────────────────────────────────────────␊
@@ -2558,7 +2558,7 @@ Generated by [AVA](https://avajs.dev).
25582558
25592559
> Outdated plugins␊
25602560
- netlify-plugin-contextual-env 0-3-0: latest version is 1-0-0␊
2561-
To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)
2561+
To upgrade this plugin, go to Project Configuration > Build & deploy > Build settings in your site dashboard
25622562
25632563
netlify-plugin-contextual-env (onPreBuild event) ␊
25642564
────────────────────────────────────────────────────────────────␊
@@ -2621,7 +2621,7 @@ Generated by [AVA](https://avajs.dev).
26212621
26222622
> Outdated plugins␊
26232623
- netlify-plugin-contextual-env 0-3-0: latest version is 1-0-0␊
2624-
To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)
2624+
To upgrade this plugin, go to Project Configuration > Build & deploy > Build settings in your site dashboard
26252625
26262626
netlify-plugin-contextual-env (onPreBuild event) ␊
26272627
────────────────────────────────────────────────────────────────␊
15 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)