Open jmmills opened 2 months ago
After some digging, I figured out that it was being prevented by the guardDirectories function in the scaffold render funcs set.
Apparently me using .
as the project name was causing the problems, I worked around this by setting the project name to my checkout directory name and setting my output dir to ../
.
This is likely because my use case is generating boilerplate from within a monorepo.
Hey! I'm having a little trouble understand exactly what the issue is. Would it be possible to get a reproducible example? Or possible a better explication of where your current directory is and where you .scaffold directory is.
In your first example
--snapshot="stdout "
has an extra space which may be part of the issue? In the second example, --output-dir=":memory:"
would prevent the file from rendering so this:
$ ls ./platform/document/parse/pdf/app/README.md
ls: cannot access './platform/document/parse/pdf/app/README.md': No such file or directory
would be expected.
Like I said, I'm probably missing something here.
Hey! I'm having a little trouble understand exactly what the issue is. Would it be possible to get a reproducible example? Or possible a better explication of where your current directory is and where you .scaffold directory is.
In your first example
--snapshot="stdout "
has an extra space which may be part of the issue? In the second example,--output-dir=":memory:"
would prevent the file from rendering so this:$ ls ./platform/document/parse/pdf/app/README.md ls: cannot access './platform/document/parse/pdf/app/README.md': No such file or directory
would be expected.
Like I said, I'm probably missing something here.
No problem, let me spin up an example project structure that replicates my workaround for the monorepo usecase.
Was evaluating this tool to see if I can use it to generate some boilerplate, and it seemed to be working fine as I was developing a set of templates, then suddenly just stopped generating files with no error.
I removed the cache, removed all template files from my scaffold sans the templated directory names and README files, still not working.