* chore: upgrade to turbo v2 and reduce ci quality gate runtime * chore: upgrade to yarn v4 and deprecate turborepo * chore: reconfigure modules and fix tests * chore: switch to github-hosted runner * fix: dependency resolving * chore: clean redundant step * chore: headless test * chore: remove headed param * fix: resolve dependency version * fix: ubuntu no-sandbox test --------- Co-authored-by: Hien To <tominhhien97@gmail.com> Co-authored-by: Louis <louis@jan.ai>
80 lines
2.6 KiB
JSON
80 lines
2.6 KiB
JSON
{
|
|
"name": "@janhq/inference-cortex-extension",
|
|
"productName": "Cortex Inference Engine",
|
|
"version": "1.0.24",
|
|
"description": "This extension embeds cortex.cpp, a lightweight inference engine written in C++. See https://jan.ai.\nAdditional dependencies could be installed to run without Cuda Toolkit installation.",
|
|
"main": "dist/index.js",
|
|
"node": "dist/node/index.cjs.js",
|
|
"author": "Jan <service@jan.ai>",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"test": "jest",
|
|
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
|
|
"downloadcortex:linux:darwin": "./download.sh",
|
|
"downloadcortex:win32": "download.bat",
|
|
"downloadcortex": "run-script-os",
|
|
"build:publish:darwin": "rimraf *.tgz --glob || true && yarn build && yarn downloadcortex && ../../.github/scripts/auto-sign.sh && cpx \"bin/**\" \"dist/bin\" && npm pack && cpx *.tgz ../../pre-install",
|
|
"build:publish:win32:linux": "rimraf *.tgz --glob || true && yarn build && yarn downloadcortex && cpx \"bin/**\" \"dist/bin\" && npm pack && cpx *.tgz ../../pre-install",
|
|
"build:publish": "run-script-os"
|
|
},
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./main": "./dist/node/index.cjs.js"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-typescript": "^7.24.1",
|
|
"@jest/globals": "^29.7.0",
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@types/decompress": "^4.2.7",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/node": "^20.11.4",
|
|
"@types/os-utils": "^0.0.4",
|
|
"@types/tcp-port-used": "^1.0.4",
|
|
"cpx": "^1.5.0",
|
|
"download-cli": "^1.1.1",
|
|
"jest": "^29.7.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.38.5",
|
|
"rollup-plugin-define": "^1.0.1",
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
"run-script-os": "^1.1.6",
|
|
"ts-jest": "^29.1.2",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"dependencies": {
|
|
"@janhq/core": "../../core/package.tgz",
|
|
"cpu-instructions": "^0.0.13",
|
|
"decompress": "^4.2.1",
|
|
"fetch-retry": "^5.0.6",
|
|
"ky": "^1.7.2",
|
|
"p-queue": "^8.0.1",
|
|
"rxjs": "^7.8.1",
|
|
"tcp-port-used": "^1.0.2",
|
|
"terminate": "2.6.1",
|
|
"ulidx": "^2.3.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"package.json",
|
|
"README.md"
|
|
],
|
|
"bundleDependencies": [
|
|
"tcp-port-used",
|
|
"fetch-retry",
|
|
"@janhq/core",
|
|
"decompress",
|
|
"cpu-instructions"
|
|
],
|
|
"installConfig": {
|
|
"hoistingLimits": "workspaces"
|
|
},
|
|
"packageManager": "yarn@4.5.3"
|
|
}
|