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

Migrate to vite and vitest and update matrix-widget-toolkit dependencies #702

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

weeman1337
Copy link
Contributor

@weeman1337 weeman1337 commented Nov 8, 2024

✔️ Checklist

  • A changeset describing the change and affected packages (more info).
  • Added or updated documentation.
  • Tests for new functionality and regression tests for bug fixes.
  • Screenshots or videos attached (for UI changes).
  • All your commits have a Signed-off-by line in the message (more info).

PX4-77

Signed-off-by: Michael Weimann <[email protected]>
Copy link

changeset-bot bot commented Nov 8, 2024

⚠️ No Changeset found

Latest commit: b37b6b1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@weeman1337 weeman1337 changed the title Migrate to vite and vitest Migrate to vite and vitest and update matrix-widget-toolkit dependencies Nov 8, 2024
weeman1337 and others added 10 commits November 8, 2024 14:47
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: MTRNord <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
i18n
.use(ChainedBackend)
.use(WidgetApiLanguageDetector)
.use(languageDetector)
.use(initReactI18next)
.init({
fallbackLng: 'en',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line below. process.env.NODE_ENV is not a vite thing.

Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
import { defineConfig } from 'vite';

export default defineConfig({
test: {
alias: {
// solve "You are loading @emotion/react when it is already loaded…" issue
Copy link
Contributor

@MTRNord MTRNord Nov 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like we could also use this in neoboard :D there we see the same thing :)

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