diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..0b6e8ed --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +GITEA_AUTH= \ No newline at end of file diff --git a/index.ts b/index.ts index e9969f2..2562a9b 100644 --- a/index.ts +++ b/index.ts @@ -1,3 +1,4 @@ +import "dotenv/config"; import { webcrypto as crypto } from 'crypto'; import process from 'process'; import fs from 'fs'; diff --git a/package.json b/package.json index b1b6aa8..98caaaa 100644 --- a/package.json +++ b/package.json @@ -17,11 +17,13 @@ "tsconfig.json", "yarn.lock" ], + "dependencies": { + "dotenv": "^16.4.5" + }, "devDependencies": { "@types/node": "^20.12.2", "@typescript-eslint/eslint-plugin": "^7.4.0", "@typescript-eslint/parser": "^7.4.0", - "dotenv": "^16.4.5", "eslint": "^8.57.0", "ts-node": "^10.9.2", "typescript": "^5.4.3"