Skip to content

Commit 8ddcd41

Browse files
committed
chore: Update turbo
1 parent 80895fd commit 8ddcd41

File tree

5 files changed

+92
-60
lines changed

5 files changed

+92
-60
lines changed

apps/collab-server/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
FROM node:18-alpine AS base
1+
2+
ARG NODE_VERSION=24-alpine
3+
4+
FROM node:${NODE_VERSION} AS base
25
EXPOSE 1234
36

47
FROM base AS builder
58
RUN apk add --no-cache libc6-compat
69
RUN apk update
710
# Set working directory
811
WORKDIR /app
9-
RUN npm install --global turbo
12+
RUN npm install --global turbo
1013
COPY --chown=node:node . .
1114
# https://turbo.build/repo/docs/reference/command-line-reference/prune
1215
RUN turbo prune @jotter/collab-server --docker

package-lock.json

Lines changed: 67 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@jotter/eslint-config": "*",
1212
"@jotter/typescript-config": "*",
1313
"prettier": "^3.1.0",
14-
"turbo": "^1.10.16"
14+
"turbo": "^2.7.2"
1515
},
1616
"engines": {
1717
"node": ">=18"

packages/eslint-config/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"react-internal.js"
99
],
1010
"devDependencies": {
11+
"@typescript-eslint/eslint-plugin": "^6.11.0",
12+
"@typescript-eslint/parser": "^6.11.0",
1113
"@vercel/style-guide": "^5.1.0",
12-
"eslint-config-turbo": "^1.10.12",
13-
"eslint-config-prettier": "^9.0.0",
14+
"eslint-config-prettier": "^10.1.8",
15+
"eslint-config-turbo": "^2.7.2",
1416
"eslint-plugin-only-warn": "^1.1.0",
15-
"@typescript-eslint/parser": "^6.11.0",
16-
"@typescript-eslint/eslint-plugin": "^6.11.0",
1717
"typescript": "^5.2.2"
1818
}
1919
}

turbo.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
3-
"globalDependencies": ["**/.env.*local"],
4-
"pipeline": {
3+
"globalDependencies": [
4+
"**/.env.*local"
5+
],
6+
"tasks": {
57
"build": {
6-
"dependsOn": ["^build"],
7-
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
8+
"dependsOn": [
9+
"^build"
10+
],
11+
"outputs": [
12+
"dist/**",
13+
".next/**",
14+
"!.next/cache/**"
15+
]
816
},
917
"lint": {
10-
"dependsOn": ["^lint"]
18+
"dependsOn": [
19+
"^lint"
20+
]
1121
},
1222
"dev": {
1323
"cache": false,

0 commit comments

Comments
 (0)