Forbidden imports

This commit is contained in:
Micah Hahn 2023-08-16 14:48:12 -05:00
parent 9205546caa
commit 3035cd658c
2 changed files with 9 additions and 4 deletions

View File

@ -1,8 +1,9 @@
Nri.Ui.Block.V4,upgrade to V6 Nri.Ui.Block.V4,upgrade to V6
Nri.Ui.Block.V5,upgrade to V6 Nri.Ui.Block.V5,upgrade to V6
Nri.Ui.WhenFocusLeaves.V1,upgrade to V2 Nri.Ui.WhenFocusLeaves.V1,upgrade to V2
Nri.Ui.Mark.V2,upgrade to V4 Nri.Ui.Mark.V2,upgrade to V5
Nri.Ui.Mark.V3,upgrade to V4 Nri.Ui.Mark.V3,upgrade to V5
Nri.Ui.Mark.V4,upgrade to V5
Nri.Ui.Message.V3,upgrade to V4 Nri.Ui.Message.V3,upgrade to V4
Nri.Ui.SideNav.V4,upgrade to V5 Nri.Ui.SideNav.V4,upgrade to V5
Nri.Ui.Switch.V2,upgrade to V3 Nri.Ui.Switch.V2,upgrade to V3

1 Nri.Ui.Block.V4 upgrade to V6
2 Nri.Ui.Block.V5 upgrade to V6
3 Nri.Ui.WhenFocusLeaves.V1 upgrade to V2
4 Nri.Ui.Mark.V2 upgrade to V4 upgrade to V5
5 Nri.Ui.Mark.V3 upgrade to V4 upgrade to V5
6 Nri.Ui.Mark.V4 upgrade to V5
7 Nri.Ui.Message.V3 upgrade to V4
8 Nri.Ui.SideNav.V4 upgrade to V5
9 Nri.Ui.Switch.V2 upgrade to V3

View File

@ -134,11 +134,15 @@ hint = 'upgrade to V2'
usages = ['component-catalog/../src/Nri/Ui/Block/V1.elm'] usages = ['component-catalog/../src/Nri/Ui/Block/V1.elm']
[forbidden."Nri.Ui.Mark.V2"] [forbidden."Nri.Ui.Mark.V2"]
hint = 'upgrade to V4' hint = 'upgrade to V5'
usages = ['component-catalog/../src/Nri/Ui/Block/V4.elm'] usages = ['component-catalog/../src/Nri/Ui/Block/V4.elm']
[forbidden."Nri.Ui.Mark.V3"] [forbidden."Nri.Ui.Mark.V3"]
hint = 'upgrade to V4' hint = 'upgrade to V5'
[forbidden."Nri.Ui.Mark.V4"]
hint = 'upgrade to V5'
usages = ['component-catalog/../src/Nri/Ui/Block/V5.elm']
[forbidden."Nri.Ui.Menu.V1"] [forbidden."Nri.Ui.Menu.V1"]
hint = 'upgrade to V3' hint = 'upgrade to V3'