Matt Provost
Matt Provost
Just by reading through this, I have a few thoughts: 1. Does this occur over the entire docsite, or just in a few places? 2. Does this occur on pages...
We can start with this: ``` Extra dependencies (15) - dependencies specified in the "dependencies" section but aren't used in any application code: [ "@types/chroma-js", "@types/lodash", "@types/numeral", "@types/react-beautiful-dnd", "@types/react-input-autosize", "@types/react-virtualized-auto-sizer",...
> I am wondering if there is any tool that can help analyze the whole code and check the % of the usage of packages. I am not aware of...
> First step, I will check all the listed dependencies you mention in comment [#595 (comment)](https://github.com/opensearch-project/oui/issues/595#issuecomment-1553378424) and check if they are being used or not. What do you think? Yeah,...
Thanks for doing this so far. I've written a new (smarter but still dumb) script script, which reads whatever is currently in `package.json`'s `dependencies`, `devDependencies`, and `peerDependencies` then scours `src`,...
As part of this, I'd also like to see dependencies get put in their correct sections. For example, it doesn't make much sense to me that `@types/` dependencies would be...
> Hi, @BSFishy . @BigSamu and I talked yesterday about this issue, and we were wondering if I could be added to the issue so that he and I can...
> Hi @BSFishy, yeah I think the contributor approach will be the way to go. The review of the packages is big for this issue. So some extra hands would...
> @BSFishy I'm working up from the bottom of the list you gave to @BigSamu . The first dependency I found that was unused in the source code is `sass-lint-auto-fix`....
Furthermore, I just found this package: https://www.npmjs.com/package/@vercel/nft, which is meant to identify files needed at runtime. I wrote a quick script to run this on OUI: https://gist.github.com/BSFishy/f917770acac228565e98d9d819d582e5 and got this...