mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 20:13:35 +09:00
With new remix setup we may finally not need hoisted linker which makes pnpm very buggy. Here added all missing dependencies to package.json and removed node linker from .npmrc.
76 lines
2.6 KiB
JSON
76 lines
2.6 KiB
JSON
{
|
|
"packageManager": "pnpm@8.15.5",
|
|
"name": "webstudio-root",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "pnpm -r --filter='!./fixtures/*' build",
|
|
"dts": "pnpm -r dts",
|
|
"checks": "pnpm -r checks",
|
|
"dev": "pnpm --filter='!./fixtures/*' --parallel --recursive dev",
|
|
"lint": "eslint . --ext .ts,.tsx --max-warnings 0",
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
"storybook": "pnpm --parallel --recursive storybook:dev",
|
|
"storybook:build": "storybook build",
|
|
"migrations": "cd apps/builder && pnpm migrations --dev",
|
|
"build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens",
|
|
"prepare": "which git && git config core.hooksPath .git/hooks/ && simple-git-hooks || echo git not installed",
|
|
"local:version-snapshot": "pnpm -r exec pnpm version prepatch --preid $(cat /dev/urandom | LC_ALL=C tr -dc 'a-z' | fold -w 8 | head -n 1)",
|
|
"local:publish-snapshot": "pnpm -r publish --access public --no-git-checks --registry http://localhost:4873",
|
|
"local:dangerously-undo-version-snapshot": "git restore --source=$(git branch --show-current) '**/*/package.json'",
|
|
"local:release": "pnpm build && pnpm dts && pnpm local:version-snapshot && pnpm local:publish-snapshot && pnpm local:dangerously-undo-version-snapshot && echo \"now execute\npnpm up -r -L '@webstudio-is/*' --registry http://localhost:4873\""
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "./node_modules/.bin/nano-staged"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/react": "^7.4.0",
|
|
"@types/css-tree": "^2.3.1",
|
|
"@webstudio-is/eslint-config-custom": "workspace:*",
|
|
"esbuild": "^0.20.2",
|
|
"jest": "^29.7.0",
|
|
"nano-staged": "^0.8.0",
|
|
"prettier": "3.0.3",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"simple-git-hooks": "^2.9.0",
|
|
"storybook": "^7.4.0",
|
|
"tsx": "^4.7.2",
|
|
"typescript": "5.2.2",
|
|
"vite": "^5.2.8"
|
|
},
|
|
"engines": {
|
|
"node": "18",
|
|
"pnpm": "8.15",
|
|
"yarn": "This project is configured to use pnpm"
|
|
},
|
|
"nano-staged": {
|
|
"*.{ts,tsx,js,json,css,md}": "prettier --write"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5",
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts",
|
|
"*.tsx"
|
|
],
|
|
"options": {
|
|
"parser": "babel-ts"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@babel/types": "7.24.0",
|
|
"esbuild": "^0.20.2"
|
|
},
|
|
"patchedDependencies": {
|
|
"@stitches/react@1.3.1-1": "patches/@stitches__react@1.3.1-1.patch",
|
|
"css-tree@2.3.1": "patches/css-tree@2.3.1.patch",
|
|
"@types/css-tree@2.3.1": "patches/@types__css-tree@2.3.1.patch"
|
|
}
|
|
}
|
|
}
|