aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-07-21 19:13:04 +0000
committerMohamedBassem <me@mbassem.com>2024-07-21 19:13:04 +0000
commit4c23ea931dc01e0d99869eb518c85f891d006baa (patch)
tree6803786b464a76e1fe015f1bee6ea58af88d873a
parent9edd154440c18bcc4542560e229eb293f9e0c2d4 (diff)
downloadkarakeep-4c23ea931dc01e0d99869eb518c85f891d006baa.tar.zst
chore(deps): Upgrade turbo and disable its daemon
-rw-r--r--package.json18
-rw-r--r--pnpm-lock.yaml76
-rw-r--r--tooling/eslint/package.json2
-rw-r--r--turbo.json36
4 files changed, 74 insertions, 58 deletions
diff --git a/package.json b/package.json
index 216a2b20..cd1b1906 100644
--- a/package.json
+++ b/package.json
@@ -4,22 +4,22 @@
"version": "0.1.0",
"private": true,
"scripts": {
- "build": "turbo build",
- "dev": "turbo dev --parallel",
+ "build": "turbo --no-daemon build",
+ "dev": "turbo --no-daemon dev --parallel",
"clean": "git clean -xdf node_modules",
- "clean:workspaces": "turbo clean",
+ "clean:workspaces": "turbo --no-daemon clean",
"db:migrate": "pnpm --filter @hoarder/db run migrate",
"db:studio": "pnpm --filter @hoarder/db studio",
"workers": "pnpm --filter @hoarder/workers run start",
"web": "pnpm --filter @hoarder/web run dev",
"prepare": "husky",
- "format": "turbo format --continue -- --cache --cache-location node_modules/.cache/.prettiercache",
- "format:fix": "turbo format --continue -- --write --cache --cache-location node_modules/.cache/.prettiercache",
- "lint": "turbo lint --continue -- --cache --cache-location node_modules/.cache/.eslintcache",
- "lint:fix": "turbo lint --continue -- --fix --cache --cache-location node_modules/.cache/.eslintcache",
+ "format": "turbo --no-daemon format --continue -- --cache --cache-location node_modules/.cache/.prettiercache",
+ "format:fix": "turbo --no-daemon format --continue -- --write --cache --cache-location node_modules/.cache/.prettiercache",
+ "lint": "turbo --no-daemon lint --continue -- --cache --cache-location node_modules/.cache/.eslintcache",
+ "lint:fix": "turbo --no-daemon lint --continue -- --fix --cache --cache-location node_modules/.cache/.eslintcache",
"lint:ws": "pnpm dlx sherif@latest",
"postinstall": "pnpm lint:ws",
- "typecheck": "turbo typecheck"
+ "typecheck": "turbo --no-daemon typecheck"
},
"devDependencies": {
"@hoarder/prettier-config": "workspace:^0.1.0",
@@ -30,7 +30,7 @@
"husky": "^9.0.11",
"install": "^0.13.0",
"prettier": "3.2.5",
- "turbo": "^1.13.2"
+ "turbo": "^2.0.9"
},
"prettier": "@hoarder/prettier-config",
"packageManager": "pnpm@9.0.0-alpha.8+sha256.a433a59569b00389a951352956faf25d1fdf43b568213fbde591c36274d4bc30",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 33c8bf06..bf0461ae 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -38,8 +38,8 @@ importers:
specifier: 3.2.5
version: 3.2.5
turbo:
- specifier: ^1.13.2
- version: 1.13.2
+ specifier: ^2.0.9
+ version: 2.0.9
apps/browser-extension:
dependencies:
@@ -991,8 +991,8 @@ importers:
specifier: 7.6.0
version: 7.6.0(eslint@8.57.0)(typescript@5.3.3)
eslint-config-turbo:
- specifier: ^1.12.4
- version: 1.12.5(eslint@8.57.0)
+ specifier: ^2.0.9
+ version: 2.0.9(eslint@8.57.0)
eslint-plugin-import:
specifier: ^2.29.1
version: 2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.3.3))(eslint@8.57.0)
@@ -6311,8 +6311,8 @@ packages:
peerDependencies:
eslint: '>=7.0.0'
- eslint-config-turbo@1.12.5:
- resolution: {integrity: sha512-wXytbX+vTzQ6rwgM6sIr447tjYJBlRj5V/eBFNGNXw5Xs1R715ppPYhbmxaFbkrWNQSGJsWRrYGAlyq0sT/OsQ==}
+ eslint-config-turbo@2.0.9:
+ resolution: {integrity: sha512-FoIMElI8md/dR5DxjB5Om52KJfi7Qf7RInXeE+PGU6lN388rumppwyqEJsZ7vnR5GhGa9cLPt0vNZwEK9iXtKg==}
peerDependencies:
eslint: '>6.6.0'
@@ -6408,8 +6408,8 @@ packages:
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
- eslint-plugin-turbo@1.12.5:
- resolution: {integrity: sha512-cXy7mCzAdngBTJIWH4DASXHy0vQpujWDBqRTu0YYqCN/QEGsi3HWM+STZEbPYELdjtm5EsN2HshOSSqWnjdRHg==}
+ eslint-plugin-turbo@2.0.9:
+ resolution: {integrity: sha512-q4s4mg6JcXzz5zK4LC3c6FcWehGAWjGj7kIM76ZvG0KiR9Ks0znzjnAKW0NoiDP4s/gt3r4YPOpI357qWt167Q==}
peerDependencies:
eslint: '>6.6.0'
@@ -11550,38 +11550,38 @@ packages:
tunnel-agent@0.6.0:
resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}
- turbo-darwin-64@1.13.2:
- resolution: {integrity: sha512-CCSuD8CfmtncpohCuIgq7eAzUas0IwSbHfI8/Q3vKObTdXyN8vAo01gwqXjDGpzG9bTEVedD0GmLbD23dR0MLA==}
+ turbo-darwin-64@2.0.9:
+ resolution: {integrity: sha512-owlGsOaExuVGBUfrnJwjkL1BWlvefjSKczEAcpLx4BI7Oh6ttakOi+JyomkPkFlYElRpjbvlR2gP8WIn6M/+xQ==}
cpu: [x64]
os: [darwin]
- turbo-darwin-arm64@1.13.2:
- resolution: {integrity: sha512-0HySm06/D2N91rJJ89FbiI/AodmY8B3WDSFTVEpu2+8spUw7hOJ8okWOT0e5iGlyayUP9gr31eOeL3VFZkpfCw==}
+ turbo-darwin-arm64@2.0.9:
+ resolution: {integrity: sha512-XAXkKkePth5ZPPE/9G9tTnPQx0C8UTkGWmNGYkpmGgRr8NedW+HrPsi9N0HcjzzIH9A4TpNYvtiV+WcwdaEjKA==}
cpu: [arm64]
os: [darwin]
- turbo-linux-64@1.13.2:
- resolution: {integrity: sha512-7HnibgbqZrjn4lcfIouzlPu8ZHSBtURG4c7Bedu7WJUDeZo+RE1crlrQm8wuwO54S0siYqUqo7GNHxu4IXbioQ==}
+ turbo-linux-64@2.0.9:
+ resolution: {integrity: sha512-l9wSgEjrCFM1aG16zItBsZ206ZlhSSx1owB8Cgskfv0XyIXRGHRkluihiaxkp+UeU5WoEfz4EN5toc+ICA0q0w==}
cpu: [x64]
os: [linux]
- turbo-linux-arm64@1.13.2:
- resolution: {integrity: sha512-sUq4dbpk6SNKg/Hkwn256Vj2AEYSQdG96repio894h5/LEfauIK2QYiC/xxAeW3WBMc6BngmvNyURIg7ltrePg==}
+ turbo-linux-arm64@2.0.9:
+ resolution: {integrity: sha512-gRnjxXRne18B27SwxXMqL3fJu7jw/8kBrOBTBNRSmZZiG1Uu3nbnP7b4lgrA/bCku6C0Wligwqurvtpq6+nFHA==}
cpu: [arm64]
os: [linux]
- turbo-windows-64@1.13.2:
- resolution: {integrity: sha512-DqzhcrciWq3dpzllJR2VVIyOhSlXYCo4mNEWl98DJ3FZ08PEzcI3ceudlH6F0t/nIcfSItK1bDP39cs7YoZHEA==}
+ turbo-windows-64@2.0.9:
+ resolution: {integrity: sha512-ZVo0apxUvaRq4Vm1qhsfqKKhtRgReYlBVf9MQvVU1O9AoyydEQvLDO1ryqpXDZWpcHoFxHAQc9msjAMtE5K2lA==}
cpu: [x64]
os: [win32]
- turbo-windows-arm64@1.13.2:
- resolution: {integrity: sha512-WnPMrwfCXxK69CdDfS1/j2DlzcKxSmycgDAqV0XCYpK/812KB0KlvsVAt5PjEbZGXkY88pCJ1BLZHAjF5FcbqA==}
+ turbo-windows-arm64@2.0.9:
+ resolution: {integrity: sha512-sGRz7c5Pey6y7y9OKi8ypbWNuIRPF9y8xcMqL56OZifSUSo+X2EOsOleR9MKxQXVaqHPGOUKWsE6y8hxBi9pag==}
cpu: [arm64]
os: [win32]
- turbo@1.13.2:
- resolution: {integrity: sha512-rX/d9f4MgRT3yK6cERPAkfavIxbpBZowDQpgvkYwGMGDQ0Nvw1nc0NVjruE76GrzXQqoxR1UpnmEP54vBARFHQ==}
+ turbo@2.0.9:
+ resolution: {integrity: sha512-QaLaUL1CqblSKKPgLrFW3lZWkWG4pGBQNW+q1ScJB5v1D/nFWtsrD/yZljW/bdawg90ihi4/ftQJ3h6fz1FamA==}
hasBin: true
type-check@0.4.0:
@@ -20927,10 +20927,10 @@ snapshots:
eslint: 8.57.0
dev: true
- eslint-config-turbo@1.12.5(eslint@8.57.0):
+ eslint-config-turbo@2.0.9(eslint@8.57.0):
dependencies:
eslint: 8.57.0
- eslint-plugin-turbo: 1.12.5(eslint@8.57.0)
+ eslint-plugin-turbo: 2.0.9(eslint@8.57.0)
dev: false
eslint-config-universe@12.0.0(eslint@8.57.0)(prettier@3.2.5)(typescript@5.3.3):
@@ -21112,7 +21112,7 @@ snapshots:
semver: 6.3.1
string.prototype.matchall: 4.0.10
- eslint-plugin-turbo@1.12.5(eslint@8.57.0):
+ eslint-plugin-turbo@2.0.9(eslint@8.57.0):
dependencies:
dotenv: 16.0.3
eslint: 8.57.0
@@ -28283,38 +28283,38 @@ snapshots:
safe-buffer: 5.2.1
dev: false
- turbo-darwin-64@1.13.2:
+ turbo-darwin-64@2.0.9:
dev: true
optional: true
- turbo-darwin-arm64@1.13.2:
+ turbo-darwin-arm64@2.0.9:
dev: true
optional: true
- turbo-linux-64@1.13.2:
+ turbo-linux-64@2.0.9:
dev: true
optional: true
- turbo-linux-arm64@1.13.2:
+ turbo-linux-arm64@2.0.9:
dev: true
optional: true
- turbo-windows-64@1.13.2:
+ turbo-windows-64@2.0.9:
dev: true
optional: true
- turbo-windows-arm64@1.13.2:
+ turbo-windows-arm64@2.0.9:
dev: true
optional: true
- turbo@1.13.2:
+ turbo@2.0.9:
optionalDependencies:
- turbo-darwin-64: 1.13.2
- turbo-darwin-arm64: 1.13.2
- turbo-linux-64: 1.13.2
- turbo-linux-arm64: 1.13.2
- turbo-windows-64: 1.13.2
- turbo-windows-arm64: 1.13.2
+ turbo-darwin-64: 2.0.9
+ turbo-darwin-arm64: 2.0.9
+ turbo-linux-64: 2.0.9
+ turbo-linux-arm64: 2.0.9
+ turbo-windows-64: 2.0.9
+ turbo-windows-arm64: 2.0.9
dev: true
type-check@0.4.0:
diff --git a/tooling/eslint/package.json b/tooling/eslint/package.json
index 84289168..493274a6 100644
--- a/tooling/eslint/package.json
+++ b/tooling/eslint/package.json
@@ -18,7 +18,7 @@
"@next/eslint-plugin-next": "^14.1.1",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
- "eslint-config-turbo": "^1.12.4",
+ "eslint-config-turbo": "^2.0.9",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
diff --git a/turbo.json b/turbo.json
index 8ecad061..3422151b 100644
--- a/turbo.json
+++ b/turbo.json
@@ -1,12 +1,18 @@
{
"$schema": "https://turborepo.org/schema.json",
- "globalDependencies": ["**/.env"],
- "pipeline": {
+ "globalDependencies": [
+ "**/.env"
+ ],
+ "tasks": {
"topo": {
- "dependsOn": ["^topo"]
+ "dependsOn": [
+ "^topo"
+ ]
},
"build": {
- "dependsOn": ["^build"],
+ "dependsOn": [
+ "^build"
+ ],
"outputs": [
".next/**",
"!.next/cache/**",
@@ -21,16 +27,26 @@
"cache": false
},
"format": {
- "outputs": ["node_modules/.cache/.prettiercache"],
- "outputMode": "new-only"
+ "outputs": [
+ "node_modules/.cache/.prettiercache"
+ ],
+ "outputLogs": "new-only"
},
"lint": {
- "dependsOn": ["^topo"],
- "outputs": ["node_modules/.cache/.eslintcache"]
+ "dependsOn": [
+ "^topo"
+ ],
+ "outputs": [
+ "node_modules/.cache/.eslintcache"
+ ]
},
"typecheck": {
- "dependsOn": ["^topo"],
- "outputs": ["node_modules/.cache/tsbuildinfo.json"]
+ "dependsOn": [
+ "^topo"
+ ],
+ "outputs": [
+ "node_modules/.cache/tsbuildinfo.json"
+ ]
},
"clean": {
"cache": false