mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-10-29 16:17:39 +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
140 lines
5.0 KiB
JSON
140 lines
5.0 KiB
JSON
{
|
|
"name": "@webstudio-is/builder",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "Webstudio Builder UI as a service",
|
|
"type": "module",
|
|
"scripts": {
|
|
"prebuild": "which remix",
|
|
"build": "remix vite:build",
|
|
"css-to-ws": "NODE_OPTIONS=--conditions=webstudio css-to-ws",
|
|
"build:webflow-presets": "pnpm css-to-ws ./app/shared/copy-paste/plugin-webflow/style-presets.css ./app/shared/copy-paste/plugin-webflow/__generated__/style-presets.ts",
|
|
"start": "remix-serve build/server/index.js",
|
|
"dev": "remix vite:dev",
|
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"ci:migrate": "migrations migrate"
|
|
},
|
|
"dependencies": {
|
|
"@atlaskit/pragmatic-drag-and-drop": "^1.1.11",
|
|
"@codemirror/autocomplete": "^6.16.2",
|
|
"@codemirror/commands": "^6.5.0",
|
|
"@codemirror/lang-html": "^6.4.9",
|
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
"@codemirror/language": "^6.10.1",
|
|
"@codemirror/state": "^6.4.1",
|
|
"@codemirror/view": "^6.26.3",
|
|
"@floating-ui/dom": "^1.6.5",
|
|
"@fontsource-variable/inter": "^5.0.13",
|
|
"@fontsource-variable/manrope": "^5.0.15",
|
|
"@fontsource/roboto-mono": "^5.0.13",
|
|
"@lexical/headless": "^0.16.0",
|
|
"@lexical/link": "^0.16.0",
|
|
"@lexical/react": "^0.16.0",
|
|
"@lexical/selection": "^0.16.0",
|
|
"@lexical/utils": "^0.16.0",
|
|
"@lezer/common": "^1.2.1",
|
|
"@lezer/highlight": "^1.2.0",
|
|
"@nanostores/react": "^0.7.1",
|
|
"@radix-ui/react-select": "^2.0.0",
|
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
"@react-aria/interactions": "^3.19.0",
|
|
"@react-aria/utils": "^3.21.0",
|
|
"@remix-run/cloudflare": "^2.10.3",
|
|
"@remix-run/node": "^2.10.3",
|
|
"@remix-run/react": "^2.10.3",
|
|
"@remix-run/serve": "^2.10.3",
|
|
"@remix-run/server-runtime": "^2.10.3",
|
|
"@trpc/client": "^10.38.1",
|
|
"@trpc/server": "^10.38.1",
|
|
"@vercel/remix": "2.10.2",
|
|
"@webstudio-is/ai": "workspace:*",
|
|
"@webstudio-is/asset-uploader": "workspace:*",
|
|
"@webstudio-is/authorization-token": "workspace:*",
|
|
"@webstudio-is/css-data": "workspace:*",
|
|
"@webstudio-is/css-engine": "workspace:*",
|
|
"@webstudio-is/dashboard": "workspace:*",
|
|
"@webstudio-is/design-system": "workspace:*",
|
|
"@webstudio-is/domain": "workspace:*",
|
|
"@webstudio-is/error-utils": "workspace:*",
|
|
"@webstudio-is/feature-flags": "workspace:*",
|
|
"@webstudio-is/fonts": "workspace:*",
|
|
"@webstudio-is/http-client": "workspace:*",
|
|
"@webstudio-is/icons": "workspace:*",
|
|
"@webstudio-is/image": "workspace:*",
|
|
"@webstudio-is/postrest": "workspace:*",
|
|
"@webstudio-is/prisma-client": "workspace:*",
|
|
"@webstudio-is/project": "workspace:*",
|
|
"@webstudio-is/project-build": "workspace:*",
|
|
"@webstudio-is/react-sdk": "workspace:*",
|
|
"@webstudio-is/sdk": "workspace:*",
|
|
"@webstudio-is/sdk-components-react": "workspace:*",
|
|
"@webstudio-is/sdk-components-react-radix": "workspace:*",
|
|
"@webstudio-is/sdk-components-react-remix": "workspace:*",
|
|
"@webstudio-is/trpc-interface": "workspace:*",
|
|
"arrgv": "^1.0.2",
|
|
"bcp-47": "^2.1.0",
|
|
"change-case": "^5.4.4",
|
|
"colord": "^2.9.3",
|
|
"cookie": "^0.6.0",
|
|
"css-tree": "^2.3.1",
|
|
"date-fns": "^3.6.0",
|
|
"detect-font": "^0.1.5",
|
|
"downshift": "^6.1.7",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"immer": "^10.0.3",
|
|
"immerhin": "^0.9.0",
|
|
"lexical": "^0.16.0",
|
|
"match-sorter": "^6.3.1",
|
|
"mdast-util-from-markdown": "^2.0.0",
|
|
"mdast-util-gfm": "^3.0.0",
|
|
"micromark-extension-gfm": "^3.0.0",
|
|
"nanoevents": "^8.0.0",
|
|
"nanoid": "^5.0.1",
|
|
"nanostores": "^0.9.3",
|
|
"pretty-bytes": "^6.1.1",
|
|
"prismjs": "^1.29.0",
|
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
"react-colorful": "^5.6.1",
|
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
"react-error-boundary": "^4.0.12",
|
|
"react-hotkeys-hook": "^4.4.1",
|
|
"react-script-hook": "^1.7.2",
|
|
"remix-auth": "^3.7.0",
|
|
"remix-auth-form": "^1.5.0",
|
|
"remix-auth-github": "^1.7.0",
|
|
"remix-auth-google": "^2.0.0",
|
|
"remix-island": "^0.2.0",
|
|
"shallow-equal": "^3.1.0",
|
|
"slugify": "^1.6.6",
|
|
"strip-indent": "^4.0.0",
|
|
"tiny-invariant": "^1.3.3",
|
|
"title-case": "^4.1.0",
|
|
"ultraflag": "^0.1.0",
|
|
"untruncate-json": "^0.0.1",
|
|
"urlpattern-polyfill": "^9.0.0",
|
|
"use-debounce": "^9.0.4",
|
|
"warn-once": "^0.1.1",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@remix-run/dev": "^2.10.3",
|
|
"@testing-library/react-hooks": "^8.0.1",
|
|
"@types/cookie": "^0.6.0",
|
|
"@types/prismjs": "^1.26.0",
|
|
"@types/react": "^18.2.70",
|
|
"@types/react-dom": "^18.2.25",
|
|
"@webstudio-is/jest-config": "workspace:*",
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"html-tags": "^3.3.1",
|
|
"react-router-dom": "^6.25.0",
|
|
"react-test-renderer": "18.3.0-canary-14898b6a9-20240318",
|
|
"type-fest": "^4.3.1",
|
|
"typescript": "5.5.2",
|
|
"vite": "^5.3.4"
|
|
},
|
|
"sideEffects": false,
|
|
"license": "AGPL-3.0-or-later"
|
|
}
|