1.0.27 • Published 1 month ago

templates-mo v1.0.27

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

Templates

Supercharge Your Development with Templates: Code Faster, Build Better!


Templates is a powerful filesystem generator that aims to simplify the process of getting started with and maintaining code applications. Its purpose is to provide developers with a friendly tool that streamlines their common day-to-day workflows. The versatility of templates extends to various scenarios, such as creating web applications in any programming language or generating new sections within a project, such as web controllers with unit tests or React components integrated with Redux and TypeScript.

Check out our docs

This project was inspired from create-components-react

Installation

npm install -g templates-mo

Development

Accessing dev cli

When making changes to templates, to test changes using tps cli use the ./.bin/cli file.

./.bin/cli react-component App

Testing

Run all unit tests

!WARNING: We dont recommend running all tests. This creates a lot of files and folders. Push your changes up to your branch and let github actions handle running these tests.

> npx jest

Run single unit tests

> npx jest path/to/file

Debug

you can debug tests or cli commands by using the DEBUG env variable. This will force templates to print out valuable information about the build process and the steps it took to get there.

DEBUG=tps npx jest path/to/file

or cli

DEBUG=tps ./.bin/cli react-component App
1.0.27

1 month ago

1.0.26

1 month ago

1.0.25

5 months ago

1.0.22

7 months ago

1.0.21

7 months ago

1.0.24

7 months ago

1.0.23

7 months ago

1.0.19

8 months ago

1.0.17

9 months ago

1.0.16

9 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.11

9 months ago

1.0.10

10 months ago

1.0.20

8 months ago

1.0.15

9 months ago

1.0.14

9 months ago

1.0.13

9 months ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago