diff --git a/package.json b/package.json index c7d90ef..60b8261 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@root/http", + "name": "@root/undios", "private": true, "type": "module", "version": "1.0.0", diff --git a/packages/http/package.json b/packages/core/package.json similarity index 100% rename from packages/http/package.json rename to packages/core/package.json diff --git a/packages/http/readme.md b/packages/core/readme.md similarity index 100% rename from packages/http/readme.md rename to packages/core/readme.md diff --git a/packages/http/src/adapter/browser.ts b/packages/core/src/adapter/browser.ts similarity index 100% rename from packages/http/src/adapter/browser.ts rename to packages/core/src/adapter/browser.ts diff --git a/packages/http/src/adapter/index.d.ts b/packages/core/src/adapter/index.d.ts similarity index 100% rename from packages/http/src/adapter/index.d.ts rename to packages/core/src/adapter/index.d.ts diff --git a/packages/http/src/adapter/node.ts b/packages/core/src/adapter/node.ts similarity index 100% rename from packages/http/src/adapter/node.ts rename to packages/core/src/adapter/node.ts diff --git a/packages/http/src/index.ts b/packages/core/src/index.ts similarity index 100% rename from packages/http/src/index.ts rename to packages/core/src/index.ts diff --git a/packages/http/src/utils.ts b/packages/core/src/utils.ts similarity index 100% rename from packages/http/src/utils.ts rename to packages/core/src/utils.ts diff --git a/packages/http/tsconfig.json b/packages/core/tsconfig.json similarity index 100% rename from packages/http/tsconfig.json rename to packages/core/tsconfig.json diff --git a/packages/socks/package.json b/packages/proxy-agent/package.json similarity index 100% rename from packages/socks/package.json rename to packages/proxy-agent/package.json diff --git a/packages/socks/readme.md b/packages/proxy-agent/readme.md similarity index 100% rename from packages/socks/readme.md rename to packages/proxy-agent/readme.md diff --git a/packages/socks/src/index.ts b/packages/proxy-agent/src/index.ts similarity index 100% rename from packages/socks/src/index.ts rename to packages/proxy-agent/src/index.ts diff --git a/packages/socks/tsconfig.json b/packages/proxy-agent/tsconfig.json similarity index 100% rename from packages/socks/tsconfig.json rename to packages/proxy-agent/tsconfig.json diff --git a/tsconfig.json b/tsconfig.json index ad5c8e0..e259559 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,9 +3,8 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@cordisjs/plugin-http-*": ["packages/*/src"], - "@cordisjs/plugin-*": ["packages/*/src"], - "@cordisjs/*": ["packages/*/src"], + "undios": ["packages/core/src"], + "undios-*": ["packages/*/src"], }, }, "files": [],