We host every Haiku publish in our private Node package repository, with a version tag corresponding with the “version” field you’ll see in the publish dialog and the upper right of the share page.
To change the version, simply edit your project’s dependency in
package.json to the latest version and running
npm i (if using NPM) or
yarn (if using Yarn).
For example, if you have in
and the latest version of your project is
0.0.10, change that to:
Running this with
npm might result in
404 package not found.
yarn might result in: "warning
package-lock.json found". Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove
That warning is normal and only related to using both
yarn in the same project (as the warning notes, not really recommended although technically possible).
Tip: Every time you publish a new version of your component you have to upgrade the corresponding package version in your