1.0.17 • Published 2 years ago

@octopus-content-team/yeoman-input-inspector v1.0.17

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

This project provides a CLI based tool that captures the arguments, options, and questions defined by a Yeoman generator, and uses them to create a sample adative card that can be displayed by the (template-customizable-frontend)/js/template-customizable-frontend project.

Installation

npm install -g @octopus-content-team/yeoman-input-inspector

Usage

Install the Yeoman generator (JHipster is used as an example here):

npm install generator-jhipster

Inspect the generator:

yeoman-inspector jhipster

The output will then display the arguments, options, and questions defined by the generator, as well as a sample adaptive card.

Debugging

By default, this project will attempt to run the generators up to the point where they define their prompts. In most cases this allows yeoman-inspector to capture all the inputs without writing any files.

This can lead to issues where some questions are missed though, as not all generators respect the Yeoman lifecycle. For example, some generators compose in other generators during the writing phase, which then introduces more prompts. These prompts will be missed by yeoman-inspector with its default settings.

To have the yeoman-inspector tool run through the complete generator lifecycle (i.e. actually create files), set the ALLOW_FULL_INSTALL environment variable to true.

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years 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