@respage/common-lib
TypeScript icon, indicating that this package has built-in type declarations

1.0.78 • Public • Published

respage-common-lib

We store all of the shared and common modules between the respage repos

Working with the lib locally:

After changes are made, you can build a package locally by running
npm pack
This command generates a new compressed file with the built library.
Now you just need to import the lib in the host project's package.json file using the absolute path to the file generated.
For example, in resmate you will replace the package version for the path, like this:
"@respage/common-lib": "/Users/username/respage/respage-common-lib/respage-common-lib-1.0.21.tgz",
Then run npm install to update the library in the host project (e.g. in resmate)
npm i @respage/common-lib
This will update node_modules with the new changes from the file generated by npm pack.

Publishing the lib:

For this you need to generate the new version and publish it:
npm version <new-version-number>
npm publish

Remember you must be logged in to npm and be part of the organization in order to publish. You can check this by accessing respage's npm repository: https://www.npmjs.com/org/respage

Readme

Keywords

none

Package Sidebar

Install

npm i @respage/common-lib

Weekly Downloads

60

Version

1.0.78

License

ISC

Unpacked Size

1.04 MB

Total Files

132

Last publish

Collaborators

  • miguel-martinez-kenility
  • dario.roman
  • johnh
  • agugriguol
  • frantrombotto-kenility
  • jjaramil
  • respage-engineering
  • wsteiner
  • gallou0403