Replies: 2 comments 2 replies
-
If you want to specify a root path, you should pass the following:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Nethan thank you for your response, i have tried adding the following as well but its being completely ignored as well. As an example (i am working on a Nx project) i have tried to add the below at rootPath // From full root // Project root // Just libs? But none effected the paths in any way |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
So am wondering if i misunderstood how you are supposed to configure elf-cli or if this is a bug and would like to discuss about it, working with Angular. Just to note, this might seem similar to #81 but i have no . in my project or in any folder names, except obviously for the angular .component.ts classes etc. Also using latest version of Elf
So as per the documentation i added
in my package.json at the root of the project.
Now if i run the npx @ngneat/elf-cli repo command i get the normal dialog and options and can select all the paths in my project - so works as intended so far.
Now i want to configure the CLI to only show me all the files under the /core/store folder as i dont want to see a huge list of files and folders. So again as per documentation i create at the root level next to the package.json the elf.config.js file and add the following:
So now i expect to see no files or folders, i did this just to play around and test this. But i actually see the entirety of my project. And testing it out i tried adding different options for filtering which non-worked, so i though ok mabye because of what i added in the package.json its ignoring this.
So i removed everything under "elf" : {} in my package.json and reverted what was in the elf.config.js to return true, again just to test this out. But to my suprise, now no matter what i put in elf.config.js i get
Have i done something wrong in my configuration? The docs are not very helpful on this part.
Thanks for any advice
Beta Was this translation helpful? Give feedback.
All reactions