Skip to content

Commit

Permalink
chore: remove references to pnpm, install turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Sep 24, 2024
1 parent 784f15e commit d8bfce6
Show file tree
Hide file tree
Showing 8 changed files with 160 additions and 49 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,5 @@ yarn-error.log*
# Deployment platforms

.vercel

.turbo
18 changes: 7 additions & 11 deletions apps/claim-vesting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@
"private": true,
"scripts": {
"build": "next build",
"build:prepare:gql": "cd ../../ && pnpm run -C=packages/gql graphql:update-types",
"build:prepare": "pnpm npm-run-all -l --parallel 'build:prepare:gql'",
"dev": "pnpm npm-run-all -l --parallel dev:**",
"dev:next": "next dev",
"start": "next start",
"lint": "eslint '**/*.{ts,tsx}'",
"lint:fix": "eslint '**/*.{ts,tsx}' --fix"
"dev": "next dev",
"check-types": "tsc --noEmit",
"start": "next start"
},
"dependencies": {
"@bleu/cow-hooks-ui": "workspace:*",
"@bleu/tsconfig": "workspace:*",
"@bleu/ui": "git+ssh://[email protected]:bleu/bleu-ui.git#main",
"babel-plugin-react-compiler": "0.0.0-experimental-6067d4e-20240919",
"babel-plugin-react-compiler": "0.0.0-experimental-6067d4e-20240923",
"next": "15.0.0-rc.0",
"react": "19.0.0-rc-e4953922-20240919",
"react-dom": "19.0.0-rc-e4953922-20240919"
Expand All @@ -27,13 +23,13 @@
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "^29.5.13",
"@types/node": "^22.5.5",
"@types/react": "^18.3.7",
"@types/node": "^22.6.1",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.12",
"tailwindcss": "^3.4.13",
"typescript": "5.6.2"
}
}
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,22 @@
"private": true,
"description": "",
"scripts": {
"dev": "pnpm --stream -r dev",
"test:jest": "pnpm --stream --parallel -r test:jest",
"format:check": "prettier --check .",
"lint-all": "pnpm --stream --parallel --if-present -r --include-workspace-root lint",
"lint-fix-all": "pnpm --stream --parallel --if-present -r --include-workspace-root lint:fix",
"format": "prettier --write .",
"graphql:update-types": "pnpm --stream --parallel --if-present -r graphql:update-types",
"ci": "concurrently -c \"auto\" -p \"name\" -n \"format,lint\" \"pnpm format:check\" \"pnpm lint-all\" "
"dev": "turbo dev",
"build": "turbo build"
},
"repository": {
"type": "git",
"url": "https://github.com/bleu/cow-hooks-dapps.git"
},
"config": {
"ghooks": {
"pre-commit": "pnpx lint-staged --relative"
"pre-commit": "yarn lint-staged --relative"
}
},
"workspaces": ["apps/*", "packages/*"],
"workspaces": [
"apps/*",
"packages/*"
],
"engines": {
"node": ">=22"
},
Expand All @@ -36,11 +33,12 @@
"@biomejs/biome": "1.9.2",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@types/node": "^22.5.5",
"@types/node": "^22.6.1",
"concurrently": "^9.0.1",
"ghooks": "^2.0.4",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"turbo": "2.1.2",
"typescript": "^5.6.2"
},
"packageManager": "[email protected]"
Expand Down
10 changes: 6 additions & 4 deletions packages/cow-hooks-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "@bleu/cow-hooks-ui",
"scripts": {
"check-types": "tsc --noEmit"
},
"dependencies": {
"@bleu/cow-hooks-ui": "workspace:*",
"@bleu/tsconfig": "workspace:*",
"@bleu/ui": "git+ssh://[email protected]:bleu/bleu-ui.git#main",
"react": "^18.3.1",
Expand All @@ -13,12 +15,12 @@
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "^29.5.13",
"@types/node": "^22.5.5",
"@types/react": "^18.3.7",
"@types/node": "^22.6.1",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.12",
"tailwindcss": "^3.4.13",
"typescript": "5.6.2"
}
}
6 changes: 5 additions & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@bleu/tsconfig",
"version": "0.0.0",
"private": true,
"files": ["base.json", "nextjs.json", "react-library.json"],
"files": [
"base.json",
"nextjs.json",
"react-library.json"
],
"devDependencies": {
"@biomejs/biome": "1.9.2",
"typescript": "^5.6.2"
Expand Down
8 changes: 5 additions & 3 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
"main": "index.ts",
"license": "MIT",
"scripts": {
"test:jest": "pnpm exec jest",
"test:watch": "pnpm exec jest --watchAll --verbose"
"test:jest": "jest",
"test:watch": "jest --watchAll --verbose",
"check-types": "tsc --noEmit"
},
"devDependencies": {
"@biomejs/biome": "1.9.2",
"@bleu/tsconfig": "workspace:^",
"@jest/globals": "^29.7.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.5"
"ts-jest": "^29.2.5",
"typescript": "5.6.2"
}
}
16 changes: 16 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**"]
},
"check-types": {
"dependsOn": ["^check-types"]
},
"dev": {
"persistent": true,
"cache": false
}
}
}
Loading

0 comments on commit d8bfce6

Please sign in to comment.