Skip to content

Commit

Permalink
remove sourcecred
Browse files Browse the repository at this point in the history
  • Loading branch information
Seroxdesign committed Feb 6, 2024
1 parent acd0145 commit 37c05d7
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 247 deletions.
1 change: 0 additions & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"graphql-request": "4.0.0",
"graphql-tag": "2.12.6",
"showdown": "^2.1.0",
"sourcecred": "0.11.0",
"uuid": "8.3.2"
},
"devDependencies": {
Expand Down
6 changes: 0 additions & 6 deletions packages/backend/src/handlers/actions/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ import { guildRoutes } from './guild/routes.js';
import { syncAllGuildDiscordMembers } from './guild/sync.js';
import syncBalances from './player/syncBalances.js';
import { questsRoutes } from './quests/routes.js';
import { syncSourceCredAccounts } from './sourcecred/sync.js';

export const actionRoutes = express.Router();

actionRoutes.post('/syncBalances', asyncHandlerWrapper(syncBalances));

actionRoutes.post(
'/syncSourceCredAccounts',
asyncHandlerWrapper(syncSourceCredAccounts),
);
actionRoutes.post(
'/syncAllGuildDiscordMembers',
asyncHandlerWrapper(syncAllGuildDiscordMembers),
Expand Down
206 changes: 0 additions & 206 deletions packages/backend/src/handlers/actions/sourcecred/sync.ts

This file was deleted.

1 change: 1 addition & 0 deletions packages/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"type": "module",
"main": "dist/ds.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./dist/ds.js"
Expand Down
1 change: 0 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"imgix-core-js": "2.3.2",
"js-base64": "3.7.2",
"node-fetch": "3.2.1",
"sourcecred": "0.11.0",
"uuid": "8.3.2"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export * from './networkHelpers.js';
export * as numbers from './numbers.js';
export * from './promiseHelpers.js';
export * from './rankHelpers.js';
export * from './sourceCredHelpers.js';
export * from './xpHelpers.js';

export { uuidv4 as generateUUID };
Expand Down
19 changes: 0 additions & 19 deletions packages/utils/src/sourceCredHelpers.ts

This file was deleted.

21 changes: 8 additions & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9096,6 +9096,13 @@ dateformat@^3.0.0:
version "3.0.3"
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae"

debounce-fn@^5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/debounce-fn/-/debounce-fn-5.1.2.tgz#c77bc447ef36828ecdd066df7de23f475e0a6281"
integrity sha512-Sr4SdOZ4vw6eQDvPYNxHogvrxmCIld/VenC5JbNrFwMiwd7lY/Z18ZFfo+EWNG4DD9nFlAujWAo/wGuOPHmy5A==
dependencies:
mimic-fn "^4.0.0"

debounce@^1.2.0, debounce@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5"
Expand Down Expand Up @@ -11734,13 +11741,6 @@ gzip-size@^6.0.0:
dependencies:
duplexer "^0.1.2"

hamt-sharding@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/hamt-sharding/-/hamt-sharding-2.0.1.tgz#f45686d0339e74b03b233bee1bde9587727129b6"
dependencies:
sparse-array "^1.3.1"
uint8arrays "^3.0.0"

handlebars@^4.7.7:
version "4.7.8"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9"
Expand Down Expand Up @@ -15015,16 +15015,11 @@ mri@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b"

mrmime@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-1.0.1.tgz#5f90c825fad4bdd41dc914eff5d1a8cfdaf24f27"
integrity sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==

mrmime@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/mrmime/-/mrmime-2.0.0.tgz#151082a6e06e59a9a39b46b3e14d5cfe92b3abb4"
integrity sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==

[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
Expand Down

0 comments on commit 37c05d7

Please sign in to comment.