The minimalistic document archiving platform.
chore(pnpm): remove hoisted node linker configuration (#1433)
Corentin Thomasset6eea437333e9
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yamlindex e9b69432..b188e880 100644--- a/.github/workflows/ci.yaml+++ b/.github/workflows/ci.yaml@@ -46,7 +46,7 @@ jobs:# Now build the apps, the longer step, so we do it last as they are more unlikely to fail if the previous steps works- name: Build the apps- run: pnpm -r --parallel -F "./apps/*" build+ run: pnpm -r --parallel -F "./apps/*" -F "./packages/search-parser/demo" build# Boot the built server bundle to catch runtime-only failures the build step cannot detect- name: Smoke test the serverdiff --git a/apps/papra-server/package.json b/apps/papra-server/package.jsonindex a5712ab4..3bc29127 100644--- a/apps/papra-server/package.json+++ b/apps/papra-server/package.json@@ -82,6 +82,7 @@"nanoid": "^5.1.5","node-cron": "^3.0.3","nodemailer": "^9.0.0",+ "ofetch": "catalog:","p-limit": "catalog:","p-queue": "^8.1.0","picomatch": "^4.0.4",@@ -111,6 +112,7 @@"memfs": "4.17.2","testcontainers": "11.5.1","typescript": "catalog:",+ "vite": "8.1.0","vitest": "catalog:"}}diff --git a/apps/papra-server/src/modules/webhooks/webhooks.http-client.ts b/apps/papra-server/src/modules/webhooks/webhooks.http-client.tsindex 4a5daa4f..e91a70c1 100644--- a/apps/papra-server/src/modules/webhooks/webhooks.http-client.ts+++ b/apps/papra-server/src/modules/webhooks/webhooks.http-client.ts@@ -23,7 +23,6 @@ export function createWebhookHttpClient({const response = await ofetch.raw<unknown>(url, {...options,- // @ts-expect-error ofetch resolves undici types from the root install (pulled in by some transitive dep) which may differ from the server's direct undici dep. Runtime is compatible.dispatcher,ignoreResponseError: true,redirect: 'manual', // don't follow redirects, just return the 3xx responsediff --git a/packages/search-parser/demo/package.json b/packages/search-parser/demo/package.jsonindex 77859782..e7a46048 100644--- a/packages/search-parser/demo/package.json+++ b/packages/search-parser/demo/package.json@@ -23,6 +23,7 @@},"devDependencies": {"@iconify-json/tabler": "catalog:",+ "@unocss/reset": "catalog:","unocss": "catalog:"}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c41d83dc..1c0a4cb4 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -60,6 +60,9 @@ catalogs:unocss-preset-animations:specifier: 1.3.0version: 1.3.0+ valibot:+ specifier: ^1.3.1+ version: 1.4.2vitest:specifier: 4.1.9version: 4.1.9@@ -530,6 +533,9 @@ importers:nodemailer:specifier: ^9.0.0version: 9.0.1+ ofetch:+ specifier: 'catalog:'+ version: 1.4.1p-limit:specifier: 'catalog:'version: 7.3.0@@ -612,6 +618,9 @@ importers:typescript:specifier: 'catalog:'version: 6.0.3+ vite:+ specifier: 8.1.0+ version: 8.1.0(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])vitest:specifier: 'catalog:'version: 4.1.9(@types/[email protected])(@vitest/[email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))@@ -844,6 +853,9 @@ importers:'@iconify-json/tabler':specifier: 'catalog:'version: 1.2.35+ '@unocss/reset':+ specifier: 'catalog:'+ version: 66.6.0unocss:specifier: 'catalog:'version: 66.6.0([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))@@ -2784,7 +2796,7 @@ packages:'@expo/[email protected]':resolution: {integrity: sha512-+Lla7nYSiHZirgK+U/uYzsLv/X+HaJienbD5AKX1UQZHYfWaP+9uuQluRB4GrEVWF0GZ7vEVp/jzaOT9k/SQlg==}- engines: {node: '>=0.10.0'}+ engines: {'0': node >=0.10.0}'@expo/[email protected]':resolution: {integrity: sha512-WnUqIb8oMBhtwSfIqdCHCzcaDIpLNXItRVd5miuvWi4GO0SGo89PSsAkbVJ+LJgcaY+v5rbgMELJS9I/CqOulA==}diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 37d70b72..f93e828b 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -25,7 +25,6 @@ catalog:figue: ^3.3.0'@paralleldrive/cuid2': ^3.3.0-nodeLinker: hoistedverifyDepsBeforeRun: false # pnpm deploy in prod mode strips dev deps, so we don't want to verify them before runallowBuilds: