The site-utils package contains utility code and components for building public-facing websites using Two Taps 2.0. It is available via npm at https://www.npmjs.com/package/@twotaps/site-utils for internal website use or for customers/partners.
To publish the site-utils package on npm, you need an npm account. If you don't have one, create an account at https://www.npmjs.com/signup.
You also need permission from the Two Taps 2.0 admin to publish the site-utils package. Contact the Two Taps 2.0 admin to obtain the necessary permissions.
Once you have the required permissions, run the following command:
Provide the new version, npm username, email, and password.
Since site-utils is currently being used internally by the snap-fitness repository https://github.com/ltnetwork/snap-fitness-nextjs, that project needs to be updated to ensure the latest changes are available.
In that repository, in
package.json file update to the latest version:
Still in that project, update the project dependencies:
This package provides helper code for building twotaps public sites
The npm package @twotaps/site-utils receives a total of 204 weekly downloads. As such, @twotaps/site-utils popularity was classified as not popular.
We found that @twotaps/site-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.