mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 03:58:34 +09:00
Ref https://react.dev/blog/2022/03/29/react-v18 https://react.dev/blog/2022/03/08/react-18-upgrade-guide - bumped all deps to use react 18 - storybook still somehow enforces react 17 (but not react-dom) so forces with overrides until bump of storybook - both storybook and remix still use legacy api so concurrent features are not yet enabled. Will do in separate PRs - fixed weird react-hot-toast error which expose function as renderable type - fixed a few untyped useCallback which failed with new react types - sdk size became a little bigger
73 lines
1.9 KiB
JSON
73 lines
1.9 KiB
JSON
{
|
|
"packageManager": "pnpm@8.0.0",
|
|
"name": "webstudio",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "turbo run build",
|
|
"build-packages": "turbo run build --filter=\"!@webstudio-is/builder\"",
|
|
"dts": "turbo run dts",
|
|
"size-test": "turbo run size-test",
|
|
"checks": "turbo run checks",
|
|
"dev": "pnpm run --parallel --recursive dev",
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
"build-storybook": "build-storybook",
|
|
"storybook": "pnpm run --parallel --recursive storybook:run",
|
|
"storybook:build": "turbo run storybook:build",
|
|
"migrations": "cd apps/builder && pnpm migrations --dev",
|
|
"build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens",
|
|
"prepare": "git config core.hooksPath .git/hooks/ && simple-git-hooks"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "./node_modules/.bin/nano-staged"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/get-dependents-graph": "^1.3.4",
|
|
"@manypkg/get-packages": "^1.1.3",
|
|
"@storybook/react": "^6.5.16",
|
|
"@types/css-tree": "^2.0.0",
|
|
"@webstudio-is/eslint-config-custom": "workspace:^",
|
|
"nano-staged": "^0.8.0",
|
|
"prettier": "2.8.7",
|
|
"simple-git-hooks": "^2.8.1",
|
|
"tsx": "^3.12.6",
|
|
"turbo": "^1.8.6",
|
|
"typescript": "5.0.3"
|
|
},
|
|
"engines": {
|
|
"node": "16",
|
|
"pnpm": "8.0",
|
|
"yarn": "This project is configured to use pnpm"
|
|
},
|
|
"nano-staged": {
|
|
"*.{ts,tsx,js,json,css,md}": "prettier --write"
|
|
},
|
|
"prettier": {
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts",
|
|
"*.tsx"
|
|
],
|
|
"options": {
|
|
"parser": "babel-ts"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"babel-loader": "8.3.0",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"patchedDependencies": {
|
|
"@stitches/react@1.3.1-1": "patches/@stitches__react@1.3.1-1.patch"
|
|
}
|
|
}
|
|
}
|