New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@proprioo/salatim

Package Overview
Dependencies
Maintainers
1
Versions
590
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proprioo/salatim

Proprioo component library

latest
npmnpm
Version
37.0.9
Version published
Weekly downloads
247
436.96%
Maintainers
1
Weekly downloads
 
Created
Source

Salatim

Salatim is our component library, made with 🥑 and ❤️.

Please have a look at its storybook for each component.

How to dev ?

  • create a branch from main
  • make changes and sane commits (atomic, descriptive)
  • push changes and create a PR on GitHub
  • once complete, merge it to main using "Rebase and merge" strategy

How to release a new version?

The final "production" release of salatim is managed through npmjs.com – https://www.npmjs.com/package/@proprioo/salatim

To publish a new version of salatim, you need to:

  • checkout the main branch
  • make sure everything is up to date with git pull origin main
  • [optional by now] update the CHANGELOG.md file according to the changes you made since the last release
  • create either a patch, minor or major release depending on the changes you made using npm
    • i.e. npm version patch for a patch release
    • i.e. npm version minor for a minor release
    • i.e. npm version major for a major release
  • push the commit and the tag created by the previous command using git push origin main --tags
  • go to GitHub and create a new release from the tag you just pushed

WARNING: the GitHub workflow to push the package to npmjs.com is currently untested, make sure to verify the package is correctly published on npmjs.com after the release.

OUTDATED, TO BE CHECKED Backport a fix

If you have to backport something to an old version of salatim :

  • go to the old version's branch (for example: v15 before the rebranding)
  • add your commit(s), and don't forget to bump the version in package.json and CHANGELOG.md (if you fix something and the previous version was 15.2.3, bump to 15.2.4)
  • push the branch, don't forget it!
  • run npm run clean && npm run build locally to make the package ready to be published
  • run npm publish --access=public --non-interactive --tag 15.2.4 locally. Don't forget the --tag argument to prevent overriding the latest version.

You can then bump your project with this new version of salatim. ;)

Update phone metadata

We cannot accept every phone numbers in the application, mainly due to some optimization (Metadata JSON is a big file). When an error is triggered on AppSales (Failed to parse phone number +XXXX), we need to update the phone Metadata to accept it.

  • Find the country calling code, to do so:
    • Go to Phone.tsx, change PhoneInput import to 'react-phone-number-input' and remove metadata attribute in JSX (like this we're accepting every possible phone numbers)
    • Start locally Storybook and copy / paste your troublesome phone number to find the country calling code.
  • Go to CountryCode.org and find your country calling code.
  • Use the 2 digit ISO found to update the script generate-phone-metadata, then run this script ( Metadata will be automatically generated).
  • We also need to update the Phone component to accept this new option, go to constants and add this 2 digit ISO in both constants.
  • Do not forget to rollback your changes in PhoneInput.tsx, then update Changelog.md and package.json version and you're up to go.

Keywords

components

FAQs

Package last updated on 05 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts