Merged in feat/turborepo (pull request #1451)

Turborepo

Approved-by: Linus Flood
This commit is contained in:
Anton Gunnarsson
2025-03-12 08:18:38 +00:00
parent 796112ca28
commit 01740e3300
8 changed files with 127 additions and 8 deletions

View File

@@ -2,8 +2,12 @@
"name": "scandic",
"packageManager": "yarn@4.6.0",
"scripts": {
"build": "yarn workspace @scandic-hotels/design-system build && yarn workspace @scandic-hotels/scandic-web ci:build",
"lint": "yarn workspace @scandic-hotels/scandic-web lint",
"build": "turbo run build --env-mode=loose",
"lint": "turbo run lint",
"dev": "turbo run dev --output-logs new-only",
"dev:web": "turbo run dev --filter=@scandic-hotels/scandic-web --output-logs new-only",
"dev:ds": "turbo run dev --filter=@scandic-hotels/design-system --output-logs new-only",
"test": "turbo run test",
"postinstall": "husky"
},
"workspaces": [
@@ -15,6 +19,7 @@
"@types/react-dom": "^18.2.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.2",
"ts-node": "^10.9.2"
"ts-node": "^10.9.2",
"turbo": "^2.4.4"
}
}