microsoft/fluentui-token-pipeline

Add NPM packaging to the standalone JSON repo

Closed this issue · 1 comments

Fluent UI React Web wants to consume tokens as an NPM package. I should add NPM packaging to my standalone JSON repo to show how this could be done.

Unlike a typical JavaScript library, that NPM package would just contain the build folder of fully-built files (CSS, JSON, etc.) and not the source code.

I'm now publishing a sample NPM token package using a GitHub Actions workflow.

It's just a sample right now, but it could be easily copied for real tokens whenever we have a set that we're ready to publish as a package.