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: bump pnpm to 11.0.1 and align list test assertions

Stevena0b64176891d
diff --git a/.github/workflows/build-canary-image.yml b/.github/workflows/build-canary-image.yml
index ce32aa28c..6b21dfeb5 100644
--- a/.github/workflows/build-canary-image.yml
+++ b/.github/workflows/build-canary-image.yml
@@ -19,7 +19,7 @@ jobs:
- uses: pnpm/[email protected]
with:
- version: 11.0.0
+ version: 11.0.1
- uses: actions/setup-node@v6
with:
node-version: "24"
diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml
index 10f62b71c..d616c6224 100644
--- a/.github/workflows/frontend-tests.yml
+++ b/.github/workflows/frontend-tests.yml
@@ -14,7 +14,7 @@ concurrency:
env:
NODE_VERSION: "24"
- PNPM_VERSION: "11.0.0"
+ PNPM_VERSION: "11.0.1"
jobs:
lint:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index cecba48e5..2d0c396a1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,7 +16,7 @@ permissions:
env:
GO_VERSION: "1.26.2"
NODE_VERSION: "24"
- PNPM_VERSION: "11.0.0"
+ PNPM_VERSION: "11.0.1"
ARTIFACT_RETENTION_DAYS: 60
ARTIFACT_PREFIX: memos
diff --git a/web/package.json b/web/package.json
index 9921d750f..f36dd85cc 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,7 +1,7 @@
{
"name": "memos",
"private": true,
- "packageManager": "[email protected]",
+ "packageManager": "[email protected]",
"engines": {
"node": ">=24"
},
diff --git a/web/tests/memo-content-list.test.tsx b/web/tests/memo-content-list.test.tsx
index 9b5abfd01..ab842b520 100644
--- a/web/tests/memo-content-list.test.tsx
+++ b/web/tests/memo-content-list.test.tsx
@@ -34,7 +34,7 @@ describe("memo content lists", () => {
expect(html).toContain('<li class="mt-0.5 leading-6">milk</li>');
expect(html).not.toContain('<li class="mt-0.5 leading-6">\n<p>milk</p>');
expect(html).toContain(TASK_LIST_ITEM_CLASS);
- expect(html).toContain("grid grid-cols-[auto_1fr] items-center gap-x-2");
+ expect(html).toContain("grid grid-cols-[auto_1fr] items-start gap-x-2");
expect(html).not.toMatch(/<li class="[^"]*task-list-item[^"]*"><p\b/);
});
@@ -49,7 +49,7 @@ describe("memo content lists", () => {
it("keeps nested task lists on their own row", () => {
const html = renderListContent("- [ ] asdas\n - [ ] zzzz");
- expect(html).toContain("grid grid-cols-[auto_1fr] items-center gap-x-2");
+ expect(html).toContain("grid grid-cols-[auto_1fr] items-start gap-x-2");
expect(html).toContain("[&amp;&gt;ul]:col-start-2");
expect(html).not.toContain("[&amp;_ul.contains-task-list]:ml-6");
expect(html).toContain("zzzz");