Giter Site home page Giter Site logo

ts-simple's Introduction

ts-simple

lerna Build Status Coverage Status

A collection of packages for simplifying your life. The most common packages contain simple functions that I used in a lot of my projects. By this way I try to unify that functions in a repository and testing to avoid bugs.

Following DRY philosophy.

Packages

Package Version Links
@ts-simple/deep-keys version README.md
@ts-simple/is-pair version README.md
@ts-simple/is-empty version README.md
@ts-simple/str-2-bool version README.md

How to contribution


  1. Generate package.
  • Option 1

    Create new package with lerna.

    lerna create
    
  • Option 2

    Convert and exists package to lerna package. More info

Note: In both cases follow the code rules.

  1. Configure package.json
  • Add public access.

    publishConfig: {
      "access": "public"
    }
  • Set correct scripts

    scripts: {
      "tsc": "tsc",
      "test":"test",
      "coverage":"test with coverage"
    }
    

    Note: For test you can use any test framework.

  • Add files LICENSE.txt, tsconfig.json, README.md

  1. Configure README.md
  • Add shield tag comment to your readme to generate travis and coverall shields automatically in build time.
    <!-- START SHIELD -->
    <!-- END SHIELD -->
    

All devDependencies go in root package and try to avoid use externnal dependencies in your's packages.

How to publish


The permision to publish librarys is the organization collaborators. (@ts-simple). If your want your package will be include in this scope, you only need a to make a PR.

The members only need to run the script and establish the simver.

npm run badges
npm run lerna:version

Before publish update the badges branch version.

Future


Generate core packages to group common functionality in same package and avoid installing multiple packages.

ts-simple's People

Contributors

silvelo avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.