1.4.7 • Published 5 years ago

generator-ts-generator v1.4.7

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

TSGeneratorGenerator

A Generator for Yeoman Generators Written in TypeScript

Usage

Install TSGeneratorGenerator

You can install TSGeneratorGenerator using the following command:

npm install -g yo generator-ts-generator

Generate a Generator Written in TypeScript

You can create a generator written in TypeScript using this command:

yo ts-generator

It is recommended to use an intelligent code-editor which is meant to be used with TypeScript (like, for example VSCode or Atom).
Please make sure to tick the Example Generator-box to generate a nice example for you to see the best practices for authoring generators.

Generator Output

  • A basic folder-structure for keeping TypeScript-code and JavaScript-builds separate
  • Linting-rules (optional)
    • Either weak rules...
    • ...or strong rules
  • A node-package with required dependencies
  • Mocha test-environment
  • NPM-Scripts for...
    • Compiling the TypeScript-code
    • Cleaning compiled TypeScript-code
    • Linting the package
    • Testing the package using Mocha
  • Visual Studio Code workspace (optional)
    • Settings
    • Task for building the generator (by pressing CTRL, SHIFT + B)
    • Task for linting the generator
    • Debug-settings
  • Generator-Examples (optional)
    You may want to create some generator-examples.
    These will help you to learn more about the capabilities of the object-oriented implementation of the Yeoman-Generator.
1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago