create-near-app
create-near-app copied to clipboard
No option to create-near-app in a blank folder
I am looking for something like create-near-app . that assumes the name of the enclosing folder and doesn't create one additional project folder underneath, similar to npx create-react-app .
Is there any way to do this with create-near-app, or can this be included in a subsequent update?
hi @weiler1, what do you mean by "that assumes the name of the enclosing folder" ? I am not understanding the expected behaviour.
Do you (@weiler1) mean we can't do something like this?
npx create-near-app . --contract js --frontend react --tests js
I would say, Ideally, the above command should initialize the project on the current working directory if this directory is empty.
But, should it restrict initialization if there is already some content (eg: an src/
folder) inside the folder, if not restricted, this may render conflict.
we are not planning to add this, since it would add extra logic and complexity to a project that is being supported by only one person (me)