hypermod-io / hypermod-community

Community-owned global registry and documentation hub for codemods. Write & run codemods, share them with your friends!
https://hypermod.io
MIT License
134 stars 18 forks source link

NPX download time #107

Open danieldelcore opened 2 years ago

danieldelcore commented 2 years ago

npx @codeshift/cli --packages @atlaskit/avatar@19.0.0 .temp/src/Avatar.tsx

Running codeshift/cli via npx takes FAR too long to be worthwhile..

We need to investigate how to speed that up. Most likey, we'll need to cut down on bundlesize.

Jensenks commented 10 months ago

Hello! Maybe bumping jscodeshift to version 0.15.1 would help? According to Bundlephobia the size of the package has been reduced quite a bit. It would also remove from deprecation messages from Micromatch version 3 (That jscodeshift 0.13.1 depends on). I would create a PR but I can't run 'yarn' on the project because I get 401 from the packages that are resolved to an Atlassian npm remote.

billede billede
danieldelcore commented 10 months ago

Fantastic, thanks so much for raising this with me!

I can't run 'yarn' on the project because I get 401 from the packages that are resolved to an Atlassian npm remote.

Whoops that's my bad! I'll fix that up 🤦 (edit: fixed)