dx-platform
dx-platform copied to clipboard
Migrate to `lower-dash-case` in file names across all packages
Lower case in path input/Input.tsx can cause build fail on CI(Teamcity for example) sometimes because it lets Windows to neglect mistaken font case and also it doesn't look like consistent naming of platform components.
- check all packages
- force casing with a tslint/eslint rule (depends on the package used)
General recommendation is to use lower-dash-case
for all files
I suggest creating codemod. It will make a migration to the new version of dx-platform easier.
I suggest creating codemod. It will make a migration to the new version of dx-platform easier.
hmmmm
may be there are some node
library? Python seems strange dependency for such operations.
I don't find python strage for such operations. But we with @zeihlis disscussed offline that maybe there is no need for complex thing like codemod, we can just write find-replace script in plain node and publish it as gist or something :)
closing in favor of #145
After all decided to do this separately after #145
After all decided to do this separately after #145
I think it makes sense to do that simultaneously with #145, why not?
@sutarmin #145 is on hold until it's clear how new "design system" project will impact current platform. Perhaps wasting resource on migration of existing kit which may become incompatible with a new one is pointless.
Taking that into account I should note that it may be possible to apply these changes before #145 . That's why it's separate