Files
Kristaps Fabians Geikins a6287fc06d feat(fe2 & server): saved views foundation (list & view) + bits n bobs (#5163)
* init db migration

* WIP store view

* create service call

* WIP insertion

* insert sort of works

* moving code arounmd

* creation tests

* avoid duplicate entries

* fixes from main

* basic group retrieval works

* group filtering works

* WIP view listing

* filter by acl

* fixes + WIP single group retrieval

* wip pivot

* more pivot query fixes

* tests fixed after pivot

* views list tests

* fixing test command

* business plan only checks

* more tests for coverage

* .dts import fix

* cli fix

* anutha one

* auth policy tests for business plan access

* WIP saved views panel base

* BE listing adjustments

* WIP group rendering

* group render done

* WIP post create cache updates

* listing fine?

* my vs theirs

* auto open

* minor fixes

* click load omg

* nicely loading views

* type fix

* less spammy loading

* another type fix:

* more lint fix

* test fix

* codecov disable

* moar coverage

* fix sidebar flashin

* more test coverage

* more test cvoverage

* minor adfjustments

* adj

* saved view wipe fixes

* CSR viewer

* more improvements

* extra feature flag checks

* lint fix

* feature flags fix

* more test fixes
2025-08-05 11:52:50 +03:00

66 lines
2.0 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": "^22.17.1"
},
"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": "NODE_ENV=test vitest run --sequence.shuffle",
"test:ci": "NODE_ENV=test LOG_LEVEL=silent LOG_PRETTY=true vitest run --sequence.shuffle",
"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": {
"@godaddy/terminus": "^4.12.1",
"@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",
"prom-client": "^14.0.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",
"@types/pngjs": "^6.0.5",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-vitest": "^0.5.4",
"pixelmatch": "^7.1.0",
"pngjs": "^7.0.0",
"prettier": "^2.5.1",
"rimraf": "^6.0.1",
"supertest": "^7.1.3",
"ts-node": "^10.9.2",
"tsx": "^4.19.2",
"typescript": "^4.6.4",
"typescript-eslint": "^7.12.0",
"vitest": "^1.6.0"
}
}