feat: git mod - shifting from yarn pkg to monolith (#37865)

## Description
- Removing yarn based package for git
- Adding git as a folder inside the src of the root project

**Why?**
Dependencies on code like request and AnalyticsUtil

## Automation

/ok-to-test tags="@tag.Git"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12113540863>
> Commit: 310b351a3229407046318931ed697a885b524bdb
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12113540863&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Git`
> Spec:
> <hr>Mon, 02 Dec 2024 06:55:35 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Integrated Redux Toolkit to enhance state management capabilities.
  
- **Bug Fixes**
- Removed specific ESLint settings for the `git` package, which may lead
to inconsistencies in coding standards.

- **Chores**
- Deleted the `@appsmith/git` package and its associated configuration
files, streamlining the project structure.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Rudraprasad Das 2024-12-02 15:04:04 +08:00 committed by GitHub
parent 362b72676b
commit 2b64e6546b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
37 changed files with 6 additions and 34 deletions

View File

@ -87,6 +87,7 @@
"@react-types/shared": "^3.23.0",
"@redux-saga/core": "1.1.3",
"@redux-saga/types": "1.2.1",
"@reduxjs/toolkit": "^2.4.0",
"@sentry/react": "^6.2.4",
"@shared/ast": "workspace:^",
"@shared/dsl": "workspace:^",

View File

@ -1,3 +0,0 @@
{
"extends": ["../../.eslintrc.base.json"]
}

View File

@ -1,15 +0,0 @@
{
"name": "@appsmith/git",
"description": "This package contains all the git related functionality for Appsmith UI",
"private": true,
"version": "1.0.0",
"main": "src/index.ts",
"scripts": {
"lint": "yarn g:lint",
"prettier": "yarn g:prettier",
"test:unit": "yarn g:jest --passWithNoTests"
},
"dependencies": {
"@reduxjs/toolkit": "^2.3.0"
}
}

View File

@ -1,4 +0,0 @@
{
"extends": "../../tsconfig.json",
"include": ["./src/**/*"]
}

View File

@ -91,14 +91,6 @@ __metadata:
languageName: unknown
linkType: soft
"@appsmith/git@workspace:packages/git":
version: 0.0.0-use.local
resolution: "@appsmith/git@workspace:packages/git"
dependencies:
"@reduxjs/toolkit": ^2.3.0
languageName: unknown
linkType: soft
"@appsmith/utils@workspace:^, @appsmith/utils@workspace:packages/utils":
version: 0.0.0-use.local
resolution: "@appsmith/utils@workspace:packages/utils"
@ -7918,9 +7910,9 @@ __metadata:
languageName: node
linkType: hard
"@reduxjs/toolkit@npm:^2.3.0":
version: 2.3.0
resolution: "@reduxjs/toolkit@npm:2.3.0"
"@reduxjs/toolkit@npm:^2.4.0":
version: 2.4.0
resolution: "@reduxjs/toolkit@npm:2.4.0"
dependencies:
immer: ^10.0.3
redux: ^5.0.1
@ -7934,7 +7926,7 @@ __metadata:
optional: true
react-redux:
optional: true
checksum: 1a0d85978f99a44f7ceabec8623f46cdd2a2dc25d809dfb0d5c9cd13e2aa12cf116cffe34a4ed949169804dc6125ef9cf68143225e9527f861b597ea701e8bb5
checksum: 49c75f488208fe8ba7834a9296b70e18480c2ac4f6a487a462157f3cb442ad3f722a67dfd975194a757910a4ccec7f9a7fcc171b76f9433de87911cffec9d4eb
languageName: node
linkType: hard
@ -12732,6 +12724,7 @@ __metadata:
"@react-types/shared": ^3.23.0
"@redux-saga/core": 1.1.3
"@redux-saga/types": 1.2.1
"@reduxjs/toolkit": ^2.4.0
"@sentry/react": ^6.2.4
"@sentry/webpack-plugin": ^1.18.9
"@shared/ast": "workspace:^"