-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A few ideas #21
Comments
I've started work on https://github.com/danielroe/unplugin-purge-polyfills, which aims to do exactly the bundler piece. (I wasn't aware you might consider doing that inside nolyfill or I would have directly opened it here.) I would love to figure out how to collaborate on the build plugin piece of this. For example, if we could polyfill/replace more code in |
A bundler integration would be great! I have not gotten my hands on that yet and I am glad you are creating one! Currently, nolyfill hasn't provided a way for plugins to read the metadata of nolyfill (E.g. replace-able packages list, existing nolyfill replacement list, the version of the packages). @wojtekmaj implements his Do you have any suggestions for the metadata formats? |
It would be really nice to have a diagnostic mode that visualizes the npm dependency tree a little like |
That's nice to have, but evaluating the dependency graph is a very tedious job though.
See also the previous attempt: #13 |
First, this is a very interesting idea, and I see a lot of potential in it that would benefit the entire Node ecosystem. Here I have a few suggestions that just came out of my mind, that I think might help the community to grow.
Code Orangizing Wise
packages/
into two directories, for example,/packages
and/nolyfills
to separate the source of tooling like/packages/cli
and the generated packages. This would help contributors to understand the structure and contribute more easily. - refactor: reorganize packages #22create.cjs
, as the indentation is off and there is no syntax highlight. I consider it might be hard to maintain in the long term..cjs
file that is separated with magic comments. This way, we could also utilize formatters and linters to help maintain them.For the points listed above, I am happy to help and send PRs if you think they are good ideas.
Feature Wise
pnpm
, we may use the.pnpmfile.cjs
manipulate the dependents from the database in [Feature Request] Programmatic usage (JavaScript SDK) #20require('xxx')
from the dependent and generate patches atomicallypnpm -r why xxx
but with a more unified display and programmatic APIsI am looking forward to contributing and seeing the community grow. I will try to update this issue whenever I have new ideas.
The text was updated successfully, but these errors were encountered: