From 35d9cead8ab82e34b1a4950d42b389f0173afdab Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 30 Oct 2025 01:22:17 +0900 Subject: [PATCH 1/3] chore: Cleanup lockfile --- pnpm-lock.yaml | 267 ------------------------------------------------- 1 file changed, 267 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d4f6b7ad5..2f149cff9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -533,67 +533,6 @@ importers: specifier: ^7.3.0 version: 7.3.0 - packages/mermaid/src/vitepress: - dependencies: - '@mdi/font': - specifier: ^7.4.47 - version: 7.4.47 - '@vueuse/core': - specifier: ^12.7.0 - version: 12.8.2(typescript@5.9.2) - font-awesome: - specifier: ^4.7.0 - version: 4.7.0 - jiti: - specifier: ^2.4.2 - version: 2.5.1 - mermaid: - specifier: workspace:^ - version: link:../.. - vue: - specifier: ^3.4.38 - version: 3.5.21(typescript@5.9.2) - devDependencies: - '@iconify-json/carbon': - specifier: ^1.1.37 - version: 1.2.13 - '@unocss/reset': - specifier: ^66.0.0 - version: 66.5.1 - '@vite-pwa/vitepress': - specifier: ^0.5.3 - version: 0.5.4(vite-plugin-pwa@0.21.2(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0)) - '@vitejs/plugin-vue': - specifier: ^5.0.5 - version: 5.2.4(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(vue@3.5.21(typescript@5.9.2)) - fast-glob: - specifier: ^3.3.3 - version: 3.3.3 - https-localhost: - specifier: ^4.7.1 - version: 4.7.1 - pathe: - specifier: ^2.0.3 - version: 2.0.3 - unocss: - specifier: ^66.0.0 - version: 66.5.1(postcss@8.5.6)(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1)) - unplugin-vue-components: - specifier: ^28.4.0 - version: 28.8.0(@babel/parser@7.28.4)(vue@3.5.21(typescript@5.9.2)) - vite: - specifier: ^6.1.1 - version: 6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1) - vite-plugin-pwa: - specifier: ^0.21.1 - version: 0.21.2(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0) - vitepress: - specifier: 1.6.3 - version: 1.6.3(@algolia/client-search@5.37.0)(@types/node@22.18.6)(axios@1.12.2)(postcss@8.5.6)(search-insights@2.17.3)(terser@5.44.0)(typescript@5.9.2) - workbox-window: - specifier: ^7.3.0 - version: 7.3.0 - packages/parser: dependencies: langium: @@ -3546,15 +3485,6 @@ packages: cpu: [x64] os: [win32] - '@vite-pwa/vitepress@0.5.4': - resolution: {integrity: sha512-g57qwG983WTyQNLnOcDVPQEIeN+QDgK/HdqghmygiUFp3a/MzVvmLXC/EVnPAXxWa8W2g9pZ9lE3EiDGs2HjsA==} - peerDependencies: - '@vite-pwa/assets-generator': ^0.2.6 - vite-plugin-pwa: '>=0.21.2 <1' - peerDependenciesMeta: - '@vite-pwa/assets-generator': - optional: true - '@vite-pwa/vitepress@1.0.0': resolution: {integrity: sha512-i5RFah4urA6tZycYlGyBslVx8cVzbZBcARJLDg5rWMfAkRmyLtpRU6usGfVOwyN9kjJ2Bkm+gBHXF1hhr7HptQ==} peerDependencies: @@ -9438,18 +9368,6 @@ packages: peerDependencies: vite: '>=4 <=7' - vite-plugin-pwa@0.21.2: - resolution: {integrity: sha512-vFhH6Waw8itNu37hWUJxL50q+CBbNcMVzsKaYHQVrfxTt3ihk3PeLO22SbiP1UNWzcEPaTQv+YVxe4G0KOjAkg==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@vite-pwa/assets-generator': ^0.2.6 - vite: ^3.1.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 - workbox-build: ^7.3.0 - workbox-window: ^7.3.0 - peerDependenciesMeta: - '@vite-pwa/assets-generator': - optional: true - vite-plugin-pwa@1.0.3: resolution: {integrity: sha512-/OpqIpUldALGxcsEnv/ekQiQ5xHkQ53wcoN5ewX4jiIDNGs3W+eNcI1WYZeyOLmzoEjg09D7aX0O89YGjen1aw==} engines: {node: '>=16.0.0'} @@ -9493,46 +9411,6 @@ packages: terser: optional: true - vite@6.4.1: - resolution: {integrity: sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==} - engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} - hasBin: true - peerDependencies: - '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 - jiti: '>=1.21.0' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - sass-embedded: '*' - stylus: '*' - sugarss: '*' - terser: ^5.16.0 - tsx: ^4.8.1 - yaml: ^2.4.2 - peerDependenciesMeta: - '@types/node': - optional: true - jiti: - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - tsx: - optional: true - yaml: - optional: true - vite@7.1.5: resolution: {integrity: sha512-4cKBO9wR75r0BeIWWWId9XK9Lj6La5X846Zw9dFfzMRw38IlTk2iCcUt6hsyiDRcPidc55ZParFYDXi0nXOeLQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -9581,18 +9459,6 @@ packages: vitepress: ^1.0.0-rc.35 vue: '3' - vitepress@1.6.3: - resolution: {integrity: sha512-fCkfdOk8yRZT8GD9BFqusW3+GggWYZ/rYncOfmgcDtP3ualNHCAg+Robxp2/6xfH1WwPHtGpPwv7mbA3qomtBw==} - hasBin: true - peerDependencies: - markdown-it-mathjax3: ^4 - postcss: ^8 - peerDependenciesMeta: - markdown-it-mathjax3: - optional: true - postcss: - optional: true - vitepress@1.6.4: resolution: {integrity: sha512-+2ym1/+0VVrbhNyRoFFesVvBvHAVMZMK0rw60E3X/5349M1GuVdKeazuksqopEdvkKwKGs21Q729jX81/bkBJg==} hasBin: true @@ -13348,14 +13214,6 @@ snapshots: '@ungap/structured-clone@1.3.0': {} - '@unocss/astro@66.5.1(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))': - dependencies: - '@unocss/core': 66.5.1 - '@unocss/reset': 66.5.1 - '@unocss/vite': 66.5.1(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1)) - optionalDependencies: - vite: 6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1) - '@unocss/astro@66.5.1(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))': dependencies: '@unocss/core': 66.5.1 @@ -13492,19 +13350,6 @@ snapshots: dependencies: '@unocss/core': 66.5.1 - '@unocss/vite@66.5.1(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))': - dependencies: - '@jridgewell/remapping': 2.3.5 - '@unocss/config': 66.5.1 - '@unocss/core': 66.5.1 - '@unocss/inspector': 66.5.1 - chokidar: 3.6.0 - magic-string: 0.30.19 - pathe: 2.0.3 - tinyglobby: 0.2.15 - unplugin-utils: 0.3.0 - vite: 6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1) - '@unocss/vite@66.5.1(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))': dependencies: '@jridgewell/remapping': 2.3.5 @@ -13577,10 +13422,6 @@ snapshots: '@unrs/resolver-binding-win32-x64-msvc@1.11.1': optional: true - '@vite-pwa/vitepress@0.5.4(vite-plugin-pwa@0.21.2(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0))': - dependencies: - vite-plugin-pwa: 0.21.2(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0) - '@vite-pwa/vitepress@1.0.0(vite-plugin-pwa@1.0.3(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0))': dependencies: vite-plugin-pwa: 1.0.3(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0) @@ -13595,11 +13436,6 @@ snapshots: vite: 5.4.20(@types/node@22.18.6)(terser@5.44.0) vue: 3.5.21(typescript@5.9.2) - '@vitejs/plugin-vue@5.2.4(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(vue@3.5.21(typescript@5.9.2))': - dependencies: - vite: 6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1) - vue: 3.5.21(typescript@5.9.2) - '@vitejs/plugin-vue@6.0.1(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(vue@3.5.21(typescript@5.9.2))': dependencies: '@rolldown/pluginutils': 1.0.0-beta.29 @@ -20541,33 +20377,6 @@ snapshots: universalify@2.0.1: {} - unocss@66.5.1(postcss@8.5.6)(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1)): - dependencies: - '@unocss/astro': 66.5.1(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1)) - '@unocss/cli': 66.5.1 - '@unocss/core': 66.5.1 - '@unocss/postcss': 66.5.1(postcss@8.5.6) - '@unocss/preset-attributify': 66.5.1 - '@unocss/preset-icons': 66.5.1 - '@unocss/preset-mini': 66.5.1 - '@unocss/preset-tagify': 66.5.1 - '@unocss/preset-typography': 66.5.1 - '@unocss/preset-uno': 66.5.1 - '@unocss/preset-web-fonts': 66.5.1 - '@unocss/preset-wind': 66.5.1 - '@unocss/preset-wind3': 66.5.1 - '@unocss/preset-wind4': 66.5.1 - '@unocss/transformer-attributify-jsx': 66.5.1 - '@unocss/transformer-compile-class': 66.5.1 - '@unocss/transformer-directives': 66.5.1 - '@unocss/transformer-variant-group': 66.5.1 - '@unocss/vite': 66.5.1(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1)) - optionalDependencies: - vite: 6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1) - transitivePeerDependencies: - - postcss - - supports-color - unocss@66.5.1(postcss@8.5.6)(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1)): dependencies: '@unocss/astro': 66.5.1(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1)) @@ -20739,17 +20548,6 @@ snapshots: transitivePeerDependencies: - supports-color - vite-plugin-pwa@0.21.2(vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0): - dependencies: - debug: 4.4.3(supports-color@8.1.1) - pretty-bytes: 6.1.1 - tinyglobby: 0.2.15 - vite: 6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1) - workbox-build: 7.3.0(@types/babel__core@7.20.5) - workbox-window: 7.3.0 - transitivePeerDependencies: - - supports-color - vite-plugin-pwa@1.0.3(vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1))(workbox-build@7.3.0(@types/babel__core@7.20.5))(workbox-window@7.3.0): dependencies: debug: 4.4.3(supports-color@8.1.1) @@ -20771,22 +20569,6 @@ snapshots: fsevents: 2.3.3 terser: 5.44.0 - vite@6.4.1(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1): - dependencies: - esbuild: 0.25.10 - fdir: 6.5.0(picomatch@4.0.3) - picomatch: 4.0.3 - postcss: 8.5.6 - rollup: 4.50.2 - tinyglobby: 0.2.15 - optionalDependencies: - '@types/node': 22.18.6 - fsevents: 2.3.3 - jiti: 2.5.1 - terser: 5.44.0 - tsx: 4.20.5 - yaml: 2.8.1 - vite@7.1.5(@types/node@22.18.6)(jiti@2.5.1)(terser@5.44.0)(tsx@4.20.5)(yaml@2.8.1): dependencies: esbuild: 0.25.10 @@ -20813,55 +20595,6 @@ snapshots: vitepress: 1.6.4(@algolia/client-search@5.37.0)(@types/node@22.18.6)(axios@1.12.2)(postcss@8.5.6)(search-insights@2.17.3)(terser@5.44.0)(typescript@5.7.3) vue: 3.5.21(typescript@5.7.3) - vitepress@1.6.3(@algolia/client-search@5.37.0)(@types/node@22.18.6)(axios@1.12.2)(postcss@8.5.6)(search-insights@2.17.3)(terser@5.44.0)(typescript@5.9.2): - dependencies: - '@docsearch/css': 3.8.2 - '@docsearch/js': 3.8.2(@algolia/client-search@5.37.0)(search-insights@2.17.3) - '@iconify-json/simple-icons': 1.2.52 - '@shikijs/core': 2.5.0 - '@shikijs/transformers': 2.5.0 - '@shikijs/types': 2.5.0 - '@types/markdown-it': 14.1.2 - '@vitejs/plugin-vue': 5.2.4(vite@5.4.20(@types/node@22.18.6)(terser@5.44.0))(vue@3.5.21(typescript@5.9.2)) - '@vue/devtools-api': 7.7.7 - '@vue/shared': 3.5.21 - '@vueuse/core': 12.8.2(typescript@5.9.2) - '@vueuse/integrations': 12.8.2(axios@1.12.2)(focus-trap@7.6.5)(typescript@5.9.2) - focus-trap: 7.6.5 - mark.js: 8.11.1 - minisearch: 7.1.2 - shiki: 2.5.0 - vite: 5.4.20(@types/node@22.18.6)(terser@5.44.0) - vue: 3.5.21(typescript@5.9.2) - optionalDependencies: - postcss: 8.5.6 - transitivePeerDependencies: - - '@algolia/client-search' - - '@types/node' - - '@types/react' - - async-validator - - axios - - change-case - - drauu - - fuse.js - - idb-keyval - - jwt-decode - - less - - lightningcss - - nprogress - - qrcode - - react - - react-dom - - sass - - sass-embedded - - search-insights - - sortablejs - - stylus - - sugarss - - terser - - typescript - - universal-cookie - vitepress@1.6.4(@algolia/client-search@5.37.0)(@types/node@22.18.6)(axios@1.12.2)(postcss@8.5.6)(search-insights@2.17.3)(terser@5.44.0)(typescript@5.7.3): dependencies: '@docsearch/css': 3.8.2 From e7719f14c5cc8c748e15afb42b6f4d2a3d6d9090 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 30 Oct 2025 01:55:58 +0900 Subject: [PATCH 2/3] fix: Prevent duplicate comments by validation workflow --- .github/workflows/validate-lockfile.yml | 27 ++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-lockfile.yml b/.github/workflows/validate-lockfile.yml index 59a6df96d..6a1e532ea 100644 --- a/.github/workflows/validate-lockfile.yml +++ b/.github/workflows/validate-lockfile.yml @@ -55,16 +55,41 @@ jobs: exit 1 fi + - name: Find existing lockfile validation comment + if: always() + uses: peter-evans/find-comment@v3 + id: find-comment + with: + issue-number: ${{ github.event.pull_request.number }} + comment-author: 'github-actions[bot]' + body-includes: 'Lockfile Validation Failed' + - name: Comment on PR if validation failed if: failure() - uses: peter-evans/create-or-update-comment@v4 + uses: peter-evans/create-or-update-comment@v5 with: token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.pull_request.number }} + comment-id: ${{ steps.find-comment.outputs.comment-id }} + edit-mode: replace body: | + ❌ **Lockfile Validation Failed** + The following issue(s) were detected: ${{ steps.validate.outputs.errors }} Please address these and push an update. _Posted automatically by GitHub Actions_ + + - name: Delete comment if validation passed + if: success() && steps.find-comment.outputs.comment-id != '' + uses: actions/github-script@v7 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + script: | + await github.rest.issues.deleteComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: ${{ steps.find-comment.outputs.comment-id }}, + }); From 58137aa63172a5518a92ab086ee35ecc463044b6 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 30 Oct 2025 01:56:18 +0900 Subject: [PATCH 3/3] feat: Allow validation workflow to run on forks --- .github/workflows/validate-lockfile.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-lockfile.yml b/.github/workflows/validate-lockfile.yml index 6a1e532ea..119f43180 100644 --- a/.github/workflows/validate-lockfile.yml +++ b/.github/workflows/validate-lockfile.yml @@ -1,7 +1,7 @@ name: Validate pnpm-lock.yaml on: - pull_request: + pull_request_target: paths: - 'pnpm-lock.yaml' - '**/package.json' @@ -15,6 +15,8 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + ref: ${{ github.event.pull_request.head.sha }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Set up Node.js uses: actions/setup-node@v4