-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
running command hygen-create add folder-name
Currently, subfolders are not being picked up.
If i run hygen-create add folder-name/*
it picks up some subfolders, but important subfolders like .changeset
are still ignored.
If i run hygen-create add folder-name/.*
it picks up everything, but also picks up the parent directory, which is no good.
In the dist
folder, i see a method
HygenCreate.add(files_and_dirs: any, recursive?: boolean, in_subdir?: boolean): void
But the CLI doesn't seem to expose a way to pass the recursive
argument. If edit the dist
to set the CLI's .add()
call to pass true
to the recursive argument, things work as I'd expect. I would use patch-package
to do this, but patch-package
doesn't work with pnpm
, which we use.
Metadata
Metadata
Assignees
Labels
No labels