Skip to content

build(deps-dev): Bump @vitejs/plugin-react from 6.0.1 to 6.0.2#127

Merged
asizikov merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2
Jun 7, 2026
Merged

build(deps-dev): Bump @vitejs/plugin-react from 6.0.1 to 6.0.2#127
asizikov merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 27, 2026

Copy link
Copy Markdown
Contributor

Bumps @vitejs/plugin-react from 6.0.1 to 6.0.2.

Release notes

Sourced from @​vitejs/plugin-react's releases.

plugin-react@6.0.2

Allow all options in reactCompilerPreset (#1189)

This is a type only change. Only compilationMode and target options were available for reactCompilerPreset.

Changelog

Sourced from @​vitejs/plugin-react's changelog.

6.0.2 (2026-05-14)

Allow all options in reactCompilerPreset (#1189)

This is a type only change. Only compilationMode and target options were available for reactCompilerPreset.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 27, 2026
@dependabot
dependabot Bot requested a review from asizikov as a code owner May 27, 2026 01:56
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 27, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2 branch from d0584c6 to 1f385bd Compare June 7, 2026 09:48
@asizikov

asizikov commented Jun 7, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.2/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2 branch from 1f385bd to 1b6891e Compare June 7, 2026 19:50
@asizikov
asizikov merged commit 85213ef into main Jun 7, 2026
6 checks passed
@asizikov
asizikov deleted the dependabot/npm_and_yarn/vitejs/plugin-react-6.0.2 branch June 7, 2026 19:51
xrvk added a commit to xrvk/billing-preview that referenced this pull request Jun 17, 2026
…edit policy (#5)

* build(deps): align with upstream dep bumps

Match github/copilot-billing-preview dependency versions:

- @primer/octicons-react 19.26.0 -> 19.28.1 (upstream github#147)
- vitest 4.1.5 -> 4.1.8 (upstream github#128)
- @vitejs/plugin-react 6.0.1 -> 6.0.2 (upstream github#127)
- typescript-eslint 8.59.2 -> 8.60.1 (upstream github#126)
- @types/node 25.7.0 -> 25.9.2 (upstream github#116)
- actions/checkout v6.0.2 -> v6.0.3 (upstream github#130)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* refactor: add static chart legend items

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 8183710)

* feat: show cumulative AIC usage on overview

Port upstream 16f3574 from github/copilot-billing-preview, adapted
for our fork:

- Add the cumulative AIC gross cost chart (included vs additional) at
  the top of the OverviewView chart section as an additive UX win,
  rather than replacing the existing Daily Requests & AI Credits chart.
- Preserve the hasPruUsage PRU-conditional rendering from 97109fd.
- Skip the upstream "(Pooled) included credits are coming" banner
  re-introduction since d9ed68e removed it from this fork.
- Expose the included AIC pool size from runPipeline (new
  capacity() accessor on PooledAic/IndividualAic allocators, new
  PipelineResult.includedAicPoolSize) and thread it through App.tsx
  state so OverviewView can compute the included value line.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: reject reports without headers

Port upstream 7412559 from github/copilot-billing-preview, adapted
for our fork.

Upstream rewrote validation around its new report-adapter layer; we
keep the simpler validateFileHeader and just throw the existing
InvalidReportError when streamLines yields no non-empty content. Same
user-visible behavior: an empty CSV now surfaces "We couldn't read
this report" instead of silently producing an empty preview.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: add included credit policy types and period-based resolution

Port the user-visible effect of upstream 08a2b7d/6ba9623/8d70792/0e93440
from github/copilot-billing-preview, condensed for this fork.

Adds src/pipeline/includedCreditsPolicy.ts with three named policies:

- TRANSITION_PERIOD_INCLUDED_CREDITS_POLICY (Business 300 PRU/3000 AIC,
  Enterprise 1000 PRU/7000 AIC) for current PRU-era reports.
- NATIVE_AI_CREDITS_SUMMER_PROMO_INCLUDED_CREDITS_POLICY (Business
  1900/3000, Enterprise 3900/7000) for native AIC reports whose period
  starts before 2026-09-01.
- NATIVE_AI_CREDITS_STANDARD_INCLUDED_CREDITS_POLICY (Business
  1900/1900, Enterprise 3900/3900) for native AIC reports starting on
  or after 2026-09-01.

resolveIncludedCreditsPolicy takes our existing ReportFormat-style
quota unit ('pru' | 'aic') plus an optional report period and returns
the right policy. Upstream resolves off their reportAdapters layer; we
key off the fork's filename-derived report format instead. This sub-
commit only adds the module + tests; allocator wiring lands next.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: resolve included credit policy from report period

Thread reportFormat through runPipeline into the AIC included-credits
allocator so calculateAicIncludedCreditsContext can pick the right
policy from the report's quota unit and date range:

- PRU reports keep the transition-period policy (Business 300/3000,
  Enterprise 1000/7000).
- Native AIC reports whose period starts before 2026-09-01 use the
  summer promo policy (Business 1900/3000, Enterprise 3900/7000).
- Native AIC reports on or after 2026-09-01 use the standard policy
  (Business 1900/1900, Enterprise 3900/3900).

App.tsx now forwards detectReportFormatFromFileName(file.name) into
PipelineOptions.reportFormat.

Adapted from upstream 08a2b7d, 6ba9623, 8d70792, 0e93440.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: apply resolved policy to license summary and seat editor

The first pass at the policy plumbing only threaded the resolved
policy into AIC allocation. License summary math (App.tsx and
UsersView) still used the transition-period defaults, so post
2026-09-01 native AIC reports would have reported 3000/7000 per
seat in the license table while the chart pool reflected the
correct 1900/3900 values.

Now createAicIncludedCreditsAllocator stores the policy, runPipeline
exposes it on PipelineResult, App.tsx threads it into state and
passes it to UsersView, and calculateLicenseSummary plus the seat
editor in UsersView use the per-seat included-credit values from
that policy.

Also drops the QuotaUnitFormat alias and three restating test
comments flagged by review, and extends coverage to a
boundary-spanning AIC report, the runPipeline reportFormat option,
and additional resolver edge cases (null, empty, malformed,
2026-09-02, 2025-12-31).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Anton Sizikov <asizikov@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant