antfu / vscode-iconify

🙂 Iconify IntelliSense for VS Code
https://marketplace.visualstudio.com/items?itemName=antfu.iconify
MIT License
453 stars 33 forks source link

jsdelivr Cdn entry not working #54

Closed renatomoor closed 1 year ago

renatomoor commented 1 year ago

Describe the bug

When visiting https://cdn.jsdelivr.net/gh/iconify/icon-sets/json I have the error: Package size exceeded the configured limit of 50 MB. Try https://github.com/iconify/icon-sets/tree/2.2.97/json instead.

I think this might be the reason I do not have autocomplete

Reproduction

Go to https://cdn.jsdelivr.net/gh/iconify/icon-sets/json

System Info

System:
    OS: macOS 13.4.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 740.41 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
    pnpm: 8.5.1 - ~/.nvm/versions/node/v18.16.0/bin/pnpm
  Browsers:
    Chrome: 115.0.5790.114
    Edge: 113.0.1774.57
    Safari: 16.5.2

Used Package Manager

pnpm

Validations

loukamb commented 1 year ago

I also have this issue. It's probably an issue with the icon-set package.

renatomoor commented 1 year ago

@antfu I've tried with the new CDN https://icones.js.org/collections but the page returns a Not found

loukamb commented 1 year ago

@antfu I've tried with the new CDN https://icones.js.org/collections but the page returns a Not found

/collections index isn't meant to return anything. Try /collections/fluent.json in your browser, you'll see it loads the icons as intended.