added translate textadmin excel

This commit is contained in:
Arwid Thornström
2025-11-13 22:37:01 +01:00
parent bfad35a217
commit 0d79e2f2b5
6 changed files with 1179 additions and 7 deletions
+6 -2
View File
@@ -13,7 +13,8 @@
"compile": "tsc -p .",
"copy-templates": "if [ -e ./src/templates ]; then cp -a ./src/templates ./build/; fi",
"copy-promptcontextlibrary-txts": "mkdir -p build/commands/ai/promptcontextlibrary && cp src/commands/ai/promptcontextlibrary/*.txt build/commands/ai/promptcontextlibrary/ || true",
"build": "yarn format && yarn clean-build && yarn compile && yarn copy-templates && yarn copy-promptcontextlibrary-txts",
"copy-translate-excel-txts": "mkdir -p build/commands/ai/translate_excel && cp src/commands/ai/translate_excel/*.txt build/commands/ai/translate_excel/ || true",
"build": "yarn format && yarn clean-build && yarn compile && yarn copy-templates && yarn copy-promptcontextlibrary-txts && yarn copy-translate-excel-txts",
"prepublishOnly": "yarn build",
"test": "jest",
"watch": "jest --watch",
@@ -31,6 +32,7 @@
],
"license": "MIT",
"dependencies": {
"@google/generative-ai": "^0.21.0",
"@lenne.tech/gluegun-menu": "^0.0.7",
"@mailchimp/mailchimp_transactional": "^1.0.59",
"@octokit/core": "4.2.0",
@@ -40,9 +42,11 @@
"enquirer": "^2.4.1",
"gluegun": "latest",
"lodash.snakecase": "^4.1.1",
"openai": "^4.73.0",
"pg": "^8.11.3",
"strip-ansi": "^7.1.0",
"terminal-table-output": "^1.4.0"
"terminal-table-output": "^1.4.0",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@types/jest": "^30.0.0",