#Custom Angular schematic ignoring folders that include only a gitkeep file

3 messages · Page 1 of 1 (latest)

fervent jetty
#

Good afternoon gents. I'm a bit stuck with trying to preserve folders that include a .gitkeep file when using a custom Angular schematic. I've tried to resolve this a couple different ways, but suspect that I'm missing a key detail on how things work as this is the first time I'm writing a schematic.

The folder structure in the files folder of the schematic is as follows:

files\
files\components\.gitkeep
files\services\.gitkeep

A copy of the schematic's main.ts has been shared here:
https://stackoverflow.com/questions/78497282/preserve-folders-with-gitkeep-files-when-running-a-custom-angular-schematic

I would greatly appreciate a fresh pair of eyes on this, if anyone would be so kind.

fervent jetty
#

@limpid wadi, I hope you don't mind the ping, but you've helped me out in the past so I thought you might be familiar with this.

fervent jetty
#

Hey @limpid wadi, do you have any guidance here?