Init turborepo
This commit is contained in:
		
							parent
							
								
									0bc511a886
								
							
						
					
					
						commit
						c9b1f52382
					
				
					 5 changed files with 12332 additions and 16 deletions
				
			
		
							
								
								
									
										25
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -4,26 +4,17 @@
 | 
			
		|||
.env
 | 
			
		||||
 | 
			
		||||
# dependencies
 | 
			
		||||
/node_modules
 | 
			
		||||
/.pnp
 | 
			
		||||
node_modules
 | 
			
		||||
.pnp
 | 
			
		||||
.pnp.js
 | 
			
		||||
/.yarn
 | 
			
		||||
 | 
			
		||||
# testing
 | 
			
		||||
/coverage
 | 
			
		||||
.nyc_output
 | 
			
		||||
playwright/videos
 | 
			
		||||
playwright/screenshots
 | 
			
		||||
playwright/artifacts
 | 
			
		||||
playwright/results
 | 
			
		||||
playwright/reports/*
 | 
			
		||||
coverage
 | 
			
		||||
 | 
			
		||||
# next.js
 | 
			
		||||
/.next/
 | 
			
		||||
/out/
 | 
			
		||||
 | 
			
		||||
# production
 | 
			
		||||
/build
 | 
			
		||||
.next/
 | 
			
		||||
out/
 | 
			
		||||
build
 | 
			
		||||
 | 
			
		||||
# misc
 | 
			
		||||
.DS_Store
 | 
			
		||||
| 
						 | 
				
			
			@ -33,6 +24,7 @@ playwright/reports/*
 | 
			
		|||
npm-debug.log*
 | 
			
		||||
yarn-debug.log*
 | 
			
		||||
yarn-error.log*
 | 
			
		||||
.pnpm-debug.log*
 | 
			
		||||
 | 
			
		||||
# local env files
 | 
			
		||||
.env.local
 | 
			
		||||
| 
						 | 
				
			
			@ -40,7 +32,6 @@ yarn-error.log*
 | 
			
		|||
.env.test.local
 | 
			
		||||
.env.production.local
 | 
			
		||||
.env.*
 | 
			
		||||
 | 
			
		||||
# vercel
 | 
			
		||||
.vercel
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -60,3 +51,5 @@ yarn-error.log*
 | 
			
		|||
 | 
			
		||||
# Typescript
 | 
			
		||||
tsconfig.tsbuildinfo
 | 
			
		||||
# turbo
 | 
			
		||||
.turbo
 | 
			
		||||
| 
						 | 
				
			
			@ -6,6 +6,7 @@
 | 
			
		|||
    "analyze": "ANALYZE=true next build",
 | 
			
		||||
    "analyze:server": "BUNDLE_ANALYZE=server next build",
 | 
			
		||||
    "analyze:browser": "BUNDLE_ANALYZE=browser next build",
 | 
			
		||||
    "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
 | 
			
		||||
    "dev": "next dev",
 | 
			
		||||
    "db-up": "docker-compose up -d",
 | 
			
		||||
    "db-migrate": "yarn prisma migrate dev && yarn format-schemas",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										39
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,39 @@
 | 
			
		|||
{
 | 
			
		||||
  "name": "calcom-monorepo",
 | 
			
		||||
  "version": "0.0.0",
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "workspaces": [
 | 
			
		||||
    "apps/*",
 | 
			
		||||
    "packages/*"
 | 
			
		||||
  ],
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "build": "turbo run build",
 | 
			
		||||
    "clean": "turbo run clean && rm -rf node_modules",
 | 
			
		||||
    "dev": "turbo run dev --parallel",
 | 
			
		||||
    "lint": "turbo run lint",
 | 
			
		||||
    "format": "prettier --write \"**/*.{ts,tsx,md}\""
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@trivago/prettier-plugin-sort-imports": "2.0.4",
 | 
			
		||||
    "husky": "^7.0.1",
 | 
			
		||||
    "lint-staged": "^11.1.2",
 | 
			
		||||
    "prettier": "^2.3.2",
 | 
			
		||||
    "prettier-plugin-tailwindcss": "^0.1.6",
 | 
			
		||||
    "turbo": "latest"
 | 
			
		||||
  },
 | 
			
		||||
  "lint-staged": {
 | 
			
		||||
    "apps/**/*.{js,ts,jsx,tsx}": [
 | 
			
		||||
      "prettier --write",
 | 
			
		||||
      "eslint --fix"
 | 
			
		||||
    ],
 | 
			
		||||
    "*.json": [
 | 
			
		||||
      "prettier --write"
 | 
			
		||||
    ]
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": ">=14.x",
 | 
			
		||||
    "npm": ">=7.0.0",
 | 
			
		||||
    "yarn": ">=1.19.0 < 2.0.0"
 | 
			
		||||
  },
 | 
			
		||||
  "packageManager": "yarn@1.22.17"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								turbo.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								turbo.json
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
{
 | 
			
		||||
  "pipeline": {
 | 
			
		||||
    "build": {
 | 
			
		||||
      "dependsOn": ["^build"],
 | 
			
		||||
      "outputs": ["dist/**", ".next/**"]
 | 
			
		||||
    },
 | 
			
		||||
    "clean": {
 | 
			
		||||
      "cache": false
 | 
			
		||||
    },
 | 
			
		||||
    "lint": {
 | 
			
		||||
      "outputs": []
 | 
			
		||||
    },
 | 
			
		||||
    "dev": {
 | 
			
		||||
      "cache": false
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in a new issue