Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-formatting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check formatting

env:
PNPM_VERSION: "9.6.0"
PNPM_VERSION: "10.28.1"
NODE_VERSION: "24.11.0"

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fix-formatting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Fix formatting

env:
PNPM_VERSION: "9.6.0"
PNPM_VERSION: "10.28.1"
NODE_VERSION: "24.11.0"

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/monkey-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Monkey CI

env:
PNPM_VERSION: "9.6.0"
PNPM_VERSION: "10.28.1"
NODE_VERSION: "24.11.0"
RECAPTCHA_SITE_KEY: "6Lc-V8McAAAAAJ7s6LGNe7MBZnRiwbsbiWts87aj"

Expand Down
2 changes: 1 addition & 1 deletion backend/docker/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
build:
dockerfile_inline: |
FROM node:24.11.0
RUN npm i -g pnpm@9.6.0
RUN npm i -g pnpm@10.28.1
RUN mkdir /pnpm-store && chown -R 1000:1000 /pnpm-store
user: "node" ##this works as long as your local user has uid=1000
restart: on-failure
Expand Down
4 changes: 2 additions & 2 deletions docker/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ COPY packages packages
COPY backend backend

#gimme pnpm + build
RUN npm i -g pnpm && \
RUN npm i -g pnpm@10.28.1 && \
pnpm i --frozen-lockfile && \
npm run build

#deploy (install all non-dev dependencies in a single node_module folder)
RUN pnpm deploy --filter backend --prod /prod/backend
RUN pnpm deploy --legacy --filter backend --prod /prod/backend

#---------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/CONTRIBUTING_ADVANCED.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If you use `nvm` (if you use Windows, use [nvm-windows](https://github.com/corey

Alternatively, you can navigate to the NodeJS [website](https://nodejs.org/en/) to download it from there.

For package management, we use `pnpm` instead of `npm` or `yarn`. You can install it by running `npm i -g pnpm@9.6.0`. This will install `pnpm` globally on your machine.
For package management, we use `pnpm` instead of `npm` or `yarn`. You can install it by running `npm i -g pnpm@10.28.1`. This will install `pnpm` globally on your machine.

### Docker (Recommended but Optional)

Expand Down
2 changes: 1 addition & 1 deletion frontend/docker/compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build:
dockerfile_inline: |
FROM node:24.11.0
RUN npm i -g pnpm@9.6.0
RUN npm i -g pnpm@10.28.1
RUN mkdir /pnpm-store && chown -R 1000:1000 /pnpm-store
user: "node" ##this works as long as your local user has uid=1000
# restart: on-failure
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"hotfix-dry": "monkeytype-release --hotfix --dry",
"format-check": "oxfmt . --check",
"format-fix": "oxfmt .",
"lint-json-assets": "cd frontend && eslint \"./static/**/*.json\"",
"lint-json-assets": "turbo lint-json --filter @monkeytype/frontend",
"check-assets": "turbo check-assets --filter @monkeytype/frontend",
"check-assets-quotes": "turbo check-assets --filter @monkeytype/frontend -- quotes",
"check-assets-languages": "turbo check-assets --filter @monkeytype/frontend -- languages",
Expand Down Expand Up @@ -83,5 +83,5 @@
"engines": {
"node": "24.11.0 || 22.21.0"
},
"packageManager": "pnpm@9.6.0"
"packageManager": "pnpm@10.28.1"
}
19 changes: 16 additions & 3 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
packages:
- "frontend"
- "backend"
- "packages/*"
- frontend
- backend
- packages/*

onlyBuiltDependencies:
- "@firebase/util"
- "@fortawesome/fontawesome-free"
- "@sentry/cli"
- bcrypt
- core-js
- cpu-features
- esbuild
- msgpackr-extract
- protobufjs
- re2
- ssh2
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"@monkeytype/frontend#check-assets": {
"dependsOn": ["^parallel", "@monkeytype/schemas#build"]
},
"@monkeytype/frontend#lint-json": {
"dependsOn": ["^parallel"]
},
"@monkeytype/frontend#build": {
"dependsOn": ["^build"],
"env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY", "SENTRY"],
Expand Down