mirror of
https://github.com/zenlm/zen-code-docs.git
synced 2026-10-30 14:58:40 +00:00
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next and jest cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. website and translator both report 0 diagnostics before and after. Three settings 7 removed had to move: - website dropped baseUrl (TS5102); its paths targets were already ./-relative. - translator went from module commonjs + moduleResolution node10 (TS5108) to nodenext, which also lets the CommonJS entry require chalk and inquirer, both ESM-only, without TS1479. - website/global.d.ts declares '*.css' for the side-effect stylesheet imports in app/layout.tsx and src/page/index.tsx (TS2882). All three are neutral on 6 — that compiler reports the same removals and the same count. translator had no committed lockfile; one is added here so the pin installs reproducibly. Co-authored-by: Hanzo Dev <[email protected]>
79 lines
2.0 KiB
JSON
79 lines
2.0 KiB
JSON
{
|
|
"name": "@qwen-code/translator",
|
|
"version": "0.0.2",
|
|
"description": "A universal documentation translator for any GitHub project. Instantly translate docs with AI and automatically build a Nextra-based documentation site.",
|
|
"main": "./dist/cli.js",
|
|
"bin": {
|
|
"qwen-translator": "./bin/qwen-translator"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"bin"
|
|
],
|
|
"git": {
|
|
"type": "git",
|
|
"url": "https://github.com/QwenLM/qwen-code-docs.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run clear && tsc",
|
|
"clear": "rm -rf dist",
|
|
"dev": "npm run clear && tsc --watch",
|
|
"test": "jest",
|
|
"typecheck": "node_modules/tsgo/bin/tsc --noEmit --incremental false"
|
|
},
|
|
"keywords": [
|
|
"qwen",
|
|
"code",
|
|
"documentation",
|
|
"translation",
|
|
"ai",
|
|
"nextra",
|
|
"github",
|
|
"localization",
|
|
"docs"
|
|
],
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"chalk": "^5.3.0",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"commander": "^11.1.0",
|
|
"dotenv": "^16.3.0",
|
|
"fs-extra": "^11.1.0",
|
|
"glob": "^10.3.0",
|
|
"inquirer": "^9.2.0",
|
|
"markdown-it": "^13.0.0",
|
|
"next": "^14.0.0",
|
|
"nextra": "^4.3.0",
|
|
"nextra-theme-docs": "^4.3.0",
|
|
"node-cron": "^3.0.0",
|
|
"openai": "^4.20.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"server-only": "^0.0.1",
|
|
"yaml": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cheerio": "^0.22.0",
|
|
"@types/fs-extra": "^11.0.0",
|
|
"@types/inquirer": "^9.0.0",
|
|
"@types/markdown-it": "^13.0.0",
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^18.2.0",
|
|
"eslint": "^8.54.0",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.1.0",
|
|
"tsgo": "npm:[email protected]",
|
|
"tsx": "^4.6.0",
|
|
"typescript": "6.0.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=8.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"packageManager": "[email protected]+sha512.139cab068fdf0b751268179ac5f909b5be72afb4a75c513d1905d151befc8977b593d3cf8671ed83d4d6637c5c94b98ffbce108125de4a5a27a31233601a99de"
|
|
}
|