Closed cyrilf closed 4 weeks ago
Thanks @cyrilf :) Basically the readme should reflect the types in .d.ts. Changing a type name there leads to breaking changes unfortunately.
Yes, ok. @graphieros As you can see on this page the casing is not correct. Even if it's a breaking change, I would favor renaming the type file to respect the repo naming convention, in which case I have a commit ready, let me know. Otherwise, I let you handle the renaming in the README and instalation files?
Allright @cyrilf let's go for the type renaming :)
When installing the project locally on Linux (Ubuntu in my case, but it would be the same for any OS with a file system that is case-sensitive), there is an error in the console:
[vite] Internal server error: Failed to resolve import "../TestingArena/ArenaVueUiStackbar.vue" from "src/App.vue". Does the file exist?
So I simply renamed the file as
ArenaVueUiStackbar
(with a lowerb
tobar
) seems to be the dominant choice in the code-base.Side note:
I see a similar difference between the types and the README for
VueUiSparkStackBarConfig
andVueUiSparkStackbarDatasetItem
. Sometimes it's upper case forBar
sometimes lowercasebar
. I was going to include a second commit to fix it in this PR, but actually I don't know if changing a type is a breaking change or not. So I'll let you handle it if you think it's necessary.