chore: initialize monorepo with Turborepo and pnpm

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Consultoria AS
2026-01-22 01:47:28 +00:00
parent ed16c8cd39
commit dc0056b243
5 changed files with 142 additions and 0 deletions

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
20

22
package.json Normal file
View File

@@ -0,0 +1,22 @@
{
"name": "horux360",
"private": true,
"scripts": {
"dev": "turbo run dev",
"build": "turbo run build",
"lint": "turbo run lint",
"test": "turbo run test",
"db:generate": "turbo run db:generate",
"db:push": "turbo run db:push",
"db:migrate": "turbo run db:migrate",
"db:seed": "turbo run db:seed"
},
"devDependencies": {
"turbo": "^2.3.0",
"typescript": "^5.3.0"
},
"packageManager": "pnpm@9.0.0",
"engines": {
"node": ">=20.0.0"
}
}

88
pnpm-lock.yaml generated Normal file
View File

@@ -0,0 +1,88 @@
lockfileVersion: '9.0'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
importers:
.:
devDependencies:
turbo:
specifier: ^2.3.0
version: 2.7.5
typescript:
specifier: ^5.3.0
version: 5.9.3
packages:
turbo-darwin-64@2.7.5:
resolution: {integrity: sha512-nN3wfLLj4OES/7awYyyM7fkU8U8sAFxsXau2bYJwAWi6T09jd87DgHD8N31zXaJ7LcpyppHWPRI2Ov9MuZEwnQ==}
cpu: [x64]
os: [darwin]
turbo-darwin-arm64@2.7.5:
resolution: {integrity: sha512-wCoDHMiTf3FgLAbZHDDx/unNNonSGhsF5AbbYODbxnpYyoKDpEYacUEPjZD895vDhNvYCH0Nnk24YsP4n/cD6g==}
cpu: [arm64]
os: [darwin]
turbo-linux-64@2.7.5:
resolution: {integrity: sha512-KKPvhOmJMmzWj/yjeO4LywkQ85vOJyhru7AZk/+c4B6OUh/odQ++SiIJBSbTG2lm1CuV5gV5vXZnf/2AMlu3Zg==}
cpu: [x64]
os: [linux]
turbo-linux-arm64@2.7.5:
resolution: {integrity: sha512-8PIva4L6BQhiPikUTds9lSFSHXVDAsEvV6QUlgwPsXrtXVQMVi6Sv9p+IxtlWQFvGkdYJUgX9GnK2rC030Xcmw==}
cpu: [arm64]
os: [linux]
turbo-windows-64@2.7.5:
resolution: {integrity: sha512-rupskv/mkIUgQXzX/wUiK00mKMorQcK8yzhGFha/D5lm05FEnLx8dsip6rWzMcVpvh+4GUMA56PgtnOgpel2AA==}
cpu: [x64]
os: [win32]
turbo-windows-arm64@2.7.5:
resolution: {integrity: sha512-G377Gxn6P42RnCzfMyDvsqQV7j69kVHKlhz9J4RhtJOB5+DyY4yYh/w0oTIxZQ4JRMmhjwLu3w9zncMoQ6nNDw==}
cpu: [arm64]
os: [win32]
turbo@2.7.5:
resolution: {integrity: sha512-7Imdmg37joOloTnj+DPrab9hIaQcDdJ5RwSzcauo/wMOSAgO+A/I/8b3hsGGs6PWQz70m/jkPgdqWsfNKtwwDQ==}
hasBin: true
typescript@5.9.3:
resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
engines: {node: '>=14.17'}
hasBin: true
snapshots:
turbo-darwin-64@2.7.5:
optional: true
turbo-darwin-arm64@2.7.5:
optional: true
turbo-linux-64@2.7.5:
optional: true
turbo-linux-arm64@2.7.5:
optional: true
turbo-windows-64@2.7.5:
optional: true
turbo-windows-arm64@2.7.5:
optional: true
turbo@2.7.5:
optionalDependencies:
turbo-darwin-64: 2.7.5
turbo-darwin-arm64: 2.7.5
turbo-linux-64: 2.7.5
turbo-linux-arm64: 2.7.5
turbo-windows-64: 2.7.5
turbo-windows-arm64: 2.7.5
typescript@5.9.3: {}

3
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,3 @@
packages:
- "apps/*"
- "packages/*"

28
turbo.json Normal file
View File

@@ -0,0 +1,28 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"dev": {
"cache": false,
"persistent": true
},
"lint": {},
"test": {},
"db:generate": {
"cache": false
},
"db:push": {
"cache": false
},
"db:migrate": {
"cache": false
},
"db:seed": {
"cache": false
}
}
}