Update generator function names and revise transform method
Renamed the generator function names in both 'keystatic/generator.ts' and 'package/generator.ts' for clarity and specificity. Also removed 'answers' parameter from the transform function in 'keystatic/generator.ts' and subsequently removed the associated prettier formatting command.
This commit is contained in:
@@ -2,7 +2,7 @@ import type { PlopTypes } from '@turbo/gen';
|
||||
import { execSync } from 'node:child_process';
|
||||
|
||||
export function createPackageGenerator(plop: PlopTypes.NodePlopAPI) {
|
||||
plop.setGenerator('init', {
|
||||
plop.setGenerator('package', {
|
||||
description: 'Generate a new package for the Monorepo',
|
||||
prompts: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user