Skip to content

scaf project should NOT create files in "." #514

@flypenguin

Description

@flypenguin

🐛 Describe the bug

I just went "scaf my-testproject", and I realized that scaf created a bunch of files in the current directory: .gitignore, .releaserc.json, CHANGELOG.md, package-lock.json, package.json (see screenshot).

If I look in the created directory, I see all files I would expect a typical "git root" should / could / might have, so I would assume that this is the directory which I should add to git and push to upstream. In that case, I would like scaf to not create any "noise" files in the current directory where it was executed from.

💭 Expected Behavior

It should not create files in the directory it was executed from.

🔁 Steps To Reproduce

  • execute scaf PROJECT and answer all questions (answers irrelevant)
  • execute ls -la after, and see a bunch of files created in the current directory.
    (the _un_wanted behavior)

🌎 Environments

  • Sandbox
  • Staging
  • Production

📝 Additional context

No response

📜 Relevant log output

📸 Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions