sek-consulting / solid-ui

Beautifully designed components. Built with Kobalte & corvu. Styled with Tailwind CSS.
https://www.solid-ui.com
MIT License
680 stars 25 forks source link

CLI seems to be missing `/dist/index.mjs` #29

Closed atilafassina closed 8 months ago

atilafassina commented 8 months ago

Hello!! Great work!! I'm excited to try it out, but when running the init command:

pnpm dlx solidui-cli init

It fails with:

 WARN  Failed to create bin at .../pnpm/store/v3/tmp/dlx-75575/node_modules/.pnpm/solidui-cli@0.1.2/node_modules/solidui-cli/node_modules/.bin/suc. ENOENT: no such file or directory, open '.../pnpm/store/v3/tmp/dlx-75575/node_modules/.pnpm/solidui-cli@0.1.2/node_modules/solidui-cli/dist/index.mjs'
 WARN  Failed to create bin at .../pnpm/store/v3/tmp/dlx-75575/node_modules/.bin/suc. ENOENT: no such file or directory, open '...pnpm/store/v3/tmp/dlx-75575/node_modules/solidui-cli/dist/index.mjs'
 ENOENT  Command failed with ENOENT: suc init

And looking at npm, latest release seems to really not have the whole /dist directory.

sek-consulting commented 8 months ago

Thanks for the feedback! Looks like I was missing a build step in the release workflow. Could you try again with the latest version (0.1.3) ?

atilafassina commented 8 months ago

Thanks for the quick fix! Works like a charm now.

I just made a small PR (#32 ) to fix a tiny issue I believe I spotted! :)