Publish as NPM Package #12
MCatherine1994
started this conversation in
Ideas
Replies: 3 comments
-
This is a great idea! Nrdk used to do something similar, so we can check that repo for samples or ideas. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Derek created an organization in the npm registry for us: https://www.npmjs.com/settings/bcgov-nr/members |
Beta Was this translation helpful? Give feedback.
0 replies
-
Manual publish steps:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder if there is any restriction about publishing our FSA theme stylesheet as an NPM package in the public node package registry? We'll need to create an account in the node package registry. Public registry is free, private one costs $7 per month. Or is there anywhere else we could publish, any GitHub registry for our organization?
Test it locally:
npm init
to initialize as a node packagenpm install [path_to_our_fsa_theme_repo]
import "nr-fsa-theme/theme/primevue-components-overrides.scss"
How other teams use it in the future:
An example: https://github.com/GovAlta/design-tokens
NRDK npm repo: https://github.com/BCDevOps/nrdk
@DerekRoberts @webgismd @mamartinezmejia
Beta Was this translation helpful? Give feedback.
All reactions