Skip to content

Commit

Permalink
Update all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Mad-Kat committed Dec 29, 2024
1 parent 1e07786 commit 3c118c5
Show file tree
Hide file tree
Showing 6 changed files with 1,348 additions and 1,269 deletions.
6 changes: 6 additions & 0 deletions .changeset/mighty-lobsters-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"next-yak": patch
"yak-swc": patch
---

Updated all dependencies
2 changes: 1 addition & 1 deletion packages/benchmarks/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
2 changes: 1 addition & 1 deletion packages/example/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
35 changes: 18 additions & 17 deletions packages/example/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
/// <reference types="vitest" />
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react"
import react from "@vitejs/plugin-react";
import { defineConfig, mergeConfig } from "vitest/config";

// https://vitejs.dev/config/
export default defineConfig({
plugins:
[
react()
],
test: {
globals: true,
environment: "jsdom",
export default mergeConfig(
{
plugins: [react()],
},
defineConfig({
test: {
globals: true,
environment: "jsdom",

// This is only necessary because we use Vitest and Jest (to see verify that both work)
// and they should use different snapshot names
resolveSnapshotPath: (testPath, snapshotExtension) =>
testPath.replace('__tests__', '__tests__/__vite_snapshots__') + snapshotExtension,
}
});
// This is only necessary because we use Vitest and Jest (to see verify that both work)
// and they should use different snapshot names
resolveSnapshotPath: (testPath, snapshotExtension) =>
testPath.replace("__tests__", "__tests__/__vite_snapshots__") +
snapshotExtension,
},
}),
);
Loading

0 comments on commit 3c118c5

Please sign in to comment.