Closed davezuch closed 3 years ago
Continuing on the work started in #156 and #166, we move DateTimePicker, DatePicker, and TimePicker to the top-level.
DateTimePicker
DatePicker
TimePicker
Commit-by-commit.
The changes here constitute a breaking change. If you want to validate these changes in Wildcat or OMS, you can:
packages.dhall
- , version = "v0.27.0" + , version = "origin/davezuch/datetime-components"
sed
find web/purs/src -type f -name '*.purs' | xargs sed -i 's/Ocelot.Components.DateTimePicker.Component/Ocelot.DateTimePicker/g' find web/purs/src -type f -name '*.purs' | xargs sed -i 's/Ocelot.Components.DatePicker.Component/Ocelot.DatePicker/g' find web/purs/src -type f -name '*.purs' | xargs sed -i 's/Ocelot.Components.TimePicker.Component/Ocelot.TimePicker/g'
In OMS, we only use the DateTime picker, so the sed commands should just be:
find infrastructure/src -type f -name '*.purs' | xargs sed -i 's/Ocelot.Components.DateTimePicker.Component/Ocelot.DateTimePicker/g'
After the above steps, the project should build successfully.
Thanks for the review!
What does this pull request do?
Continuing on the work started in #156 and #166, we move
DateTimePicker
,DatePicker
, andTimePicker
to the top-level.Where should the reviewer start?
Commit-by-commit.
Other Notes:
The changes here constitute a breaking change. If you want to validate these changes in Wildcat or OMS, you can:
packages.dhall
, change the Ocelot version to:sed
commands to change the relevant module names:In OMS, we only use the DateTime picker, so the
sed
commands should just be:After the above steps, the project should build successfully.