@condor-labs/helpers

[DEPRECATED] Helper library to provide services integration.

Use invidual helpers instead. Check @condor-labs packages here: https://www.npmjs.com/settings/condor-labs/packages)
Last updated a year ago by awilches .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @condor-labs/helpers 
SYNC missed versions from official npm registry.

THIS PROJECT HAS BEEN DEPRECATED


CEB-CORE-NPM-HELPERS

This project contents the helpers we use in our nodejs projects

Team in charge

CEB-CORE development team

Pre-requisites

  • Node.js 9.4.0+

Installing this package

    npm install ceb-helpers --save

Update a Package

Versioning

This package use the next versioning system:

   X.X.X

where each X represent a integer number, and a new change.

The first one represent new functionalities, the second one represetn new improvements, and the last one represent new fixes.

Directory Structure

 |- Coverage
 |- examples
 |  |- folder
 |- src
 |  |- helper.js
 |- test
 |  |- helper-test.js
 |- .gitignore
 |- gulpfile.js
 |- index.js
 |- package.json
 |- package-lock.json
 |- README.md

Adding a new helper

To add a new helper you will need to create three new files in examples, src, and test folders.

They will follow the next pattern.

  • example: HELPERNAME.js
  • src: HELPERNAME.js
  • test: HELPERNAME-test.js
Note: remplace **HELPERNAME** with the name of your helper.

Also you will need to add a new reference in the index.js file placed in the root folder following the next pattern.

Into module.exports object add a new function.

**HELPERNAME**: () => {
            return require('./src/**HELPERNAME**.js');
        }
Note: be sure that your helper file have a export/

Increasing package version

You will need to update the package.json file placed in the root folder.

identify the property version and increase the right number in plus one.

How to Publish

Login in NPM by console.

 npm login
 [Enter username]
 [Enter password]
 [Enter email]

If all is ok the console will show you something like this : Logged in as USERNAME on https://registry.npmjs.org/.

Uploading a new version

 npm publish

Ref: https://docs.npmjs.com/getting-started/publishing-npm-packages

Note: you will need to have a NPM account, if you don't have one create one here: https://www.npmjs.com/signup

Current Tags

  • 1.0.1                                ...           latest (a year ago)

2 Versions

  • 1.0.1 [deprecated]           ...           a year ago
  • 1.0.0 [deprecated]           ...           a year ago
Downloads
Today 0
This Week 2
This Month 2
Last Day 2
Last Week 0
Last Month 2
Dependencies (12)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |