61609de97e
* feat(preview-generator): add new preview generator webapp * wip(preview-service): reworking the preview service backend * feat(previews): logging * feat(preview-service): streamline payloads * fix(preview-service): do not log the full payload * feat(preview-service): build new preview service * feat(preview-service): add separate response queue * feat(previews): integrate preview queues with the server * feat(previews): use module alias * chore(previews): remove old preview service code * feat(previews): log stuff on job statuses * fix(previews): add missing deps and scripts * fix(previews): package deps fix * fix(server): moar typing fixes * Metrics related to jobs: total count, request failures, response errors & durations * duration should include unit. - histogram metric should be summary - error responses include duration in seconds - attempt to remove metric before adding it (prevent errors with duplicate metrics) * fix(server, frontend): some ts fixes * fixes * fix(frontend): remove unneeded ts-expect-error * chore(preview-service): eslint * TS fix * feat(previews): more smoal fixes * fix(preview-service): alias loading * feat(helm): updates for new preview service queue setup * feat(preview-service): launch new browser for each job * feat(preview-service): add timeout, fix liveliness * fix(helm): add access to new secret in service accounts * tidy metrics into a separate file * Remove broken preview service acceptance test * fix broken import * Add metrics to test * feat(preview-service): handle preview service shutdown properly * fix(previews): merge bork --------- Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com> Co-authored-by: Kristaps Fabians Geikins <fabis94@live.com>
58 lines
1.7 KiB
JSON
58 lines
1.7 KiB
JSON
{
|
|
"name": "@speckle/preview-service",
|
|
"private": true,
|
|
"version": "2.5.4",
|
|
"description": "Generate PNG previews of Speckle objects by using a headless viewer",
|
|
"main": "bin/www",
|
|
"homepage": "https://speckle.systems",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/specklesystems/speckle-server.git",
|
|
"directory": "packages/preview-service"
|
|
},
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "^18.19.0"
|
|
},
|
|
"scripts": {
|
|
"build:frontend": "yarn workspace @speckle/preview-frontend build",
|
|
"link:frontend": "yarn build:frontend && rimraf ./public && ln -s ../preview-frontend/dist ./public",
|
|
"dev": "tsx --env-file=.env --watch src/main.ts",
|
|
"publishTask": "tsx --env-file=.env scripts/publishTask.ts",
|
|
"test": "echo 'no tests configured'",
|
|
"lint": "yarn lint:tsc && yarn lint:eslint",
|
|
"lint:ci": "yarn lint:tsc",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint:eslint": "eslint .",
|
|
"build": "tsc -p ./tsconfig.build.json"
|
|
},
|
|
"dependencies": {
|
|
"@speckle/shared": "workspace:^",
|
|
"bull": "^4.16.4",
|
|
"dotenv": "^16.4.7",
|
|
"esm-module-alias": "^2.2.1",
|
|
"express": "^4.19.2",
|
|
"pino": "^8.7.0",
|
|
"pino-http": "^8.6.1",
|
|
"pino-pretty": "^9.1.1",
|
|
"puppeteer": "^23.9.0",
|
|
"znv": "^0.4.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/cli": "^0.5.1",
|
|
"@swc/core": "^1.9.3",
|
|
"@types/express": "^4.17.13",
|
|
"@types/node": "^18.19.38",
|
|
"eslint": "^9.4.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-vitest": "^0.5.4",
|
|
"prettier": "^2.5.1",
|
|
"rimraf": "^6.0.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^4.6.4",
|
|
"typescript-eslint": "^7.12.0"
|
|
}
|
|
}
|