* 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>
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "@janhq/inference-cohere-extension",
|
|
"productName": "Cohere Inference Engine",
|
|
"version": "1.0.0",
|
|
"description": "This extension enables Cohere chat completion API calls",
|
|
"main": "dist/index.js",
|
|
"module": "dist/module.js",
|
|
"engine": "cohere",
|
|
"author": "Jan <service@jan.ai>",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"build": "tsc -b . && webpack --config webpack.config.js",
|
|
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install",
|
|
"sync:core": "cd ../.. && yarn build:core && cd extensions && rm yarn.lock && cd inference-cohere-extension && yarn && yarn build:publish"
|
|
},
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./main": "./dist/module.js"
|
|
},
|
|
"devDependencies": {
|
|
"cpx": "^1.5.0",
|
|
"rimraf": "^3.0.2",
|
|
"ts-loader": "^9.5.0",
|
|
"typescript": "^5.7.2",
|
|
"webpack": "^5.88.2",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"dependencies": {
|
|
"@janhq/core": "../../core/package.tgz",
|
|
"fetch-retry": "^5.0.6",
|
|
"ulidx": "^2.3.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"package.json",
|
|
"README.md"
|
|
],
|
|
"bundleDependencies": [
|
|
"fetch-retry"
|
|
],
|
|
"installConfig": {
|
|
"hoistingLimits": "workspaces"
|
|
},
|
|
"packageManager": "yarn@4.5.3"
|
|
}
|