diff --git a/packages/login-with-osu/README.md b/packages/login-with-osu/README.md new file mode 100644 index 000000000..795f2ffad --- /dev/null +++ b/packages/login-with-osu/README.md @@ -0,0 +1 @@ +# Login-With-Osu diff --git a/packages/login-with-osu/package.json b/packages/login-with-osu/package.json new file mode 100644 index 000000000..110532027 --- /dev/null +++ b/packages/login-with-osu/package.json @@ -0,0 +1,21 @@ +{ + "name": "@hydrooj/login-with-osu", + "version": "0.0.1", + "main": "package.json", + "repository": "git@github.com:hydro-dev/Hydro.git", + "author": "undefined ", + "license": "MIT", + "scripts": { + "lint": "eslint lib.ts --fix", + "build": "tsc" + }, + "devDependencies": { + "@types/superagent": "^4.1.8", + "@types/superagent-proxy": "^2.0.0" + }, + "dependencies": { + "hydrooj": "^2.12.1", + "superagent": "^5.3.1", + "superagent-proxy": "^2.0.0" + } +} \ No newline at end of file diff --git a/packages/login-with-osu/setting.yaml b/packages/login-with-osu/setting.yaml new file mode 100644 index 000000000..025648eee --- /dev/null +++ b/packages/login-with-osu/setting.yaml @@ -0,0 +1,15 @@ +id: + type: text + category: system + desc: Osu OAuth AppID + name: id +secret: + type: text + category: system + desc: Osu OAuth Secret + name: secret +proxy: + type: text + category: system + desc: Osu OAuth Proxy + name: proxy \ No newline at end of file diff --git a/packages/login-with-osu/tsconfig.json b/packages/login-with-osu/tsconfig.json new file mode 100644 index 000000000..aa7d73857 --- /dev/null +++ b/packages/login-with-osu/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "es2019", + "module": "commonjs", + "esModuleInterop": true, + "moduleResolution": "node", + "declaration": true, + "sourceMap": true, + "composite": true, + "strictBindCallApply": true, + "experimentalDecorators": true, + "outDir": ".", + "rootDir": "." + }, + "include": [ + "*.ts" + ], + "exclude": [] +} \ No newline at end of file