Connect, collaborate, and grow with a community of TypeScript developers
Remove uneeded code (#102)
Sean Boult547d52645600
diff --git a/patches/[email protected] b/patches/[email protected]index a098b4a1..0d875f14 100644--- a/patches/[email protected]+++ b/patches/[email protected]@@ -1,37 +1,3 @@-diff --git a/package.json b/package.json-index 32b6844c5342b3a577fc090be305d2d3584c4998..1366e857838c134a36dfaf88a908aae3968cccdb 100644---- a/package.json-+++ b/package.json-@@ -82,6 +82,7 @@- "@babel/preset-react": "^7.17.12",- "@babel/preset-typescript": "^7.17.12",- "@edge-runtime/jest-environment": "1.1.0-beta.35",-+ "@next-auth/tsconfig": "0.0.0",- "@swc/core": "^1.2.198",- "@swc/jest": "^0.2.21",- "@testing-library/dom": "^8.13.0",-@@ -110,8 +111,7 @@- "postcss-nested": "^5.0.6",- "react": "^18",- "react-dom": "^18",-- "whatwg-fetch": "^3.6.2",-- "@next-auth/tsconfig": "0.0.0"-+ "whatwg-fetch": "^3.6.2"- },- "scripts": {- "build": "pnpm clean && pnpm build:js && pnpm build:css",-@@ -124,5 +124,10 @@- "test": "jest --config ./config/jest.config.js",- "generate-providers": "node ./config/generate-providers.js",- "lint": "eslint src config tests"-+ },-+ "pnpm": {-+ "patchedDependencies": {-+ "[email protected]": "patches/[email protected]"-+ }- }- }-\ No newline at end of filediff --git a/providers/github.js b/providers/github.jsindex d9a68e0f126df7b05fb4b38fa2969827765c43c6..c5c1af28e1773561ea018a4d4720b7e55c632066 100644--- a/providers/github.js@@ -48,4 +14,4 @@ index d9a68e0f126df7b05fb4b38fa2969827765c43c6..c5c1af28e1773561ea018a4d4720b7e5+ name: profile.login,email: profile.email,image: profile.avatar_url- };\ No newline at end of file+ };diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 1263f9ed..df428250 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -6,7 +6,7 @@ settings:patchedDependencies:- hash: z7hogwjmsy5ijambzc6ekvh27q+ hash: mr6pbhgbmy4dt4xo4hxm5k4ym4path: patches/[email protected]dependencies:@@ -111,7 +111,7 @@ dependencies:version: 13.4.8([email protected])([email protected])next-auth:specifier: ^4.22.1- version: 4.22.1(patch_hash=z7hogwjmsy5ijambzc6ekvh27q)([email protected])([email protected])([email protected])+ version: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])next-themes:specifier: ^0.2.1@@ -684,7 +684,7 @@ packages:next-auth: ^4dependencies:'@prisma/client': 4.14.0([email protected])- next-auth: 4.22.1(patch_hash=z7hogwjmsy5ijambzc6ekvh27q)([email protected])([email protected])([email protected])+ next-auth: 4.22.1(patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected])dev: false/@next/[email protected]:@@ -4688,7 +4688,7 @@ packages:resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}dev: true- /[email protected](patch_hash=z7hogwjmsy5ijambzc6ekvh27q)([email protected])([email protected])([email protected]):+ /[email protected](patch_hash=mr6pbhgbmy4dt4xo4hxm5k4ym4)([email protected])([email protected])([email protected]):resolution: {integrity: sha512-NTR3f6W7/AWXKw8GSsgSyQcDW6jkslZLH8AiZa5PQ09w1kR8uHtR9rez/E9gAq/o17+p0JYHE8QjF3RoniiObA==}peerDependencies:next: ^12.2.5 || ^13