microsoft / microsoft/powerplatform-vscode

`pac package init` does not generate .gitignore

Open
#273 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

I just created a new package deployer project using pac package init and realised that a .gitignore file was not created. pac plugin init and pac pcf init both create .gitignore. It would be good if a .gitignore was also created for packages.

Here's the .gitignore created for plugins

# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# msbuild output directories
/bin
/obj

# vs intermediate directory
/.vs

Occurs in pac 1.17.5

Contributor guide

Open the contributing guide

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.

Research direction

Compare the implementation of pac package init with the existing pac plugin init and pac pcf init flows. Check how those commands create .gitignore, then verify that package initialization produces the same file content shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.