1.4.1-next.13 • Published 3 years ago

cv-wp-bundlejs v1.4.1-next.13

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
3 years ago

README

Project to have a bundle containing several libraries to be added to & used from WordPress. Specifically, when somebody opens a landing page and there are UTM parameters present, we need to call the back end endpoint /visitor to create a cookie containing utm_source, utm_content, utm_origin... etc. The following libraries, which are included in the package.json of this project, are meant to perform this task:

  • cv-storage-js: CV cookie management
  • jsr-lib-http: endpoint calls
  • cv-lib-visitor: UTM, creation & retrieval of the CV cookie from back end by calling to /visitor
  • revalidator: JSONSchema validation (included to set a specific version number)

How to make a release candidate tag

This is a functionality that makes you able to test your changes in other projects. While not affecting other people working in the same library.

1- Make changes in your branch

2- Commit changes to clean your work directory

git add .
git commit -m "RC-XXXX: my message"

3- Run npm run release-candidate

The last step would be to create a new RC tag for the next version, something like: 1.0.1-next.0 and it will be like this until you release a normal version

Version history

  • 1.0.0 - Initial versions.
  • 1.1.0 - Change lib visitor version to 1.1.0. Add utm_origin.
  • 1.2.0 - RC-8210 adding new visitor version
  • 1.4.0 - Add NPM configuration & bitbucket pipelines