From c7efa6f935d9414da219a8fd46d4ddfb65e84082 Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Wed, 29 Mar 2023 11:26:19 +0800 Subject: [PATCH] refactor: remove @dqbd/tiktoken dependency chore(tsconfig.json): change target to ESNext The @dqbd/tiktoken dependency was removed from the package.json file. This dependency was not being used in the project and was therefore removed to reduce the size of the project. The target in the tsconfig.json file was changed from ES2020 to ESNext to allow for the use of the latest ECMAScript features. --- package.json | 1 - tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index dcc0ce4..d66c8d8 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,6 @@ }, "dependencies": { "@clack/prompts": "^0.6.1", - "@dqbd/tiktoken": "^1.0.2", "axios": "^1.3.4", "chalk": "^5.2.0", "cleye": "^1.3.2", diff --git a/tsconfig.json b/tsconfig.json index ca6f857..6dedf1a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2020", + "target": "ESNext", "lib": ["ES5", "ES6"], "module": "ESNext",