Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

possible to support overwriting a directory? #20

Open
xenoterracide opened this issue Apr 16, 2020 · 3 comments
Open

possible to support overwriting a directory? #20

xenoterracide opened this issue Apr 16, 2020 · 3 comments

Comments

@xenoterracide
Copy link

due to... issues with things... like webpack... that have happened in the past (that were fixed simply by copying the new skeleton generated files) , also desire for testing new features from the skeleton, like jest. Would it be possible to have the generator ask if you wish to overwrite files intead of bail with directory exists?

@3cp
Copy link
Member

3cp commented Apr 16, 2020

Try in existing folder npx makes aurelia --here.
https://makes.js.org/here-mode-and-write-policy

Be ware it will use all new files to overwrite what ever is there. Because I have not marked files with the *-if-exists policy showed in the doc.

@xenoterracide
Copy link
Author

I think you shouldn't do -if-exists, or if you do it should be disable-able, I haven't tried this just yet

@3cp
Copy link
Member

3cp commented Apr 18, 2020

should be disable-able

There is __ask-if-exists for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants