1.3.5 • Published 1 year ago

a-minimal-ts v1.3.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

a-minimal-ts

A demo package with minimal Typescript functionality. This package can be used as a skeleton or template for quickly building new TypeScript packages, without wasting time on setup of boilerplate configurations and supporting tools.

Provides the following functionality:

  1. Module style (import/export)
  2. API
    • multiply - multiplies two numbers
    • wrapInArray - generic function
  3. Typescript
  4. Code Quality
    • Check code formatting with prettier
    • eslint coding style validation
      • jsdoc and tsdoc rules enforcement
  5. jest unit tests
  6. husky git hooks - ensure that git commits are of high quality
  7. commitlint - ensure that commit subjects comply with conventional commits specifications
  8. pnpm package manager
  9. NodeJS Continuos Integration Github workflows
    • Prettier and lint
    • Unit Tests
    • Auto Version bump

Prerequisites

NodeJS

Install NodeJS 16 or above, either directly or with nvm

Getting started

Usage

npm

npm i a-minimal-ts

yarn

yarn add a-minimal-ts

pnpm

pnpm add a-minimal-ts

Local development

PNPM installation

Install the pnpm NodeJS package manager

npm install pnpm -g

Install

Run the command:

pnpm install

Tests

Running jest unit tests

Run the command:

pnpm test

Versioning and Release

Done by github workflow actions

1.3.5

1 year ago

1.3.4

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago