chore(deps): update dependencies + add test infrastructure#2
Merged
Conversation
- @bitrix24/b24ui-nuxt ^2.6.0 → ^2.9.0 - nuxt ^4.4.2 → ^4.4.8 - tailwindcss ^4.2.4 → ^4.3.1 - @types/node ^25.6.0 → ^26.0.1 - @nuxt/eslint ^1.15.2 → ^1.16.0 - eslint ^10.2.1 → ^10.6.0 - vue-tsc ^3.2.7 → ^3.3.5 - packageManager pnpm@10.33.0 → pnpm@11.8.0 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017fRrr3Az94Kk62DF4FPg2N
- Add vitest + @nuxt/test-utils + @vue/test-utils + happy-dom - Register @nuxt/test-utils/module in nuxt.config - Add smoke tests for the index page (hero + features render) - Add `test`/`test:watch` scripts and a Test step in CI - Ignore auto-generated .nuxtrc docs: fix b24ui install link and document lint/typecheck/test/env Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017fRrr3Az94Kk62DF4FPg2N
CI's supply-chain policy rejects packages newer than the release-age cutoff. Add the two just-published versions to minimumReleaseAgeExclude so a clean install passes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017fRrr3Az94Kk62DF4FPg2N
pnpm 11 fails `pnpm install` in CI when build scripts are neither approved nor explicitly declined. Add an allowBuilds map (all false, preserving the prior ignore behavior) so installs stay non-interactive. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017fRrr3Az94Kk62DF4FPg2N
The branch ruleset requires a status check named exactly "ci", but the matrix produced "ci (ubuntu-latest, 22)". The matrix held one os/node combo, so inlining it keeps coverage while emitting the expected context. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017fRrr3Az94Kk62DF4FPg2N
Reverts the pnpm 11 bump. The sibling bitrix/templates-dashboard stays on pnpm@10.33.0 with a plain ignoredBuiltDependencies list, so pnpm 11's CI-strict ignored-builds gate never applies. Dropping back to 10.33.0 removes the allowBuilds workaround; only the minimumReleaseAgeExclude entries remain (required for the freshly published b24ui/eslint). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017fRrr3Az94Kk62DF4FPg2N
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что изменено
1. Обновление зависимостей
@bitrix24/b24icons-vue(2.0.7) иtypescript(6.0.3) уже актуальны.pnpm остаётся на
10.33.0— по конвенции bitrix-проектов (templates-dashboardтоже на 10.33.0). Это избавляет от строгого поведения pnpm 11 по build scripts.2. Тестовая инфраструктура (новое)
vitest,@nuxt/test-utils,@vue/test-utils,happy-dom@nuxt/test-utils/moduleзарегистрирован вnuxt.config.tstest/index.test.ts)test/test:watch+ шаг Test в CI.nuxtrcдобавлен в.gitignore3. CI / supply-chain
minimumReleaseAgeExcludeдля свежих@bitrix24/b24ui-nuxt@2.9.0иeslint@10.6.0(политика реестра отклоняла «слишком новые» пакеты)ci.yml→ контекст чека стал ровноci(требование ruleset)4. Документация
installation/vue/→installation/nuxt/, разделы Code Quality и Environment VariablesПроверки
pnpm lint·pnpm typecheck·pnpm test(2 passed) ·pnpm build— локально подCI=trueи в GitHub ActionsЗаметки
🤖 Generated with Claude Code