diff --git a/bun.lockb b/bun.lockb index de9546f..219c54a 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 3fe6fc6..6edec34 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,6 @@ "devDependencies": { "@types/bun": "1.1.6", "@woohm402/eslint-config-base": "0.7.0", - "dotenv": "16.4.5", "eslint": "9.9.0", "knip": "5.27.2", "prettier": "3.3.3", diff --git a/src/server.ts b/src/server.ts index 85772b2..9c5fc2f 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,5 +1,3 @@ -import dotenv from 'dotenv'; - import { SlackEvent } from './entities/Slack'; import { implementGitHubDeployWebhookController } from './infrastructures/implementGitHubDeployWebhookController'; import { implementMemberWaffleDotComRepository } from './infrastructures/implementMemberWaffleDotComRepository'; @@ -8,8 +6,6 @@ import { implementSlackPresenter } from './infrastructures/implementSlackPresent import { implementDeploymentService } from './services/GithubDeploymentService'; import { implementSlackEventService } from './services/SlackEventService'; -dotenv.config({ path: '.env.local' }); - const slackAuthToken = process.env.SLACK_AUTH_TOKEN; const slackBotToken = process.env.SLACK_BOT_TOKEN; const slackWatcherChannelId = process.env.SLACK_WATCHER_CHANNEL_ID; diff --git a/src/weekly-dashboard.ts b/src/weekly-dashboard.ts index 229ffbc..6e3c028 100644 --- a/src/weekly-dashboard.ts +++ b/src/weekly-dashboard.ts @@ -1,12 +1,8 @@ -import dotenv from 'dotenv'; - import { implementGithubOctokitRepository } from './infrastructures/implementGithubOctokitRepository'; import { implementMemberWaffleDotComRepository } from './infrastructures/implementMemberWaffleDotComRepository'; import { implementSlackPresenter } from './infrastructures/implementSlackPresenter'; import { implementDashboardService } from './services/DashboardService'; -dotenv.config({ path: '.env.local' }); - const slackAuthToken = process.env.SLACK_AUTH_TOKEN; const githubAccessToken = process.env.GHP_ACCESS_TOKEN; const slackWeeklyChannelId = process.env.SLACK_WEEKLY_CHANNEL_ID; @@ -23,7 +19,7 @@ if (githubOrganization === undefined) throw new Error('Missing Github Organizati ██║ ██║█████╗ ██████╔╝█████╗ ██╔██╗ ██║██║ ██║█████╗ ██╔██╗ ██║██║ ██║█████╗ ███████╗ ██║ ██║██╔══╝ ██╔═══╝ ██╔══╝ ██║╚██╗██║██║ ██║██╔══╝ ██║╚██╗██║██║ ██║██╔══╝ ╚════██║ ██████╔╝███████╗██║ ███████╗██║ ╚████║██████╔╝███████╗██║ ╚████║╚██████╗██║███████╗███████║ -╚═════╝ ╚══════╝╚═╝ ╚══════╝╚═╝ ╚═══╝╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═════╝╚═╝╚══════╝╚══════╝ +╚═════╝ ╚══════╝╚═╝ ╚══════╝╚═╝ ╚═══╝╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═════╝╚═╝╚══════╝╚══════╝ */ const dashboardService = implementDashboardService({