mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-10-30 00:27:43 +09:00
## Description [Big Project Example](https://postgrest.development.webstudio.is/builder/be939bf2-9095-4e17-b175-69de2bbf9597) Reduces time of big projects loading: ✓ { scenario:new_o }...........: avg=2.58s min=1.99s med=2.54s max=3.53s p(90)=2.95s p(95)=3.15s p(99)=3.44s count=31 ✓ { scenario:old_o }...........: avg=5.5s min=4.55s med=5.12s max=15.58s p(90)=5.44s p(95)=6.02s p(99)=12.87s count=31 2 times faster. (but highly depends on test times, project size etc sometimes it's 6x difference) Reduces patch time too. ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
37 lines
963 B
JSON
37 lines
963 B
JSON
{
|
|
"name": "@webstudio-is/trpc-interface",
|
|
"version": "0.0.0",
|
|
"description": "Webstudio TRPC Interface",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
},
|
|
"dependencies": {
|
|
"@trpc/client": "^10.38.1",
|
|
"@trpc/server": "^10.38.1",
|
|
"@webstudio-is/prisma-client": "workspace:*",
|
|
"memoize": "^10.0.0",
|
|
"ts-custom-error": "^3.3.1",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@types/node": "^20.12.7",
|
|
"@webstudio-is/jest-config": "workspace:*",
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"@webstudio-is/postrest": "workspace:*",
|
|
"typescript": "5.5.2"
|
|
},
|
|
"exports": {
|
|
"./index.server": {
|
|
"webstudio": "./src/index.server.ts"
|
|
}
|
|
},
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": true,
|
|
"sideEffects": false
|
|
}
|