Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Using `.` as the <directory> argument causes a sub-folder to be created

Open
#66 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.