Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: lock pnpm version (#1628)

Stephen Zhouc081030d618d
diff --git a/Dockerfile b/Dockerfile
index 6158c7227..1649d4224 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,7 @@ WORKDIR /frontend-build
COPY ./web/package.json ./web/pnpm-lock.yaml ./
-RUN npm install -g pnpm && pnpm i --frozen-lockfile
+RUN corepack enable && pnpm i --frozen-lockfile
COPY ./web/ .
diff --git a/web/package.json b/web/package.json
index 06a9c46a7..b17f0df98 100644
--- a/web/package.json
+++ b/web/package.json
@@ -6,6 +6,7 @@
"lint": "eslint --ext .js,.ts,.tsx, src",
"lint-fix": "eslint --ext .js,.ts,.tsx, src --fix"
},
+ "packageManager": "[email protected]",
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",