refactor: remove opencode-openai-codex-auth dependency and auth subpath
🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -13,10 +13,6 @@
|
|||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
"import": "./dist/index.js"
|
"import": "./dist/index.js"
|
||||||
},
|
},
|
||||||
"./auth": {
|
|
||||||
"types": "./dist/auth.d.ts",
|
|
||||||
"import": "./dist/auth.js"
|
|
||||||
},
|
|
||||||
"./google-auth": {
|
"./google-auth": {
|
||||||
"types": "./dist/google-auth.d.ts",
|
"types": "./dist/google-auth.d.ts",
|
||||||
"import": "./dist/google-auth.js"
|
"import": "./dist/google-auth.js"
|
||||||
@@ -24,7 +20,7 @@
|
|||||||
"./schema.json": "./dist/oh-my-opencode.schema.json"
|
"./schema.json": "./dist/oh-my-opencode.schema.json"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "bun build src/index.ts src/auth.ts src/google-auth.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun run build:schema",
|
"build": "bun build src/index.ts src/google-auth.ts --outdir dist --target bun --format esm --external @ast-grep/napi && tsc --emitDeclarationOnly && bun run build:schema",
|
||||||
"build:schema": "bun run script/build-schema.ts",
|
"build:schema": "bun run script/build-schema.ts",
|
||||||
"clean": "rm -rf dist",
|
"clean": "rm -rf dist",
|
||||||
"prepublishOnly": "bun run clean && bun run build",
|
"prepublishOnly": "bun run clean && bun run build",
|
||||||
@@ -54,7 +50,7 @@
|
|||||||
"@ast-grep/napi": "^0.40.0",
|
"@ast-grep/napi": "^0.40.0",
|
||||||
"@code-yeongyu/comment-checker": "^0.5.0",
|
"@code-yeongyu/comment-checker": "^0.5.0",
|
||||||
"@opencode-ai/plugin": "^1.0.150",
|
"@opencode-ai/plugin": "^1.0.150",
|
||||||
"opencode-openai-codex-auth": "^4.1.0",
|
|
||||||
"picomatch": "^4.0.2",
|
"picomatch": "^4.0.2",
|
||||||
"xdg-basedir": "^5.1.0",
|
"xdg-basedir": "^5.1.0",
|
||||||
"zod": "^4.1.8"
|
"zod": "^4.1.8"
|
||||||
|
|||||||
11
src/auth.ts
11
src/auth.ts
@@ -1,11 +0,0 @@
|
|||||||
/**
|
|
||||||
* OpenAI Codex Auth Plugin re-export
|
|
||||||
*
|
|
||||||
* This module re-exports the OpenAI Codex OAuth authentication plugin,
|
|
||||||
* enabling users to authenticate with their ChatGPT Plus/Pro subscription.
|
|
||||||
*
|
|
||||||
* For Google Antigravity auth, use `oh-my-opencode/google-auth` instead.
|
|
||||||
*
|
|
||||||
* @see https://github.com/numman-ali/opencode-openai-codex-auth
|
|
||||||
*/
|
|
||||||
export { OpenAIAuthPlugin as default } from "opencode-openai-codex-auth"
|
|
||||||
Reference in New Issue
Block a user