mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 14:03:33 +09:00
Webpack builder is very slow and hard to use becaause of it. It gave us a lot of issues recently. So here I migrated to vite builder. The experience is great. It caught a bug in shallow-equal package, though fixed in latest release. There was one issue with reload. When modify packages and rebuild storybook watcher detects a lot of changes and goes into infinite loop. Solved by importing packages sources directly with export conditions vite allows to configure. Now any changes in packages can be reflected in builder storybook without manual reload, restart and additional watching. We would get much better experience with remix if they allow to configure this. Also had to remove @storybook/addon-interactions which are incompatible with vite builder.
142 lines
4.8 KiB
JSON
142 lines
4.8 KiB
JSON
{
|
|
"name": "@webstudio-is/builder",
|
|
"version": "0.47.0",
|
|
"private": true,
|
|
"description": "Webstudio Builder UI as a service",
|
|
"scripts": {
|
|
"build": "remix build",
|
|
"dev": "remix dev",
|
|
"start": "remix-serve build",
|
|
"typecheck": "tsc",
|
|
"lint": "eslint . --ext .ts,.tsx --max-warnings 0",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"checks": "pnpm lint && pnpm typecheck && pnpm prettier --check && pnpm test",
|
|
"watch:sdk": "relative-deps && relative-deps watch",
|
|
"prettier": "prettier \"*.{js,md,json,ts}\" \"{docs,app}/**/*.{js,md,json,ts}\"",
|
|
"storybook:run": "start-storybook -p 6006",
|
|
"storybook:build": "build-storybook",
|
|
"ci:migrate": "migrations migrate --force"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/dom": "^1.0.6",
|
|
"@fontsource/inter": "^4.5.15",
|
|
"@fontsource/manrope": "^4.5.13",
|
|
"@fontsource/roboto-mono": "^4.5.10",
|
|
"@lexical/headless": "^0.6.0",
|
|
"@lexical/link": "^0.6.0",
|
|
"@lexical/react": "^0.6.0",
|
|
"@lexical/selection": "^0.6.0",
|
|
"@lexical/utils": "^0.6.0",
|
|
"@nanostores/react": "^0.4.1",
|
|
"@radix-ui/react-select": "^1.0.0",
|
|
"@radix-ui/react-tooltip": "^1.0.0",
|
|
"@remix-run/node": "1.12.0",
|
|
"@remix-run/react": "1.12.0",
|
|
"@remix-run/serve": "1.12.0",
|
|
"@remix-run/vercel": "1.12.0",
|
|
"@sentry/remix": "^7.38.0",
|
|
"@sentry/types": "7.38.0",
|
|
"@trpc/server": "^10.9.0",
|
|
"@vercel/node": "^2.4.1",
|
|
"@webstudio-is/asset-uploader": "workspace:^",
|
|
"@webstudio-is/authorization-token": "workspace:^",
|
|
"@webstudio-is/css-data": "workspace:^",
|
|
"@webstudio-is/css-engine": "workspace:^",
|
|
"@webstudio-is/css-vars": "workspace:^",
|
|
"@webstudio-is/dashboard": "workspace:^",
|
|
"@webstudio-is/design-system": "workspace:^",
|
|
"@webstudio-is/feature-flags": "workspace:^",
|
|
"@webstudio-is/fonts": "workspace:^",
|
|
"@webstudio-is/icons": "workspace:^",
|
|
"@webstudio-is/image": "workspace:^",
|
|
"@webstudio-is/prisma-client": "workspace:^",
|
|
"@webstudio-is/project": "workspace:^",
|
|
"@webstudio-is/project-build": "workspace:^",
|
|
"@webstudio-is/react-sdk": "workspace:^",
|
|
"@webstudio-is/trpc-interface": "workspace:^",
|
|
"camelcase": "^6.3.0",
|
|
"colord": "^2.9.3",
|
|
"css-tree": "^2.3.1",
|
|
"debug": "^4.3.4",
|
|
"detect-font": "^0.1.5",
|
|
"djb2a": "^2.0.0",
|
|
"downshift": "^6.1.7",
|
|
"fast-deep-equal": "3.1.3",
|
|
"hyphenate-style-name": "^1.0.4",
|
|
"immer": "^9.0.12",
|
|
"immerhin": "^0.4.0",
|
|
"jose": "^4.11.2",
|
|
"lexical": "^0.6.0",
|
|
"lodash": "4.17.21",
|
|
"lodash.capitalize": "^4.2.1",
|
|
"lodash.debounce": "^4.0.8",
|
|
"lodash.memoize": "^4.1.2",
|
|
"lodash.merge": "^4.6.2",
|
|
"lodash.noop": "^3.0.1",
|
|
"lodash.snakecase": "^4.1.1",
|
|
"match-sorter": "^6.3.1",
|
|
"mdast-util-from-markdown": "^1.3.0",
|
|
"micromark": "^3.1.0",
|
|
"micromark-extension-gfm": "^2.0.1",
|
|
"mitt": "^3.0.0",
|
|
"nanoid": "^3.2.0",
|
|
"nanostores": "^0.7.1",
|
|
"pretty-bytes": "^6.0.0",
|
|
"react": "^17.0.2",
|
|
"react-color": "^2.19.3",
|
|
"react-dom": "^17.0.2",
|
|
"react-error-boundary": "^3.1.4",
|
|
"react-hotkeys-hook": "^4.3.5",
|
|
"react-use": "^17.3.2",
|
|
"remix-auth": "^3.2.2",
|
|
"remix-auth-form": "^1.1.2",
|
|
"remix-auth-github": "^1.1.1",
|
|
"remix-auth-google": "^1.1.0",
|
|
"shallow-equal": "^3.1.0",
|
|
"slugify": "^1.6.5",
|
|
"use-debounce": "^9.0.2",
|
|
"uuid": "^9.0.0",
|
|
"warn-once": "^0.1.1",
|
|
"zod": "^3.19.1",
|
|
"zod-form-data": "^1.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.0",
|
|
"@babel/plugin-transform-typescript": "^7.21.0",
|
|
"@babel/preset-typescript": "^7.21.0",
|
|
"@jest/globals": "^29.3.1",
|
|
"@remix-run/dev": "1.12.0",
|
|
"@storybook/react": "^6.5.16",
|
|
"@types/css-tree": "^2.0.0",
|
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
"@types/hyphenate-style-name": "^1.0.0",
|
|
"@types/lodash": "4.14.182",
|
|
"@types/lodash.capitalize": "^4.2.6",
|
|
"@types/lodash.debounce": "^4.0.6",
|
|
"@types/lodash.memoize": "^4.1.6",
|
|
"@types/lodash.merge": "^4.6.6",
|
|
"@types/lodash.noop": "^3.0.6",
|
|
"@types/lodash.snakecase": "^4.1.6",
|
|
"@types/react": "^17.0.24",
|
|
"@types/react-color": "^3.0.6",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@types/sharp": "^0.30.4",
|
|
"@types/uuid": "^8.3.4",
|
|
"@types/w3c-css-typed-object-model-level-1": "^20180410.0.4",
|
|
"@webstudio-is/eslint-config-custom": "workspace:^",
|
|
"@webstudio-is/jest-config": "workspace:^",
|
|
"@webstudio-is/storybook-config": "workspace:^",
|
|
"@webstudio-is/tsconfig": "workspace:^",
|
|
"css-tree": "^2.3.0",
|
|
"dotenv": "^16.0.0",
|
|
"esbuild-node-externals": "^1.4.1",
|
|
"jest": "^29.3.1",
|
|
"prettier": "^2.8.4",
|
|
"react-test-renderer": "^17.0.2",
|
|
"relative-deps": "^1.0.7",
|
|
"typescript": "4.9.5"
|
|
},
|
|
"sideEffects": false,
|
|
"license": "MIT"
|
|
}
|