rescript-lang / rescript-lang/create-rescript-app
Ignore .devcontainer when checking for empty directory on project generation
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 77
- Forks
- 15
- Avg merge
- 17h 54m
- Merged PRs (30d)
- 1
Description
Current issue
We are doing all our development inside devcontainers. This means that on bootstrapping a project there will always be a .devcontainer folder in the root of the project. This will provide, in our case, bun and node. At this point we would run bun create but that's not possible cause there is a .devcontainer folder present.
Proposed solution
create rescript-app ignores any .devcontainer folder as this is presumed to be necessary for bootstrapping.
Current workaround
After starting the devcontainer move the .devcontainer folder to /tmp and move it back after project creation.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the project-generation check that decides whether the target directory is empty, then inspect how existing entries are handled. Verify the behavior with a project root containing only .devcontainer and confirm that project creation proceeds while other existing content still prevents generation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun, node.js
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100