mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
refactor(packages/*): use @vitejs/plugin-react-swc and make all package dependencies explicit (#254)
This commit is contained in:
committed by
GitHub
parent
2434231f9b
commit
f236b75f55
@@ -50,7 +50,7 @@
|
||||
"vite": "^5.2.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tanstack/config": "^0.7.11",
|
||||
"@tanstack/config": "0.7.13",
|
||||
"@types/babel__core": "^7.20.5",
|
||||
"vitest": "^2.0.0"
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
"vite": "^5.2.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tanstack/config": "^0.7.11",
|
||||
"@tanstack/config": "0.7.13",
|
||||
"@types/babel__core": "^7.20.5",
|
||||
"prettier": "^3.2.4",
|
||||
"vitest": "^2.0.0"
|
||||
|
||||
@@ -44,8 +44,7 @@
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=16.3.0",
|
||||
"react-dom": ">=16.3.0"
|
||||
"react": ">=16.3.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"react-intersection-observer": "^9.13.0",
|
||||
@@ -53,11 +52,13 @@
|
||||
"zustand": "4.4.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tanstack/config": "^0.7.11",
|
||||
"@tanstack/config": "0.7.13",
|
||||
"@testing-library/jest-dom": "^6.6.0",
|
||||
"@testing-library/react": "^16.0.0",
|
||||
"@types/react": "18.3.13",
|
||||
"@vitejs/plugin-react-swc": "3.7.2",
|
||||
"react": "18.3.1",
|
||||
"jsdom": "^25.0.0",
|
||||
"prettier": "^3.2.4",
|
||||
"vitest": "^2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/// <reference types="vite/client" />
|
||||
import { defineConfig, mergeConfig } from 'vitest/config'
|
||||
import { tanstackBuildConfig } from '@tanstack/config/build'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
|
||||
const config = defineConfig({
|
||||
plugins: [react()],
|
||||
|
||||
@@ -114,11 +114,13 @@
|
||||
"web-streams-polyfill": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tanstack/config": "0.7.13",
|
||||
"@types/babel-traverse": "^6.25.10",
|
||||
"@types/babel__traverse": "^7.20.6",
|
||||
"@types/react": "^18.3.13",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"prettier": "^3.2.4",
|
||||
"@types/react": "18.3.13",
|
||||
"@types/react-dom": "18.3.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
"vitest": "^2.0.0"
|
||||
},
|
||||
"sideEffects": false,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/// <reference types="vite/client" />
|
||||
import { defineConfig, mergeConfig } from 'vitest/config'
|
||||
import { tanstackBuildConfig } from '@tanstack/config/build'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import react from '@vitejs/plugin-react-swc'
|
||||
|
||||
const config = defineConfig({
|
||||
plugins: [react()],
|
||||
|
||||
Reference in New Issue
Block a user