2 Commits

Author SHA1 Message Date
Patrik Oldsberg 09b37063f2 packages,plugins: migrate to new lint config
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-03-07 14:53:43 +01:00
@pawelmitka ea048ce7a0 feat(scaffolder-backend): Yeoman Generator module
Added a new Scaffolder Backend Yeoman module to allow for integration with Yeoman Generators. At the moment the only action added is 'run' to execute installed Yeoman Generator.

The Yeoman Generator can be either added as a dependency in `package.json` of a service that uses this plugin or installed in an environment using `npm install -g https://github.com/org/generator-name.git`

Tests for `yeomanRun.ts` were not added because 'yeoman'environment' module is exported in a way that does not allow partial mocking while '@types/yeoman-environment' does not support Yeoman 3.x, yet.

I also tested it E2E.

Signed-off-by: @pawelmitka <pawel.mitka@brainly.com>
2021-09-15 12:31:35 +02:00