* 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>
57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"name": "@janhq/monitoring-extension",
|
|
"productName": "System Monitoring",
|
|
"version": "1.0.10",
|
|
"description": "This extension provides system health and OS level data",
|
|
"main": "dist/index.js",
|
|
"node": "dist/node/index.cjs.js",
|
|
"author": "Jan <service@jan.ai>",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"build": "tsc --module commonjs && rollup -c rollup.config.ts && yarn download-artifacts",
|
|
"download-artifacts": "run-script-os && cpx \"bin/**\" \"dist/bin\"",
|
|
"download-artifacts:darwin": "echo 'No artifacts to download for darwin'",
|
|
"download-artifacts:win32": "download.bat",
|
|
"download-artifacts:linux": "download https://catalog.jan.ai/vulkaninfo -o ./bin && chmod +x ./bin/vulkaninfo",
|
|
"build:publish": "rimraf *.tgz --glob || true && yarn build && npm pack && cpx *.tgz ../../pre-install"
|
|
},
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./main": "./dist/node/index.cjs.js"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@types/node": "^20.11.4",
|
|
"@types/node-os-utils": "^1.3.4",
|
|
"cpx": "^1.5.0",
|
|
"download-cli": "^1.1.1",
|
|
"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",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"dependencies": {
|
|
"@janhq/core": "../../core/package.tgz",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"node-os-utils": "^1.3.7"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"package.json",
|
|
"README.md"
|
|
],
|
|
"bundleDependencies": [
|
|
"node-os-utils",
|
|
"@janhq/core"
|
|
],
|
|
"installConfig": {
|
|
"hoistingLimits": "workspaces"
|
|
},
|
|
"packageManager": "yarn@4.5.3"
|
|
}
|