dmtrKovalenko / date-io

Abstraction over common javascript date management libraries
MIT License
719 stars 90 forks source link

refactor: uniquely name declared modules #640

Closed LukasTy closed 1 year ago

LukasTy commented 1 year ago

Rename declared adapter modules to have unique name avoiding possible type collisions when multiple @date-io adapters are used in a single repo. Should avoid issues like #52. Currently being tested in https://github.com/mui/mui-x/pull/7808 with patch-package.

Warning: It should be considered as a breaking change (unless I'm misunderstanding something), as discussed here: https://github.com/dmtrKovalenko/date-io/issues/52#issuecomment-1414044630

dmtrKovalenko commented 1 year ago

explicit update: These types should be removed at all I just don't want to make breaking change for this only reason