A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
revert(deps): downgrade pnpm to v10 (#5673)
Manuel44a2973b1aba
diff --git a/.github/renovate.json5 b/.github/renovate.json5index ebfca8af4..269a4d2ff 100644--- a/.github/renovate.json5+++ b/.github/renovate.json5@@ -22,7 +22,7 @@automerge: true,},{- // disallow automerge for dependencies requiring postinstall scripts+ // disallow automerge for onlyBuiltDependenciesmatchPackageNames: ["@tree-sitter-grammars/tree-sitter-yaml","bcrypt",@@ -39,7 +39,7 @@],// Updates lockfile for prebuilt-debian after if package.json is updated, otherwise only root lockfile is updatedpostUpgradeTasks: {- commands: ["cd deployments/prebuilt-debian && pnpm install --lockfile-only"],+ commands: ["cd deployments/prebuilt-debian && pnpm install --ignore-workspace --lockfile-only"],fileFilters: ["deployments/prebuilt-debian/pnpm-lock.yaml"],executionMode: "update",},diff --git a/.npmrc b/.npmrcnew file mode 100644index 000000000..34451fb2f--- /dev/null+++ b/.npmrc@@ -0,0 +1,6 @@+# Expo doesn't play nice with pnpm by default.+# The symbolic links of pnpm break the rules of Expo monorepos.+# @link https://docs.expo.dev/guides/monorepos/#common-issues+node-linker=hoisted+strict-peer-dependencies=false+engine-strict=true\ No newline at end of filediff --git a/deployments/prebuilt-debian/Dockerfile b/deployments/prebuilt-debian/Dockerfileindex 7ca2aafb1..8ac61693e 100644--- a/deployments/prebuilt-debian/Dockerfile+++ b/deployments/prebuilt-debian/Dockerfile@@ -2,6 +2,5 @@ FROM node:24.15.0-trixie AS baseWORKDIR /appCOPY package.json .COPY pnpm-lock.yaml .-COPY pnpm-workspace.yaml .RUN corepack enable pnpm && pnpm install --frozen-lockfileCMD ["sleep", "60s"]\ No newline at end of filediff --git a/deployments/prebuilt-debian/package.json b/deployments/prebuilt-debian/package.jsonindex 6d326193c..15876ecc1 100644--- a/deployments/prebuilt-debian/package.json+++ b/deployments/prebuilt-debian/package.json@@ -4,9 +4,14 @@"dependencies": {"better-sqlite3": "^12.9.0"},- "packageManager": "[email protected]",+ "packageManager": "[email protected]","engines": {"node": ">=24.15.0",- "pnpm": ">=11.0.4"+ "pnpm": ">=10.33.2"+ },+ "pnpm": {+ "onlyBuiltDependencies": [+ "better-sqlite3"+ ]}}diff --git a/deployments/prebuilt-debian/pnpm-workspace.yaml b/deployments/prebuilt-debian/pnpm-workspace.yamldeleted file mode 100644index 65783dc34..000000000--- a/deployments/prebuilt-debian/pnpm-workspace.yaml+++ /dev/null@@ -1,2 +0,0 @@-allowBuilds:- better-sqlite3: truediff --git a/package.json b/package.jsonindex d81206e10..5cdd91982 100644--- a/package.json+++ b/package.json@@ -57,12 +57,55 @@"turbo": "catalog:","typescript": "catalog:","vite-tsconfig-paths": "catalog:",- "vitest": "catalog:",- "yaml": "catalog:"+ "vitest": "catalog:"},- "packageManager": "[email protected]",+ "packageManager": "[email protected]","engines": {"node": ">=24.15.0",- "pnpm": ">=11.0.4"+ "pnpm": ">=10.33.2"+ },+ "pnpm": {+ "onlyBuiltDependencies": [+ "@tree-sitter-grammars/tree-sitter-yaml",+ "bcrypt",+ "better-sqlite3",+ "cpu-features",+ "esbuild",+ "sharp",+ "ssh2",+ "tree-sitter",+ "tree-sitter-json"+ ],+ "overrides": {+ "@babel/helpers@<7.26.10": ">=7.29.2",+ "@babel/runtime@<7.26.10": ">=7.29.2",+ "axios@>=1.0.0 <1.8.2": ">=1.16.0",+ "brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.5",+ "brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.5",+ "esbuild@<=0.24.2": ">=0.28.0",+ "form-data@>=4.0.0 <4.0.4": ">=4.0.5",+ "hono@<4.6.5": ">=4.12.16",+ "linkifyjs@<4.3.2": ">=4.3.2",+ "nanoid@>=4.0.0 <5.0.9": ">=5.1.11",+ "prismjs@<1.30.0": ">=1.30.0",+ "proxmox-api>undici": "7.24.6",+ "react-is": "^19.2.5",+ "rollup@>=4.0.0 <4.22.4": ">=4.60.2",+ "sha.js@<=2.4.11": ">=2.4.12",+ "tar-fs@>=3.0.0 <3.0.9": ">=3.1.2",+ "tar-fs@>=2.0.0 <2.1.3": ">=3.1.2",+ "tmp@<=0.2.3": ">=0.2.5",+ "vite@>=5.0.0 <=5.4.18": ">=8.0.10"+ },+ "patchedDependencies": {+ "@types/node-unifi": "patches/@types__node-unifi.patch",+ "trpc-to-openapi": "patches/trpc-to-openapi.patch"+ },+ "allowUnusedPatches": true,+ "ignoredBuiltDependencies": [+ "@scarf/scarf",+ "core-js-pure",+ "protobufjs"+ ]}}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 086fcd1f1..647b98e2d 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -566,8 +566,8 @@ overrides:'@babel/helpers@<7.26.10': '>=7.29.2''@babel/runtime@<7.26.10': '>=7.29.2'axios@>=1.0.0 <1.8.2: '>=1.16.0'- brace-expansion@>=1.0.0 <=1.1.11: '>=5.0.5'brace-expansion@>=2.0.0 <=2.0.1: '>=5.0.5'+ brace-expansion@>=1.0.0 <=1.1.11: '>=5.0.5'esbuild@<=0.24.2: '>=0.28.0'form-data@>=4.0.0 <4.0.4: '>=4.0.5'hono@<4.6.5: '>=4.12.16'@@ -578,14 +578,18 @@ overrides:react-is: ^19.2.5rollup@>=4.0.0 <4.22.4: '>=4.60.2'sha.js@<=2.4.11: '>=2.4.12'- tar-fs@>=2.0.0 <2.1.3: '>=3.1.2'tar-fs@>=3.0.0 <3.0.9: '>=3.1.2'+ tar-fs@>=2.0.0 <2.1.3: '>=3.1.2'tmp@<=0.2.3: '>=0.2.5'vite@>=5.0.0 <=5.4.18: '>=8.0.10'patchedDependencies:- '@types/node-unifi': 5e6ae51e2a17a7f9729bfa30b0eb3d0842a5810ac6db47603ab4a6efa1ed84c5- trpc-to-openapi: 2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c+ '@types/node-unifi':+ hash: 5e6ae51e2a17a7f9729bfa30b0eb3d0842a5810ac6db47603ab4a6efa1ed84c5+ path: patches/@types__node-unifi.patch+ trpc-to-openapi:+ hash: 2ca3c16af0fcca0c736697ad4fe553a14f794524fa9ce0d5c3e8ee4aea76090c+ path: patches/trpc-to-openapi.patchimporters:@@ -660,9 +664,6 @@ importers:vitest:specifier: 'catalog:'version: 4.1.5(@types/[email protected])(@vitest/[email protected])(@vitest/[email protected])([email protected](@noble/[email protected]))([email protected](@types/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))- yaml:- specifier: 'catalog:'- version: 2.8.4apps/nextjs:dependencies:@@ -1454,7 +1455,7 @@ importers:dependencies:'@t3-oss/env-nextjs':specifier: 'catalog:'- version: 0.13.11([email protected])([email protected])better-sqlite3:specifier: 'catalog:'version: 12.9.0@@ -1463,7 +1464,7 @@ importers:version: 0.2.9drizzle-orm:specifier: 'catalog:'- version: 0.45.2(@types/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected]))([email protected])+ version: 0.45.2(@libsql/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])ioredis:specifier: 'catalog:'version: 5.10.1@@ -1717,10 +1718,10 @@ importers:version: 0.31.10drizzle-orm:specifier: 'catalog:'- version: 0.45.2(@types/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected]))([email protected])+ version: 0.45.2(@libsql/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])drizzle-zod:specifier: 'catalog:'- version: 0.8.3([email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected]))([email protected]))([email protected])+ version: 0.8.3([email protected](@libsql/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected]))([email protected])mysql2:specifier: 'catalog:'version: 3.22.3(@types/[email protected])@@ -3000,6 +3001,12 @@ packages:resolution: {integrity: sha512-2aDL3WUv8hMJb2L3r/PIQWsTLyq7RQr3v9xD16fiz6O8ys1xEyLhhTOv8gxtZvJiTzjTF5pHoArvRdesGL1DMQ==}hasBin: true+ '@ark/[email protected]':+ resolution: {integrity: sha512-c2UQdKgP2eqqDArfBqQIJppxJHvNNXuQPeuSPlDML4rjw+f1cu0qAlzOG4b8ujgm9ctIDWwhpyw6gjG5ledIVQ==}++ '@ark/[email protected]':+ resolution: {integrity: sha512-JPy/NGWn/lvf1WmGCPw2VGpBg5utZraE84I7wli18EDF3p3zc/e9WolT35tINeZO3l7C77SjqRJeAUoT0CvMRg==}+'@asamuzakjp/[email protected]':resolution: {integrity: sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==}engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}@@ -4276,6 +4283,14 @@ packages:'@kwsites/[email protected]':resolution: {integrity: sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==}+ '@libsql/[email protected]':+ resolution: {integrity: sha512-gB/jtz0xuwrqAHApBv9e9JSew2030Fhj2edyZ83InZ4yPj/Q2LTUlEhaspEYT0T0xsAGqPy38uGrmq/OGS+DdQ==}+ bundledDependencies:+ - '@libsql/libsql-wasm-experimental'++ '@libsql/[email protected]':+ resolution: {integrity: sha512-nhbuXf7GP3PSZgdCY2Ecj8vz187ptHlZQ0VRc751oB2C1W8jQUXKKklvt7t1LJiUTQBVJuadF628eUk+3cRi4Q==}+'@mantine/[email protected]':resolution: {integrity: sha512-oudif3EUH7Nb9DPm0abAPxpFYDWWjR3k2S5ll0/CcB+pJzlhwaBG19QwpOJaRA6VAvAXDDKOXCO4mi9XCEN78g==}peerDependencies:@@ -4370,7 +4385,6 @@ packages:'@million/[email protected]':resolution: {integrity: sha512-u6/kglVwZRu5+GMmtkNlGLqJVkgTl0TtM+hLa9rBg7pldx+5NG5bk45NvL37uZmAr2Xfa1C6qHb7GrFwfP372g==}- deprecated: This package is no longer maintainedhasBin: true'@ndaidong/[email protected]':@@ -4651,6 +4665,9 @@ packages:resolution: {integrity: sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==}engines: {node: '>= 10.0.0'}+ '@petamoriken/[email protected]':+ resolution: {integrity: sha512-8awtpHXCx/bNpFt4mt2xdkgtgVvKqty8VbjHI/WWWQuEw+KLzFot3f4+LkQY9YmOtq7A5GdOnqoIC8Pdygjk2g==}+'@pinojs/[email protected]':resolution: {integrity: sha512-k2ENnmBugE/rzQfEcdWHcCY+/FM3VLzH9cYEsbdsoqrvzAKRhUZeRNhAZvB8OitQJ1TBed3yqWtdjzS6wJKBwg==}@@ -6108,6 +6125,9 @@ packages:resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}engines: {node: '>= 0.4'}+ resolution: {integrity: sha512-IZCEEXaJ8g+Ijd59WtSYwtjnqXiwM8sWQ5EjGamcto7+HVN9eK0C4p0zDlCuAwWhpqr6fIBkxPuYDl4/Mcj/+Q==}+resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==}engines: {node: '>= 0.4'}@@ -7084,6 +7104,10 @@ packages:resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}engines: {node: '>=6'}+ resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==}+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==}engines: {node: '>=18'}@@ -7547,6 +7571,11 @@ packages:resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}+ resolution: {integrity: sha512-Oq3Fjay71s00xzDc0BF/mpcLmnA+uRqMEJK8p5K4PaZjUEsxaeo+kR9OHBVAf289/qPd+0OcLOLUN0UhqiUCog==}+ engines: {node: '>= 18.0.0'}+ hasBin: true+resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==}@@ -8096,6 +8125,10 @@ packages:resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}+ resolution: {integrity: sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-8n+j+6ypTHvriJwFOQ2qusQ6bzGjZVcR3jbe1pBpLcGI1dn4WIl0ctLBngqE5QttquQBAlKXwJeTMw+X7x7qKw==}engines: {node: ^20.19.0 || ^22.13.0 || >=24.0.0}@@ -8164,6 +8197,9 @@ packages:react:optional: true+ resolution: {integrity: sha512-hNngCeKxIUQiEUN3GPJOkz4wF/YvdUdbNL9hsBcMQTkKzboD7T/q3OYOuuPZLUE6dBxSGpwhk5mwuDud7JVAow==}+resolution: {integrity: sha512-rML+NkoD08p5Dllpjo0ffy4jRHeY6Zsapvr/W86N7E0yuzAO6qa5X9+xog6zQNlH102J7IXljNY2FtS6Lj3ucg==}@@ -10956,6 +10992,11 @@ packages:engines: {node: '>= 8'}hasBin: true+ resolution: {integrity: sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==}+ engines: {node: ^16.13.0 || >=18.0.0}+ hasBin: true+resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==}engines: {node: '>=8'}@@ -11184,6 +11225,14 @@ snapshots:'@antfu/[email protected]': {}+ '@ark/[email protected]':+ dependencies:+ '@ark/util': 0.46.0+ optional: true++ '@ark/[email protected]':+ optional: true+'@asamuzakjp/[email protected]':dependencies:'@asamuzakjp/generational-cache': 1.0.1@@ -12277,6 +12326,17 @@ snapshots:transitivePeerDependencies:- supports-color+ '@libsql/[email protected]':+ dependencies:+ '@libsql/core': 0.14.0+ js-base64: 3.7.8+ optional: true++ '@libsql/[email protected]':+ dependencies:+ js-base64: 3.7.8+ optional: true+'@mantine/[email protected](@mantine/[email protected](@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]))(@mantine/[email protected]([email protected]))([email protected]([email protected]))([email protected])([email protected](@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected]))':dependencies:'@mantine/core': 8.3.18(@mantine/[email protected]([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])@@ -12681,6 +12741,9 @@ snapshots:'@parcel/watcher-win32-ia32': 2.4.1'@parcel/watcher-win32-x64': 2.4.1+ '@petamoriken/[email protected]':+ optional: true+'@pinojs/[email protected]': {}'@pkgjs/[email protected]':@@ -13436,15 +13499,17 @@ snapshots:dependencies:'@swc/counter': 0.1.3optionalDependencies:+ arktype: 2.1.20typescript: 5.9.3zod: 4.4.2dependencies:- '@t3-oss/env-core': 0.13.11([email protected])([email protected])optionalDependencies:+ arktype: 2.1.20typescript: 5.9.3zod: 4.4.2@@ -14483,6 +14548,12 @@ snapshots:+ dependencies:+ '@ark/schema': 0.46.0+ '@ark/util': 0.46.0+ optional: true+dependencies:call-bound: 1.0.4@@ -15310,17 +15381,19 @@ snapshots:esbuild: 0.25.12tsx: 4.21.0- [email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected]))([email protected]):+ [email protected](@libsql/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected]):optionalDependencies:+ '@libsql/client-wasm': 0.14.0'@types/better-sqlite3': 7.6.13'@types/pg': 8.20.0better-sqlite3: 12.9.0+ gel: 2.0.0mysql2: 3.22.3(@types/[email protected])pg: 8.20.0- [email protected]([email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected]))([email protected]))([email protected]):+ [email protected]([email protected](@libsql/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected]))([email protected]):dependencies:- drizzle-orm: 0.45.2(@types/[email protected])(@types/[email protected])([email protected])([email protected](@types/[email protected]))([email protected])+ drizzle-orm: 0.45.2(@libsql/[email protected])(@types/[email protected])(@types/[email protected])([email protected])([email protected])([email protected](@types/[email protected]))([email protected])zod: 4.4.2@@ -15403,6 +15476,9 @@ snapshots:+ optional: true+@@ -16073,6 +16149,18 @@ snapshots:+ dependencies:+ '@petamoriken/float16': 3.9.3+ debug: 4.4.3+ env-paths: 3.0.0+ semver: 7.7.4+ shell-quote: 1.8.3+ which: 4.0.0+ transitivePeerDependencies:+ - supports-color+ optional: true+dependencies:is-property: 1.0.2@@ -16609,6 +16697,9 @@ snapshots:+ optional: true+[email protected](@noble/[email protected]):dependencies:dompurify: 3.4.2@@ -16692,6 +16783,9 @@ snapshots:'@types/react': 19.2.14react: 19.2.5+ optional: true+@@ -19919,6 +20013,11 @@ snapshots:dependencies:isexe: 2.0.0+ dependencies:+ isexe: 3.1.5+ optional: true+dependencies:siginfo: 2.0.0diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex e5d22df4d..bfff3f1d6 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -2,22 +2,6 @@ packages:- apps/*- packages/*- tooling/*-allowBuilds:- "@scarf/scarf": false- "@swc/core": false- "@tree-sitter-grammars/tree-sitter-yaml": true- bcrypt: true- better-sqlite3: true- core-js-pure: false- cpu-features: true- esbuild: true- protobufjs: false- sharp: true- ssh2: true- tree-sitter: true- tree-sitter-json: true- nice-napi: false-allowUnusedPatches: truecatalog:"@auth/core": ^0.41.2"@auth/drizzle-adapter": ^1.11.2@@ -29,7 +13,7 @@ catalog:"@dnd-kit/sortable": ^10.0.0"@dnd-kit/utilities": ^3.2.2"@drizzle-team/brocli": ^0.12.0- "@eslint/js": 10.0.1+ '@eslint/js': 10.0.1"@extractus/feed-extractor": 7.1.7"@gitbeaker/rest": ^43.8.0"@homarr/gridstack": ^1.12.0@@ -205,32 +189,7 @@ catalog:zod-form-data: ^3.0.1zod-validation-error: ^5.0.0catalogMode: strict-engineStrict: trueminimumReleaseAge: 4320minimumReleaseAgeExclude:- next- "@next/*"-nodeLinker: hoisted-overrides:- "@babel/helpers@<7.26.10": ">=7.29.2"- "@babel/runtime@<7.26.10": ">=7.29.2"- "axios@>=1.0.0 <1.8.2": ">=1.16.0"- "brace-expansion@>=1.0.0 <=1.1.11": ">=5.0.5"- "brace-expansion@>=2.0.0 <=2.0.1": ">=5.0.5"- "esbuild@<=0.24.2": ">=0.28.0"- "form-data@>=4.0.0 <4.0.4": ">=4.0.5"- "hono@<4.6.5": ">=4.12.16"- "linkifyjs@<4.3.2": ">=4.3.2"- "nanoid@>=4.0.0 <5.0.9": ">=5.1.11"- "prismjs@<1.30.0": ">=1.30.0"- "proxmox-api>undici": "7.24.6"- "react-is": "^19.2.5"- "rollup@>=4.0.0 <4.22.4": ">=4.60.2"- "sha.js@<=2.4.11": ">=2.4.12"- "tar-fs@>=2.0.0 <2.1.3": ">=3.1.2"- "tar-fs@>=3.0.0 <3.0.9": ">=3.1.2"- "tmp@<=0.2.3": ">=0.2.5"- "vite@>=5.0.0 <=5.4.18": ">=8.0.10"-patchedDependencies:- "@types/node-unifi": "patches/@types__node-unifi.patch"- trpc-to-openapi: "patches/trpc-to-openapi.patch"diff --git a/test/renovate.spec.ts b/test/renovate.spec.tsindex 2b8236ce6..0f40a8061 100644--- a/test/renovate.spec.ts+++ b/test/renovate.spec.ts@@ -2,24 +2,21 @@ import fs from "fs/promises";import { join } from "path";import json5 from "json5";import { describe, test } from "vitest";-import { parse as parseYaml } from "yaml";describe("Renovate configuration tests", () => {- test("automerge should be disabled for built dependencies", async () => {- const pnpmConfig = await fs.readFile(join(__dirname, "../pnpm-workspace.yaml"), "utf-8").then(parseYaml);+ test("automerge should be disabled for onlyBuiltDependencies", async () => {+ const packageJson = await import("../package.json");const renovateConfig = await fs.readFile(join(__dirname, "../.github/renovate.json5"), "utf-8").then(json5.parse);- const dependenciesWithBuilt = Object.entries(pnpmConfig.allowBuilds)- .filter(([_, value]) => value === true)- .map(([key, _]) => key);+ const onlyBuiltDependencies = packageJson.pnpm.onlyBuiltDependencies;const automergeDisabledDeps = renovateConfig.packageRules.filter((rule: any) => rule.automerge === false).flatMap((rule: any) => rule.matchPackageNames || []);- const missingDeps = dependenciesWithBuilt.filter((dep: string) => !automergeDisabledDeps.includes(dep));+ const missingDeps = onlyBuiltDependencies.filter((dep: string) => !automergeDisabledDeps.includes(dep));if (missingDeps.length > 0) {throw new Error(- `The following built dependencies are missing automerge disable rules in renovate.json5: ${missingDeps.join(", ")}`,+ `The following onlyBuiltDependencies are missing automerge disable rules in renovate.json5: ${missingDeps.join(", ")}`,);}});