Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maccuaa/git-clean

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maccuaa/git-clean - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

src/utils.mjs

3

package.json
{
"name": "@maccuaa/git-clean",
"version": "2.1.1",
"version": "2.2.0",
"description": "CLI tool for finding stale Git branches",

@@ -33,2 +33,3 @@ "main": "bin/git-clean.js",

"inquirer": "9.0.1",
"node-fetch": "3.2.8",
"nodemailer": "6.7.7",

@@ -35,0 +36,0 @@ "ora": "6.1.2",

@@ -35,30 +35,38 @@ # @maccuaa/git-clean

#
# Required
#
# the URL to the remote Git server
REMOTE_URL =
#
# Optional
#
# comma separated list of Jira project codes that you want to display links for
JIRA_PROJECTS =
# the name of your main branch. Generally this is the _master_ branch
MAIN_BRANCH = master
# comma separated list of branches that are protected and should not be deleted.
# branches matching any of PROTECTED_BRANCHES values these values will not be displayed by git-clean.
PROTECTED_BRANCHES = HEAD, origin/master
# If you have email address updates for your git users, you can use this to map them to the correct email address.
EMAIL_ALIAS = old.com:new.com|old1.com:new1.com|old2.com:new2.com
# SMTP Settings
# see nodeemailer for more support servers
# https://github.com/nodemailer/nodemailer/blob/master/lib/well-known/services.json
SMTP_SERVER = Hotmail
SMTP_USER = <username>
SMTP_PASSWORD = <password>
# Teams Channel Webhook Connector Endpoint
# See https://docs.microsoft.com/en-us/microsoftteams/office-365-custom-connectors
TEAMS_WEBHOOK_URL = https://XXXXX.webhook.office.com/webhookb2/XXXXX
```
#### Options
| Option | Description |
| ------------------ | ------------------------------------------------------------------------------ |
| REMOTE_URL | the URL to the remote Git server |
| JIRA_PROJECTS | comma separated list of Jira project codes that you want to display links for |
| MAIN_BRANCH | the name of your main branch. Generally this is the _master_ branch |
| PROTECTED_BRANCHES | comma separated list of branches that are protected and should not be deleted. |
Branches matching any of PROTECTED_BRANCHES values these values will not be displayed by git-clean.
# Recommended Setup for large projects

@@ -65,0 +73,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc