Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump vite from 3.2.4 to 4.0.0 #176

Merged
merged 1 commit into from
Dec 14, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

Bumps vite from 3.2.4 to 4.0.0.

Release notes

Sourced from vite's releases.

create-vite@4.0.0

Please refer to CHANGELOG.md for details.

create-vite@4.0.0-beta.0

Please refer to CHANGELOG.md for details.

Changelog

Sourced from vite's changelog.

4.0.0 (2022-12-09)

Vite 4 Announcement Cover Image

Read the announcement blog post: Announcing Vite 4

Quick links:

Docs in other languages:

Main Changes

This major is smaller in scope compared to Vite 3, with the main objective of upgrading to Rollup 3. We've worked with the ecosystem to ensure a smooth upgrade path for this new major.

Rollup 3

Vite is now using Rollup 3, which allowed us to simplify Vite's internal asset handling and has many improvements. See the Rollup 3 release notes here.

Framework Plugins out of the Vite core monorepo

@vitejs/plugin-vue and @vitejs/plugin-react have been part of Vite core monorepo since the first versions of Vite. This helped us to get a close feedback loop when making changes as we were getting both Core and the plugins tested and released together. With vite-ecosystem-ci we can get this feedback with these plugins developed on independent repositories, so from Vite 4, they have been moved out of the Vite core monorepo. This is meaningful for Vite's framework-agnostic story, and will allow us to build independent teams to maintain each of the plugins. If you have bugs to report or features to request, please create issues on the new repositories moving forward: vitejs/vite-plugin-vue and vitejs/vite-plugin-react.

New React plugin using SWC during development

SWC is now a mature replacement for Babel, especially in the context of React projects. SWC's React Fast Refresh implementation is a lot faster than Babel, and for some projects, it is now a better alternative. From Vite 4, two plugins are available for React projects with different tradeoffs. We believe that both approaches are worth supporting at this point, and we'll continue to explore improvements to both plugins in the future.

@​vitejs/plugin-react

@​vitejs/plugin-react is a plugin that uses esbuild and Babel, achieving fast HMR with a small package footprint and the flexibility of being able to use the babel transform pipeline.

@​vitejs/plugin-react-swc (new)

@​vitejs/plugin-react-swc is a new plugin that uses esbuild during build, but replaces Babel with SWC during development. For big projects that don't require non-standard React extensions, cold start and Hot Module Replacement (HMR) can be significantly faster.

Compatibility

The modern browser build now targets safari14 by default for wider ES2020 compatibility (vitejs/vite#9063). This means that modern builds can now use BigInt and that the nullish coallessing operator isn't transpiled anymore. If you need to support older browsers, you can add @vitejs/plugin-legacy as usual.

Importing CSS as a string

In Vite 3, importing the default export of a .css file could introduce a double loading of CSS.

</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

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

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@ghost
Copy link

ghost commented Dec 12, 2022

👇 Click on the image for a new way to code review
  • Make big changes easier — review code in small groups of related files

  • Know where to start — see the whole change at a glance

  • Take a code tour — explore the change with an interactive tour

  • Make comments and review — all fully sync’ed with github

    Try it now!

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend

@jouwdan jouwdan merged commit a29a7ac into development Dec 14, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/development/vite-4.0.0 branch December 14, 2022 12:34
jouwdan added a commit that referenced this pull request Jan 6, 2023
* Breaking: Migration to SvelteKit & New Monorepo Architecture (#171)

* feat(BREAKING): Migrate to SvekteKit & new monorepo architecture

* feat: package update

* feat: hidden file updates

* feat: version bump

* feat: bring back cypress tests

* fix: corrected first step double encoding

* fix: time bug related to improved paths

* refactor: remove commended out code

* feat: additional db access function

* feat: error check decrypt in case of invalid key

* feat: log encrypted user id to time all-course-access

* feat: first attempt to simplify presence with additional type

* feat: additional card for revised presence service

* feat: live student view

* feat: include module title in student event

* feat: ignore first update

* feat: revise student event card

* feat: additional link to live view

* feat: new live view

* feat: copy of live view (for the moment)

* feat: factor our presence update mechanism

* refactor: move presence into services

* refactor: remove temporary experiments

* refactor: remove old presence engine

* refactor: remove metrics engine

* chore: bump vite from 3.2.4 to 4.0.0 (#176)

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

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: card width & border

* fix: package versions

* chore: bump @astrojs/tailwind from 1.0.1 to 2.1.3 (#177)

Bumps [@astrojs/tailwind](https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind) from 1.0.1 to 2.1.3.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/tailwind/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/tailwind@2.1.3/packages/integrations/tailwind)

---
updated-dependencies:
- dependency-name: "@astrojs/tailwind"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: bump astro from 1.6.12 to 1.6.15 (#180)

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 1.6.12 to 1.6.15.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@1.6.15/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: bump @typescript-eslint/eslint-plugin from 5.44.0 to 5.46.1 (#185)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.44.0 to 5.46.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.46.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: minor design updates

* revactor: presence service correct delays

* fix: ensure correct live link

* remove live view from time

* fix: do not post updates of status offline

* fix: null check

* fix: null check correction

* fix: null pointer violation on logout

* fix: icon support in live view

* chore: version updates

* refactor: move to skeleton 0.80.8: breaking changes to drawer

* fix: netlify build cannot resolve localStorageStore in stores.ts

* fix: move layout menu to course reader (to fix potential build issue)

* fix: move NavUser into core-reader

* refactor: remove LayoutMenu & NavUser from tutors-ui

* refactor: move sidebars into separate compent

* refactor: some warning fixes + simplified auth checking

* fix: access to localStorageStore fails on production build on netlify

* fix: remove import of skeleton

* feature: exclude current user from online + remove users after 5 mins inactivity

* fix: skeleton update

* Feat/home sveltekit migration (#186)

* feat: sveltekit

* fix: inline-block

* feat: section 2 & footer

* feat: font size and spacing

* feat: scale buttons on hover

* feat: open source section

* feat: header icons

* feat: image update

* fix: padding

* fix: tutors css

* fix: tutors css

* feat: add tutors-ui

* fix: tutors-ui

* feat: netlify

* fix: favicon & title

* fix: wording

* fix: correct path for archive downloads

* feature: experimental toast events in live view

* fix: remove pageload timer from module (move to reader)

* refactor: switch from axios to fetch for loading course json

* fix: prevent multiple firebase initialisation attempts

* fix: temporarily remove katex support

* chore: upgrade all packages to latest

* fix: upgrades require menu components to be in app (not lib)

* fix: reintroduce dislexic theme

* fix: check for authenticated user

* chore: update all packages

* chore: update all package versions

* refactor: pageload timer moved here from analytics

* chore: update all packages

* fix: internal links within toc simplified - and fixed (without animate scroll)

* remove readme

* first version of revised builder based generator

* option builder support

* fix: reintroduce ignore support

* support lab in new builder version of generator

* feature: builder version of generator in separate app (for the moment)

* feat(breaking): skeleton & theme builder update

* fix: nav dropdown padding

* feat: border colors

* feat: error & skeleton update

* fix: badge

* fix: theme & user dropdown

* test: border change

* Revert "test: border change"

This reverts commit 608af32.

* feat: color name change to new convention

* fix: courseinfo

* Revert "fix: courseinfo"

This reverts commit 6f339cb.

* Revert "feat: color name change to new convention"

This reverts commit 1c75e05.

* Revert "Revert "test: border change""

This reverts commit 9b24fdc.

* Revert "test: border change"

This reverts commit 608af32.

* Revert "fix: theme & user dropdown"

This reverts commit eb7de63.

* Revert "fix: badge"

This reverts commit da00008.

* Revert "feat: error & skeleton update"

This reverts commit 5d56fb6.

* Revert "feat: border colors"

This reverts commit bb9cd52.

* Revert "fix: nav dropdown padding"

This reverts commit 4d3099f.

* Revert "feat(breaking): skeleton & theme builder update"

This reverts commit 334a12f.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Eamonn de Leastar <edeleastar@wit.ie>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
jouwdan added a commit that referenced this pull request Jan 10, 2023
…tes (#198)

* Breaking: Migration to SvelteKit & New Monorepo Architecture (#171)

* feat(BREAKING): Migrate to SvekteKit & new monorepo architecture

* feat: package update

* feat: hidden file updates

* feat: version bump

* feat: bring back cypress tests

* fix: corrected first step double encoding

* fix: time bug related to improved paths

* refactor: remove commended out code

* feat: additional db access function

* feat: error check decrypt in case of invalid key

* feat: log encrypted user id to time all-course-access

* feat: first attempt to simplify presence with additional type

* feat: additional card for revised presence service

* feat: live student view

* feat: include module title in student event

* feat: ignore first update

* feat: revise student event card

* feat: additional link to live view

* feat: new live view

* feat: copy of live view (for the moment)

* feat: factor our presence update mechanism

* refactor: move presence into services

* refactor: remove temporary experiments

* refactor: remove old presence engine

* refactor: remove metrics engine

* chore: bump vite from 3.2.4 to 4.0.0 (#176)

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

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: card width & border

* fix: package versions

* chore: bump @astrojs/tailwind from 1.0.1 to 2.1.3 (#177)

Bumps [@astrojs/tailwind](https://github.com/withastro/astro/tree/HEAD/packages/integrations/tailwind) from 1.0.1 to 2.1.3.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/integrations/tailwind/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/@astrojs/tailwind@2.1.3/packages/integrations/tailwind)

---
updated-dependencies:
- dependency-name: "@astrojs/tailwind"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: bump astro from 1.6.12 to 1.6.15 (#180)

Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 1.6.12 to 1.6.15.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@1.6.15/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: bump @typescript-eslint/eslint-plugin from 5.44.0 to 5.46.1 (#185)

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.44.0 to 5.46.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.46.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: minor design updates

* revactor: presence service correct delays

* fix: ensure correct live link

* remove live view from time

* fix: do not post updates of status offline

* fix: null check

* fix: null check correction

* fix: null pointer violation on logout

* fix: icon support in live view

* chore: version updates

* refactor: move to skeleton 0.80.8: breaking changes to drawer

* fix: netlify build cannot resolve localStorageStore in stores.ts

* fix: move layout menu to course reader (to fix potential build issue)

* fix: move NavUser into core-reader

* refactor: remove LayoutMenu & NavUser from tutors-ui

* refactor: move sidebars into separate compent

* refactor: some warning fixes + simplified auth checking

* fix: access to localStorageStore fails on production build on netlify

* fix: remove import of skeleton

* feature: exclude current user from online + remove users after 5 mins inactivity

* fix: skeleton update

* Feat/home sveltekit migration (#186)

* feat: sveltekit

* fix: inline-block

* feat: section 2 & footer

* feat: font size and spacing

* feat: scale buttons on hover

* feat: open source section

* feat: header icons

* feat: image update

* fix: padding

* fix: tutors css

* fix: tutors css

* feat: add tutors-ui

* fix: tutors-ui

* feat: netlify

* fix: favicon & title

* fix: wording

* fix: correct path for archive downloads

* feature: experimental toast events in live view

* fix: remove pageload timer from module (move to reader)

* refactor: switch from axios to fetch for loading course json

* fix: prevent multiple firebase initialisation attempts

* fix: temporarily remove katex support

* chore: upgrade all packages to latest

* fix: upgrades require menu components to be in app (not lib)

* fix: reintroduce dislexic theme

* fix: check for authenticated user

* chore: update all packages

* chore: update all package versions

* refactor: pageload timer moved here from analytics

* chore: update all packages

* fix: internal links within toc simplified - and fixed (without animate scroll)

* remove readme

* first version of revised builder based generator

* option builder support

* fix: reintroduce ignore support

* support lab in new builder version of generator

* feature: builder version of generator in separate app (for the moment)

* feat(breaking): skeleton & theme builder update

* fix: nav dropdown padding

* feat: border colors

* feat: error & skeleton update

* fix: badge

* fix: theme & user dropdown

* test: border change

* Revert "test: border change"

This reverts commit 608af32.

* feat: color name change to new convention

* fix: courseinfo

* fix: turn on ssr for topic + course in case of panel talk

* feature: json generator project updates

* updated paths for lunch and tasks

* example calendar for reference course

* switch to reader from next

* switch to redirect to sveltekit based reader

* fix: support breacrumb unit links

* festure: only copy assets to json folder

* refactor: simplify builder

* refactor: introduce optional types into LearningObject type

* refactor: introduce typeguards

* style: no shadow and border on header

* style: footer top border

* correct links for demo + documentation

* fix: update skeleton to v0.92.0

* chore: version bump

* Merge branch 'main' into development

* Revert "Merge branch 'main' into development"

This reverts commit 233e765.

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Eamonn de Leastar <edeleastar@wit.ie>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

None yet

1 participant