Skip to content

chore(deps): update dependencies + add test infrastructure#2

Merged
IgorShevchik merged 6 commits into
mainfrom
claude/dependency-updates-prototype-299cti
Jun 27, 2026
Merged

chore(deps): update dependencies + add test infrastructure#2
IgorShevchik merged 6 commits into
mainfrom
claude/dependency-updates-prototype-299cti

Conversation

@IgorShevchik

@IgorShevchik IgorShevchik commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Что изменено

1. Обновление зависимостей

Пакет Было Стало
@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

@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.ts
  • Smoke-тесты главной страницы (test/index.test.ts)
  • Скрипты test / test:watch + шаг Test в CI
  • .nuxtrc добавлен в .gitignore

3. CI / supply-chain

  • minimumReleaseAgeExclude для свежих @bitrix24/b24ui-nuxt@2.9.0 и eslint@10.6.0 (политика реестра отклоняла «слишком новые» пакеты)
  • Убрана одно-значная matrix из ci.yml → контекст чека стал ровно ci (требование ruleset)

4. Документация

  • README: installation/vue/installation/nuxt/, разделы Code Quality и Environment Variables

Проверки

  • pnpm lint · pnpm typecheck · pnpm test (2 passed) · pnpm build — локально под CI=true и в GitHub Actions

Заметки

  • Уязвимости транзитивных зависимостей (Dependabot) — все dev/build-time, в проде недостижимы; у sibling-проектов та же экспозиция (зависит от апстрима nuxt/nitropack).

🤖 Generated with Claude Code

claude added 2 commits June 27, 2026 13:59
- @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
@IgorShevchik IgorShevchik changed the title chore(deps): update dependencies chore(deps): update dependencies + add test infrastructure Jun 27, 2026
claude added 4 commits June 27, 2026 15:09
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
@IgorShevchik IgorShevchik merged commit 48c3d8a into main Jun 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants