Using `.` as the <directory> argument causes a sub-folder to be created
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- cli
Research direction
Start by reproducing npx postcss-plugin-boilerplate . in an existing directory and trace the template script that handles the <directory> argument. Check how it derives the destination and the package.json project name. Done means . writes files directly into the current directory without creating a same-named sub-folder, while retaining that folder name as the package name.
Written by the indexing model from the issue text.
Description
When executing the following command:
npx postcss-plugin-boilerplate .
The template script creates a sub-folder from where the command was executed named the same as the folder it was executed from.
I expected the command not to create this folder, but instead just drop the files in the directory the command was executed in. And only use the current folder name as the project name of the package.json file.
If you need more info, I'm here to help!
- Dominant language
- JavaScript
- Stars
- 224
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
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.
Similar issues
-
bug confirmed issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
open-webui/open-webui#30750 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100