5.4.6 • Published 5 years ago

generator-typescript-microservice v5.4.6

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

TypeScript Microservice Generator

A generator to start quickly using the Serverless Framework with TypeScript source code. This generator provides the following:

  • DevOps
    • build, deploy, watch and many other useful devop scripts
    • All devop scipts written in TS; doesn't depend on any 3rd party build tools like Gulp, Grunt, etc.
  • Testing:
    • Mocha test runner with chai assertion library
    • Configuration setup for using Wallaby real-time testing in your editor
  • Serverless Enhancements
    • Larger projects based on the Serverless framework tend to lead to a quite cluttered serverless.yml file; with this generator the build process will allow you to decompose the configuration in a sensible way.
    • The serverless-step-functions addon provides easy access AWS's Step functions
    • Typings provided for all serverless configuration allows your configuration to be checked within your editor before you try and deploy it as well as providing a better way of exploring the API surface allowed in configuration (with intellisence autocomplete and comments)

Install

npm i -g yo@latest
npm i -g generator-typescript-microservice
cd [PROJECT DIRECTORY]
yo typescript-microservice

Interactive Setup

During the installation you'll be asked about the following considerations:

  • Project Type: a "Serverless Project" or just a "Typescript Library"
  • Linting: eslint or tslint?
  • Documentation: do you want to use Vuepress for documenting your repo? If so we'll add to the "docs" folder and add the appropriate yarn build commands
  • Code Coverage: what system do you want to use? We will drop in a starting config file for that solution.

We will assume:

  • the use of a Webpack build system in all cases.
  • use of yarn as your package manager (although npm will probably work fine)
5.4.6

5 years ago

5.4.5

5 years ago

5.4.4

5 years ago

5.4.3

5 years ago

5.3.0

6 years ago

5.2.0

6 years ago

5.1.2

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.5.3

6 years ago

4.5.1

6 years ago

4.5.0

6 years ago

4.4.13

6 years ago

4.4.12

6 years ago

4.4.11

6 years ago

4.4.10

7 years ago

4.4.9

7 years ago

4.4.8

7 years ago

4.4.7

7 years ago

4.4.6

7 years ago

4.4.5

7 years ago

4.4.4

7 years ago

4.4.3

7 years ago

4.4.2

7 years ago

4.4.1

7 years ago

4.4.0

7 years ago

4.3.8

7 years ago

4.3.7

7 years ago

4.3.6

7 years ago

4.3.5

7 years ago

4.3.4

7 years ago

4.3.3

7 years ago

4.3.2

7 years ago

4.3.1

7 years ago

4.2.10

7 years ago

4.2.6

7 years ago

4.1.1

7 years ago

4.0.0

7 years ago

3.4.2

7 years ago

3.4.1

7 years ago

3.4.0

7 years ago

3.3.4

7 years ago

3.3.3

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.9

7 years ago

3.2.8

7 years ago

3.2.7

7 years ago

3.2.6

7 years ago

3.2.5

7 years ago

3.2.4

7 years ago

3.2.3

7 years ago

3.2.2

7 years ago

3.2.1

7 years ago

3.2.0

7 years ago

3.1.3

8 years ago

3.1.2

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.24

8 years ago

3.0.23

8 years ago

3.0.22

8 years ago

3.0.21

8 years ago

3.0.20

8 years ago

3.0.19

8 years ago

3.0.18

8 years ago

3.0.17

8 years ago

3.0.16

8 years ago

3.0.15

8 years ago

3.0.14

8 years ago

3.0.13

8 years ago

3.0.12

8 years ago

3.0.11

8 years ago

3.0.10

8 years ago

3.0.9

8 years ago

3.0.8

8 years ago

3.0.7

8 years ago

3.0.6

8 years ago

3.0.5

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago