Files
webstudio/package.json
T
Bogdan Chadkin df08c45e95 Upgrade to turbo 1.7 (#834)
We use very old version of turborepo which often fails. Here latest one
with persistent tasks for watch mode support.

We also need to enable remote caching to get turbo benefits on CI.

While the size of turbo repo grew. Since 1.3 a lot of artifacts for
unpopular systems were removed so we still get smaller node_modules.

```
du -ckd1 node_modules
-797528
+788132
```
2023-01-29 18:04:48 +03:00

57 lines
1.8 KiB
JSON

{
"packageManager": "pnpm@7.18.2",
"name": "turbo",
"version": "0.0.0",
"private": true,
"scripts": {
"": "For some reason remix build does not finish when run with turbo or pnpm recursively",
"build-packages": "turbo run build --filter='!./apps/*'",
"build": "pnpm build-packages && pnpm --filter=@webstudio-is/designer build",
"checks": "turbo run checks",
"dev": "turbo run dev --parallel",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"build-storybook": "build-storybook",
"storybook": "turbo run storybook:run",
"storybook:build": "npm run build && turbo run storybook:build",
"storybook:ds:build": "turbo run storybook:build --filter=@webstudio-is/design-system",
"migrations": "cd apps/designer && 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.14",
"@types/css-tree": "^2.0.0",
"@webstudio-is/eslint-config-custom": "workspace:^",
"chromatic": "^6.11.4",
"nano-staged": "^0.8.0",
"prettier": "2.7.1",
"simple-git-hooks": "^2.8.1",
"tsx": "^3.9.0",
"turbo": "^1.7.0",
"typescript": "4.7.4"
},
"engines": {
"node": "16",
"pnpm": "7.18",
"yarn": "This project is configured to use pnpm"
},
"nano-staged": {
"*.{ts,tsx,js,json,css,md}": "prettier --write"
},
"prettier": {},
"resolutions": {
"esbuild": "0.15.13",
"react-dom": "17.0.2"
},
"pnpm": {
"patchedDependencies": {
"@storybook/builder-webpack5@6.5.14": "patches/@storybook__builder-webpack5@6.5.14.patch"
}
}
}