Skip to content

fix: Initializing git repo on project creation - #2620

Open
nishu-murmu wants to merge 3 commits into
mainfrom
fix/git-init
Open

nishu-murmu wants to merge 3 commits into
mainfrom
fix/git-init

Conversation

@nishu-murmu

Copy link
Copy Markdown
Collaborator

Overview

On commands.ts file added new funtionality for initializing the git after the project is cloned.

Manual Testing

  1. cd into packages/wxt.
  2. create a project using bun wxt init (git the directory name test so it wont conflict).
  3. Check got git repo using git status

Related Issue

This PR closes # #2603

@netlify

netlify Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit a271938
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/6aad56495b67410007b32f66
😎 Deploy Preview https://deploy-preview-2620--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the pkg/wxt Includes changes to the `packages/wxt` directory label Sep 12, 2026
@nishu-murmu
nishu-murmu enabled auto-merge (squash) September 12, 2026 15:44
@pkg-pr-new

pkg-pr-new Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2620

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2620

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2620

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2620

@wxt-dev/is-background

npm i https://pkg.pr.new/@wxt-dev/is-background@2620

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2620

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2620

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2620

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2620

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2620

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2620

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2620

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2620

wxt

npm i https://pkg.pr.new/wxt@2620

commit: a271938

@codecov

codecov Bot commented Sep 12, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.64%. Comparing base (a747b9c) to head (a271938).

Files with missing lines Patch % Lines
packages/wxt/src/core/initialize.ts 0.00% 6 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2620      +/-   ##
==========================================
+ Coverage   79.54%   79.64%   +0.10%     
==========================================
  Files         135      135              
  Lines        4048     4054       +6     
  Branches      943      945       +2     
==========================================
+ Hits         3220     3229       +9     
+ Misses        732      730       -2     
+ Partials       96       95       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread packages/wxt/src/core/initialize.ts Outdated
Co-authored-by: fkatsuhiro <113022468+fkatsuhiro@users.noreply.github.com>

@fkatsuhiro fkatsuhiro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thank you.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/wxt Includes changes to the `packages/wxt` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants