chore: add dotenv

This commit is contained in:
MadCcc 2024-07-05 17:35:31 +08:00
parent aa74d946ba
commit 6a9af3379e
2 changed files with 4 additions and 1 deletions

View File

@ -223,6 +223,7 @@
"cross-fetch": "^4.0.0",
"crypto": "^1.0.1",
"dekko": "^0.2.1",
"dotenv": "^16.4.5",
"dumi": "~2.4.0",
"dumi-plugin-color-chunk": "^1.1.1",
"esbuild-loader": "^4.1.0",

View File

@ -6,9 +6,11 @@ import AdmZip from 'adm-zip';
import axios from 'axios';
import chalk from 'chalk';
import Spinnies from 'spinnies';
import dotnev from 'dotenv';
import checkRepo from './check-repo';
dotnev.config({ override: true });
const { Notification: Notifier } = require('node-notifier');
const simpleGit = require('simple-git');