primereact-sass-theme icon indicating copy to clipboard operation
primereact-sass-theme copied to clipboard

Release to NPM

Open CharlRitterDev opened this issue 1 year ago • 2 comments

This is not an issue, but a request rather.

Are there any plans to publish this to NPM?

The documentation for the Sass theme recommends downloading the zip of the tag corresponding to whatever version of primereact I have in my repo and putting it in my frontend project.

I don't see a reason why this can't be published, so a user can import it in their theme file and override/set sass variables there depending on if they imported a theme or the unstyled components.

CharlRitterDev avatar May 17 '24 07:05 CharlRitterDev

+1 to publishing to NPM

Looks like someone else claimed the name in npm for less honest purposes. There's now a security holding package, but the actual code would be even better 👍

  • https://github.com/advisories/GHSA-gfxp-qxxc-973g
  • https://libraries.io/npm/primereact-sass-theme

Finally, for now we're using the git url as package reference like below, "primereact-sass-theme": "github:primefaces/primereact-sass-theme#10.8.5",

https://docs.npmjs.com/cli/v11/configuring-npm/package-json#git-urls-as-dependencies

pieter-vandercammen avatar Jun 06 '25 08:06 pieter-vandercammen

Thanks for the response @pieter-vandercammen. I've been using the Git URL as the package reference in the meantime, as you suggested. Interesting, I wasn't aware that that was the reason why it wasn't released.

CharlRitterDev avatar Jun 06 '25 08:06 CharlRitterDev