chore(*): reorganized all files and folders (#283)

This commit is contained in:
Anurag Hazra
2020-08-02 13:07:26 +05:30
committed by GitHub
parent e7dcda0ee8
commit 67b434dc79
25 changed files with 79 additions and 67 deletions

View File

@ -5,9 +5,9 @@ const {
parseArray,
clampValue,
CONSTANTS,
} = require("../src/utils");
const fetchStats = require("../src/fetchStats");
const renderStatsCard = require("../src/renderStatsCard");
} = require("../src/common/utils");
const fetchStats = require("../src/fetchers/stats-fetcher");
const renderStatsCard = require("../src/cards/stats-card");
module.exports = async (req, res) => {
const {

View File

@ -5,9 +5,9 @@ const {
clampValue,
CONSTANTS,
logger,
} = require("../src/utils");
const fetchRepo = require("../src/fetchRepo");
const renderRepoCard = require("../src/renderRepoCard");
} = require("../src/common/utils");
const fetchRepo = require("../src/fetchers/repo-fetcher");
const renderRepoCard = require("../src/cards/repo-card");
module.exports = async (req, res) => {
const {

View File

@ -5,9 +5,9 @@ const {
parseBoolean,
parseArray,
CONSTANTS,
} = require("../src/utils");
const fetchTopLanguages = require("../src/fetchTopLanguages");
const renderTopLanguages = require("../src/renderTopLanguages");
} = require("../src/common/utils");
const fetchTopLanguages = require("../src/fetchers/top-languages-fetcher");
const renderTopLanguages = require("../src/cards/top-languages-card");
module.exports = async (req, res) => {
const {