chore: upgrade pnpm to 11 (#5911)
This commit is contained in:
parent
328396a97f
commit
ee65e90a39
6 changed files with 7 additions and 9 deletions
2
.github/workflows/build-canary-image.yml
vendored
2
.github/workflows/build-canary-image.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4.2.0
|
- uses: pnpm/action-setup@v4.2.0
|
||||||
with:
|
with:
|
||||||
version: 10
|
version: 11.0.0
|
||||||
- uses: actions/setup-node@v6
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: "24"
|
node-version: "24"
|
||||||
|
|
|
||||||
2
.github/workflows/frontend-tests.yml
vendored
2
.github/workflows/frontend-tests.yml
vendored
|
|
@ -14,7 +14,7 @@ concurrency:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: "24"
|
NODE_VERSION: "24"
|
||||||
PNPM_VERSION: "10"
|
PNPM_VERSION: "11.0.0"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
|
||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -16,7 +16,7 @@ permissions:
|
||||||
env:
|
env:
|
||||||
GO_VERSION: "1.26.2"
|
GO_VERSION: "1.26.2"
|
||||||
NODE_VERSION: "24"
|
NODE_VERSION: "24"
|
||||||
PNPM_VERSION: "10"
|
PNPM_VERSION: "11.0.0"
|
||||||
ARTIFACT_RETENTION_DAYS: 60
|
ARTIFACT_RETENTION_DAYS: 60
|
||||||
ARTIFACT_PREFIX: memos
|
ARTIFACT_PREFIX: memos
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@ web/src/
|
||||||
|
|
||||||
- **backend-tests.yml:** Go 1.26.2, `go mod tidy -go=1.26.2`, golangci-lint v2.11.3, tests parallelized by group (store, server, internal, other)
|
- **backend-tests.yml:** Go 1.26.2, `go mod tidy -go=1.26.2`, golangci-lint v2.11.3, tests parallelized by group (store, server, internal, other)
|
||||||
- **build-canary-image.yml:** Builds frontend with `pnpm release`, then publishes canary multi-arch container images for linux/amd64 and linux/arm64
|
- **build-canary-image.yml:** Builds frontend with `pnpm release`, then publishes canary multi-arch container images for linux/amd64 and linux/arm64
|
||||||
- **frontend-tests.yml:** Node 24, pnpm 10, lint + build
|
- **frontend-tests.yml:** Node 24, pnpm 11, lint + build
|
||||||
- **proto-linter.yml:** buf lint + format check
|
- **proto-linter.yml:** buf lint + format check
|
||||||
- **release.yml:** On version tags, builds frontend once, packages binaries for Linux/macOS/Windows, and publishes release container images/tags
|
- **release.yml:** On version tags, builds frontend once, packages binaries for Linux/macOS/Windows, and publishes release container images/tags
|
||||||
- **Docker:** Multi-stage (`scripts/Dockerfile`), Alpine 3.21, non-root user, port 5230, multi-arch (amd64/arm64/arm/v7)
|
- **Docker:** Multi-stage (`scripts/Dockerfile`), Alpine 3.21, non-root user, port 5230, multi-arch (amd64/arm64/arm/v7)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "memos",
|
"name": "memos",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"packageManager": "pnpm@11.0.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=24"
|
"node": ">=24"
|
||||||
},
|
},
|
||||||
|
|
@ -101,10 +102,5 @@
|
||||||
"typescript": "^6.0.3",
|
"typescript": "^6.0.3",
|
||||||
"vite": "^7.3.2",
|
"vite": "^7.3.2",
|
||||||
"vitest": "^4.1.5"
|
"vitest": "^4.1.5"
|
||||||
},
|
|
||||||
"pnpm": {
|
|
||||||
"onlyBuiltDependencies": [
|
|
||||||
"esbuild"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
web/pnpm-workspace.yaml
Normal file
2
web/pnpm-workspace.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
allowBuilds:
|
||||||
|
esbuild: true
|
||||||
Loading…
Reference in a new issue