Compare commits

..

5 Commits

Author SHA1 Message Date
Valerio Ageno 439b4757df Turn main.rs into app.rs (#159)
Co-authored-by: Valerio Ageno <valerio.ageno@qonto.com>
2024-11-26 09:20:10 +01:00
renovate[bot] 9f8809bd51 fix(deps): update dependency @types/node to v22.10.0 (#157) 2024-11-26 08:02:27 +01:00
renovate[bot] 4e326650cc fix(deps): update dependency @types/node to v22.10.0 (#154) 2024-11-26 07:59:15 +01:00
renovate[bot] e27be27692 fix(deps): update dependency turbo to v2.3.2 (#155) 2024-11-26 07:58:58 +01:00
renovate[bot] 88eb2a1897 chore(deps): update dependency prettier to v3.4.0 (#156) 2024-11-26 07:58:43 +01:00
13 changed files with 140 additions and 135 deletions
@@ -14,11 +14,11 @@ import Breadcrumbs, { Element } from '../../components/breadcrumbs'
The main reason Tuono is fast is that it loads just the features that are needed for the project.
To define them, you need to fill the `ApplicationState` struct in the `./src/main.rs` file, and
To define them, you need to fill the `ApplicationState` struct in the `./src/app.rs` file, and
they will be automatically available in all the handlers you will define across the application.
```rs
// src/main.rs
// src/app.rs
#[derive(Clone)]
pub struct ApplicationState {
@@ -70,7 +70,7 @@ Let's fix these in the next section.
Compared to the common Javascript runtimes, Tuono is fast because only the features you need for your project will be loaded.
You can load them in the `ApplicationState` of your app inside the `./src/main.rs` file. This is the file that will be executed just once at the very beginning of your application.
You can load them in the `ApplicationState` of your app inside the `./src/app.rs` file. This is the file that will be executed just once at the very beginning of your application.
> For the tutorial we will use [Reqwest](https://docs.rs/reqwest/latest/reqwest/) which is one of the most famous HTTP library.
@@ -101,7 +101,7 @@ serde = { version = "1.0.202", features = ["derive"] }
> The `Cargo.toml` is the manifest file of your application, in which you handle Rust's dependencies
> (similarly as the package.json for Javascript).
Now let's define the `ApplicationState` in the `./src/main.rs` file.
Now let's define the `ApplicationState` in the `./src/app.rs` file.
```rs
// Import here the just added reqwest library
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tuono"
version = "0.14.1"
version = "0.14.2"
edition = "2021"
authors = ["V. Ageno <valerioageno@yahoo.it>"]
description = "Superfast React fullstack framework"
+4 -4
View File
@@ -20,11 +20,11 @@ const IGNORE_FILES: [&str; 1] = ["__root"];
pub struct App {
pub route_map: HashMap<String, Route>,
pub base_path: PathBuf,
pub has_main_file: bool,
pub has_app_state: bool,
}
fn has_main_file(base_path: PathBuf) -> std::io::Result<bool> {
let file = File::open(base_path.join("src/main.rs"))?;
fn has_app_state(base_path: PathBuf) -> std::io::Result<bool> {
let file = File::open(base_path.join("src/app.rs"))?;
let mut buf_reader = BufReader::new(file);
let mut contents = String::new();
buf_reader.read_to_string(&mut contents)?;
@@ -38,7 +38,7 @@ impl App {
let mut app = App {
route_map: HashMap::new(),
base_path: base_path.clone(),
has_main_file: has_main_file(base_path).unwrap_or(false),
has_app_state: has_app_state(base_path).unwrap_or(false),
};
app.collect_routes();
+4 -4
View File
@@ -149,8 +149,8 @@ fn generate_axum_source(app: &App, mode: Mode) -> String {
.replace("/*MODE*/", mode.as_str())
.replace(
"//MAIN_FILE_IMPORT//",
if app.has_main_file {
r#"#[path="../src/main.rs"]
if app.has_app_state {
r#"#[path="../src/app.rs"]
mod tuono_main_state;
"#
} else {
@@ -159,7 +159,7 @@ fn generate_axum_source(app: &App, mode: Mode) -> String {
)
.replace(
"//MAIN_FILE_DEFINITION//",
if app.has_main_file {
if app.has_app_state {
"let user_custom_state = tuono_main_state::main();"
} else {
""
@@ -167,7 +167,7 @@ fn generate_axum_source(app: &App, mode: Mode) -> String {
)
.replace(
"//MAIN_FILE_USAGE//",
if app.has_main_file {
if app.has_app_state {
".with_state(user_custom_state)"
} else {
""
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "tuono_lib"
version = "0.14.1"
version = "0.14.2"
edition = "2021"
authors = ["V. Ageno <valerioageno@yahoo.it>"]
description = "Superfast React fullstack framework"
@@ -31,7 +31,7 @@ either = "1.13.0"
tower-http = {version = "0.6.0", features = ["fs"]}
colored = "2.1.0"
tuono_lib_macros = {path = "../tuono_lib_macros", version = "0.14.1"}
tuono_lib_macros = {path = "../tuono_lib_macros", version = "0.14.2"}
# Match the same version used by axum
tokio-tungstenite = "0.24.0"
futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tuono_lib_macros"
version = "0.14.1"
version = "0.14.2"
edition = "2021"
description = "Superfast React fullstack framework"
homepage = "https://tuono.dev"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tuono-fs-router-vite-plugin",
"version": "0.14.1",
"version": "0.14.2",
"description": "Plugin for the tuono's file system router. Tuono is the react/rust fullstack framework",
"homepage": "https://tuono.dev",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tuono-lazy-fn-vite-plugin",
"version": "0.14.1",
"version": "0.14.2",
"description": "Plugin for the tuono's lazy fn. Tuono is the react/rust fullstack framework",
"homepage": "https://tuono.dev",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tuono-router",
"version": "0.14.1",
"version": "0.14.2",
"description": "React routing component for the framework tuono. Tuono is the react/rust fullstack framework",
"homepage": "https://tuono.dev",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "tuono",
"version": "0.14.1",
"version": "0.14.2",
"description": "Superfast React fullstack framework",
"homepage": "https://tuono.dev",
"scripts": {
+120 -115
View File
@@ -10,14 +10,14 @@ importers:
dependencies:
turbo:
specifier: ^2.2.3
version: 2.3.1
version: 2.3.2
devDependencies:
'@tanstack/config':
specifier: ^0.7.0
version: 0.7.13(@types/node@22.9.3)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
version: 0.7.13(@types/node@22.10.0)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
'@types/node':
specifier: ^22.0.0
version: 22.9.3
version: 22.10.0
'@types/react':
specifier: ^18.3.1
version: 18.3.12
@@ -29,7 +29,7 @@ importers:
version: 8.15.0(eslint@8.57.1)(typescript@5.7.2)
'@vitejs/plugin-react':
specifier: ^4.2.1
version: 4.3.3(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
version: 4.3.3(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
eslint:
specifier: ^8.56.0
version: 8.57.1
@@ -50,16 +50,16 @@ importers:
version: 5.0.0(eslint@8.57.1)
prettier:
specifier: ^3.2.4
version: 3.3.3
version: 3.4.0
typescript:
specifier: ^5.4.5
version: 5.7.2
vite:
specifier: ^5.2.11
version: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
version: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
vitest:
specifier: ^2.0.0
version: 2.1.5(@types/node@22.9.3)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
version: 2.1.5(@types/node@22.10.0)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
apps/documentation:
dependencies:
@@ -189,20 +189,20 @@ importers:
version: 7.26.0
prettier:
specifier: ^3.2.4
version: 3.3.3
version: 3.4.0
vite:
specifier: ^5.2.11
version: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
version: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
devDependencies:
'@tanstack/config':
specifier: ^0.7.11
version: 0.7.13(@types/node@22.9.3)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
version: 0.7.13(@types/node@22.10.0)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
'@types/babel__core':
specifier: ^7.20.5
version: 7.20.5
vitest:
specifier: ^2.0.0
version: 2.1.5(@types/node@22.9.3)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
version: 2.1.5(@types/node@22.10.0)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
packages/lazy-fn-vite-plugin:
dependencies:
@@ -214,20 +214,20 @@ importers:
version: 7.26.0
vite:
specifier: ^5.2.11
version: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
version: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
devDependencies:
'@tanstack/config':
specifier: ^0.7.11
version: 0.7.13(@types/node@22.9.3)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
version: 0.7.13(@types/node@22.10.0)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
'@types/babel__core':
specifier: ^7.20.5
version: 7.20.5
prettier:
specifier: ^3.2.4
version: 3.3.3
version: 3.4.0
vitest:
specifier: ^2.0.0
version: 2.1.5(@types/node@22.9.3)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
version: 2.1.5(@types/node@22.10.0)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
packages/router:
dependencies:
@@ -242,14 +242,14 @@ importers:
version: 9.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
vite:
specifier: ^5.2.11
version: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
version: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
zustand:
specifier: 4.4.7
version: 4.4.7(@types/react@18.3.12)(react@18.3.1)
devDependencies:
'@tanstack/config':
specifier: ^0.7.11
version: 0.7.13(@types/node@22.9.3)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
version: 0.7.13(@types/node@22.10.0)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
'@testing-library/jest-dom':
specifier: ^6.6.0
version: 6.6.3
@@ -261,10 +261,10 @@ importers:
version: 25.0.1
prettier:
specifier: ^3.2.4
version: 3.3.3
version: 3.4.0
vitest:
specifier: ^2.0.0
version: 2.1.5(@types/node@22.9.3)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
version: 2.1.5(@types/node@22.10.0)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
packages/tuono:
dependencies:
@@ -303,10 +303,10 @@ importers:
version: 7.20.5
'@types/node':
specifier: ^22.0.0
version: 22.9.3
version: 22.10.0
'@vitejs/plugin-react-swc':
specifier: ^3.7.0
version: 3.7.1(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
version: 3.7.1(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
fast-text-encoding:
specifier: ^1.0.6
version: 1.0.6
@@ -330,7 +330,7 @@ importers:
version: link:../router
vite:
specifier: ^5.2.11
version: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
version: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
devDependencies:
'@types/babel-traverse':
specifier: ^6.25.10
@@ -346,10 +346,10 @@ importers:
version: 18.3.1
prettier:
specifier: ^3.2.4
version: 3.3.3
version: 3.4.0
vitest:
specifier: ^2.0.0
version: 2.1.5(@types/node@22.9.3)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
version: 2.1.5(@types/node@22.10.0)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49))
packages:
@@ -1069,12 +1069,12 @@ packages:
'@types/ms@0.7.34':
resolution: {integrity: sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==}
'@types/node@22.10.0':
resolution: {integrity: sha512-XC70cRZVElFHfIUB40FgZOBbgJYFKKMa5nb9lxcwYstFG/Mi+/Y0bGS+rs6Dmhmkpq4pnNiLiuZAbc02YCOnmA==}
'@types/node@22.9.0':
resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==}
'@types/node@22.9.3':
resolution: {integrity: sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw==}
'@types/prop-types@15.7.13':
resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==}
@@ -2681,8 +2681,8 @@ packages:
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
engines: {node: '>= 0.8.0'}
prettier@3.3.3:
resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==}
prettier@3.4.0:
resolution: {integrity: sha512-/OXNZcLyWkfo13ofOW5M7SLh+k5pnIs07owXK2teFpnfaOEcycnSy7HQxldaVX1ZP/7Q8oO1eDuQJNwbomQq5Q==}
engines: {node: '>=14'}
hasBin: true
@@ -3147,38 +3147,38 @@ packages:
react: '>=16.3.0'
react-dom: '>=16.3.0'
turbo-darwin-64@2.3.1:
resolution: {integrity: sha512-tjHfjW/Gs8Q9IO+9gPdIsSStZ8I09QYDRT/SyhFTPLnc7O2ZlxHPBVFfjUkHUjanHNYO8CpRGt+zdp1PaMCruw==}
turbo-darwin-64@2.3.2:
resolution: {integrity: sha512-B1lS/UqjXNsG+kx1uzJNwXMuw2i5wavcyNy8opvSLjfuECdsqQU9B1wPqkSTU+mZjFTJcEfiGKyJ/I2EVk8vdw==}
cpu: [x64]
os: [darwin]
turbo-darwin-arm64@2.3.1:
resolution: {integrity: sha512-At1WStnxCfrBQ4M2g6ynre8WsusGwA11okhVolBxyFUemYozDTtbZwelr+IqNggjT251vviokxOkcFzzogbiFw==}
turbo-darwin-arm64@2.3.2:
resolution: {integrity: sha512-XHeuEdk9tHaw2Bsr3rTzFtZyldeSyagDZkOSPIJ1zioavMjWEFPA75vdgy4j8ns96EBpZMaPXVEnODuEHfiZfQ==}
cpu: [arm64]
os: [darwin]
turbo-linux-64@2.3.1:
resolution: {integrity: sha512-COwEev7s9fsxLM2eoRCyRLPj+BXvZjFIS+GxzdAubYhoSoZit8B8QGKczyDl6448xhuFEWKrpHhcR9aBuwB4ag==}
turbo-linux-64@2.3.2:
resolution: {integrity: sha512-oKDsO5+flqpPx5tNLFGVUYpJ/sBc3KvaGpyNzXl2u3epzyafgblFKWMG5YsSiU1ruouPpcC6YG5SN5chA7Abfg==}
cpu: [x64]
os: [linux]
turbo-linux-arm64@2.3.1:
resolution: {integrity: sha512-AP0uE15Rhxza2Jl+Q3gxdXRA92IIeFAYaufz6CMcZuGy9yZsBlLt9w6T47H6g7XQPzWuw8pzfjM1omcTKkkDpQ==}
turbo-linux-arm64@2.3.2:
resolution: {integrity: sha512-luyvTl3wQ1hF+ljK7ljH4TL7rg4pmx5pQ2mzvfMvPo5eaLuKr/tImmbdH6/vr56iffUIISkIsLVhVxgZeAsUOw==}
cpu: [arm64]
os: [linux]
turbo-windows-64@2.3.1:
resolution: {integrity: sha512-HDSneq0dNZYZch74c2eygq+OiJE/JYDs7OsGM0yRYVj336383xkUnxz6W2I7qiyMCQXzp4UVUDZXvZhUYcX3BA==}
turbo-windows-64@2.3.2:
resolution: {integrity: sha512-yw7BnTU5cE7GdUnZEW3jIAI98hh4dcWk+Jwza8X7CXpxpill2zteq7VPf+a/B3o/xm+oVXzLmP83YP91Bm0SaA==}
cpu: [x64]
os: [win32]
turbo-windows-arm64@2.3.1:
resolution: {integrity: sha512-7/2/sJZiquwoT/jWBCfV0qKq4NarsJPmDRjMcR9dDMIwCYsGM8ljomkDRTCtkNeFcUvYw54MiRWHehWgbcRPsw==}
turbo-windows-arm64@2.3.2:
resolution: {integrity: sha512-Hgp6V7jaIYlDcy5xpKN+XXyYCf5afT690GmXcEsMoUawd5dStvZe0QHWcGxuqho497BAlx0XGAWftm0KelNePA==}
cpu: [arm64]
os: [win32]
turbo@2.3.1:
resolution: {integrity: sha512-vHZe/e6k1HZVKiMQPQ1BWFn53vjVQDFKdkjUq/pBKlRWi1gw9LQO6ntH4qZCcHY1rH6TXgsRmexXdgWl96YvVQ==}
turbo@2.3.2:
resolution: {integrity: sha512-vCJPoy8/3KkqY3W0cX2nrwhmtBQSZhEyrVgeJ4NlEXwGxu5vNRQDyV6se5VVAQMwfBsBJswlo87B7ai7Dr1MpQ==}
hasBin: true
type-check@0.4.0:
@@ -3229,6 +3229,9 @@ packages:
undici-types@6.19.8:
resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==}
undici-types@6.20.0:
resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
unified@11.0.5:
resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==}
@@ -3974,23 +3977,23 @@ snapshots:
- acorn
- supports-color
'@microsoft/api-extractor-model@7.28.13(@types/node@22.9.3)':
'@microsoft/api-extractor-model@7.28.13(@types/node@22.10.0)':
dependencies:
'@microsoft/tsdoc': 0.14.2
'@microsoft/tsdoc-config': 0.16.2
'@rushstack/node-core-library': 4.0.2(@types/node@22.9.3)
'@rushstack/node-core-library': 4.0.2(@types/node@22.10.0)
transitivePeerDependencies:
- '@types/node'
'@microsoft/api-extractor@7.43.0(@types/node@22.9.3)':
'@microsoft/api-extractor@7.43.0(@types/node@22.10.0)':
dependencies:
'@microsoft/api-extractor-model': 7.28.13(@types/node@22.9.3)
'@microsoft/api-extractor-model': 7.28.13(@types/node@22.10.0)
'@microsoft/tsdoc': 0.14.2
'@microsoft/tsdoc-config': 0.16.2
'@rushstack/node-core-library': 4.0.2(@types/node@22.9.3)
'@rushstack/node-core-library': 4.0.2(@types/node@22.10.0)
'@rushstack/rig-package': 0.5.2
'@rushstack/terminal': 0.10.0(@types/node@22.9.3)
'@rushstack/ts-command-line': 4.19.1(@types/node@22.9.3)
'@rushstack/terminal': 0.10.0(@types/node@22.10.0)
'@rushstack/ts-command-line': 4.19.1(@types/node@22.10.0)
lodash: 4.17.21
minimatch: 3.0.8
resolve: 1.22.8
@@ -4087,7 +4090,7 @@ snapshots:
'@rtsao/scc@1.1.0': {}
'@rushstack/node-core-library@4.0.2(@types/node@22.9.3)':
'@rushstack/node-core-library@4.0.2(@types/node@22.10.0)':
dependencies:
fs-extra: 7.0.1
import-lazy: 4.0.0
@@ -4096,23 +4099,23 @@ snapshots:
semver: 7.5.4
z-schema: 5.0.5
optionalDependencies:
'@types/node': 22.9.3
'@types/node': 22.10.0
'@rushstack/rig-package@0.5.2':
dependencies:
resolve: 1.22.8
strip-json-comments: 3.1.1
'@rushstack/terminal@0.10.0(@types/node@22.9.3)':
'@rushstack/terminal@0.10.0(@types/node@22.10.0)':
dependencies:
'@rushstack/node-core-library': 4.0.2(@types/node@22.9.3)
'@rushstack/node-core-library': 4.0.2(@types/node@22.10.0)
supports-color: 8.1.1
optionalDependencies:
'@types/node': 22.9.3
'@types/node': 22.10.0
'@rushstack/ts-command-line@4.19.1(@types/node@22.9.3)':
'@rushstack/ts-command-line@4.19.1(@types/node@22.10.0)':
dependencies:
'@rushstack/terminal': 0.10.0(@types/node@22.9.3)
'@rushstack/terminal': 0.10.0(@types/node@22.10.0)
'@types/argparse': 1.0.38
argparse: 1.0.10
string-argv: 0.3.2
@@ -4178,7 +4181,7 @@ snapshots:
'@tabler/icons@3.22.0': {}
'@tanstack/config@0.7.13(@types/node@22.9.3)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))':
'@tanstack/config@0.7.13(@types/node@22.10.0)(esbuild@0.21.5)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))':
dependencies:
'@commitlint/parse': 19.5.0
commander: 12.1.0
@@ -4192,9 +4195,9 @@ snapshots:
semver: 7.6.3
simple-git: 3.27.0
v8flags: 4.0.1
vite-plugin-dts: 3.9.1(@types/node@22.9.3)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
vite-plugin-externalize-deps: 0.8.0(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
vite-tsconfig-paths: 4.3.2(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
vite-plugin-dts: 3.9.1(@types/node@22.10.0)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
vite-plugin-externalize-deps: 0.8.0(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
vite-tsconfig-paths: 4.3.2(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
transitivePeerDependencies:
- '@types/node'
- esbuild
@@ -4271,7 +4274,7 @@ snapshots:
'@types/conventional-commits-parser@5.0.0':
dependencies:
'@types/node': 22.9.3
'@types/node': 22.10.0
'@types/debug@4.1.12':
dependencies:
@@ -4297,11 +4300,11 @@ snapshots:
'@types/ms@0.7.34': {}
'@types/node@22.9.0':
'@types/node@22.10.0':
dependencies:
undici-types: 6.19.8
undici-types: 6.20.0
'@types/node@22.9.3':
'@types/node@22.9.0':
dependencies:
undici-types: 6.19.8
@@ -4404,6 +4407,13 @@ snapshots:
'@ungap/structured-clone@1.2.0': {}
'@vitejs/plugin-react-swc@3.7.1(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))':
dependencies:
'@swc/core': 1.9.2
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
transitivePeerDependencies:
- '@swc/helpers'
'@vitejs/plugin-react-swc@3.7.1(vite@5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)))':
dependencies:
'@swc/core': 1.9.2
@@ -4411,21 +4421,14 @@ snapshots:
transitivePeerDependencies:
- '@swc/helpers'
'@vitejs/plugin-react-swc@3.7.1(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))':
dependencies:
'@swc/core': 1.9.2
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
transitivePeerDependencies:
- '@swc/helpers'
'@vitejs/plugin-react@4.3.3(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))':
'@vitejs/plugin-react@4.3.3(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))':
dependencies:
'@babel/core': 7.26.0
'@babel/plugin-transform-react-jsx-self': 7.25.9(@babel/core@7.26.0)
'@babel/plugin-transform-react-jsx-source': 7.25.9(@babel/core@7.26.0)
'@types/babel__core': 7.20.5
react-refresh: 0.14.2
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
transitivePeerDependencies:
- supports-color
@@ -4436,13 +4439,13 @@ snapshots:
chai: 5.1.2
tinyrainbow: 1.2.0
'@vitest/mocker@2.1.5(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))':
'@vitest/mocker@2.1.5(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))':
dependencies:
'@vitest/spy': 2.1.5
estree-walker: 3.0.3
magic-string: 0.30.12
optionalDependencies:
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
'@vitest/pretty-format@2.1.5':
dependencies:
@@ -6356,7 +6359,7 @@ snapshots:
prelude-ls@1.2.1: {}
prettier@3.3.3: {}
prettier@3.4.0: {}
pretty-format@27.5.1:
dependencies:
@@ -6852,7 +6855,7 @@ snapshots:
dependencies:
'@babel/core': 7.26.0
'@babel/types': 7.26.0
prettier: 3.3.3
prettier: 3.4.0
vite: 5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49))
transitivePeerDependencies:
- '@types/node'
@@ -6938,32 +6941,32 @@ snapshots:
- supports-color
- terser
turbo-darwin-64@2.3.1:
turbo-darwin-64@2.3.2:
optional: true
turbo-darwin-arm64@2.3.1:
turbo-darwin-arm64@2.3.2:
optional: true
turbo-linux-64@2.3.1:
turbo-linux-64@2.3.2:
optional: true
turbo-linux-arm64@2.3.1:
turbo-linux-arm64@2.3.2:
optional: true
turbo-windows-64@2.3.1:
turbo-windows-64@2.3.2:
optional: true
turbo-windows-arm64@2.3.1:
turbo-windows-arm64@2.3.2:
optional: true
turbo@2.3.1:
turbo@2.3.2:
optionalDependencies:
turbo-darwin-64: 2.3.1
turbo-darwin-arm64: 2.3.1
turbo-linux-64: 2.3.1
turbo-linux-arm64: 2.3.1
turbo-windows-64: 2.3.1
turbo-windows-arm64: 2.3.1
turbo-darwin-64: 2.3.2
turbo-darwin-arm64: 2.3.2
turbo-linux-64: 2.3.2
turbo-linux-arm64: 2.3.2
turbo-windows-64: 2.3.2
turbo-windows-arm64: 2.3.2
type-check@0.4.0:
dependencies:
@@ -7020,6 +7023,8 @@ snapshots:
undici-types@6.19.8: {}
undici-types@6.20.0: {}
unified@11.0.5:
dependencies:
'@types/unist': 3.0.3
@@ -7123,13 +7128,13 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.2
vite-node@2.1.5(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)):
vite-node@2.1.5(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)):
dependencies:
cac: 6.7.14
debug: 4.3.7
es-module-lexer: 1.5.4
pathe: 1.1.2
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
transitivePeerDependencies:
- '@types/node'
- less
@@ -7141,9 +7146,9 @@ snapshots:
- supports-color
- terser
vite-plugin-dts@3.9.1(@types/node@22.9.3)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))):
vite-plugin-dts@3.9.1(@types/node@22.10.0)(rollup@4.25.0)(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))):
dependencies:
'@microsoft/api-extractor': 7.43.0(@types/node@22.9.3)
'@microsoft/api-extractor': 7.43.0(@types/node@22.10.0)
'@rollup/pluginutils': 5.1.3(rollup@4.25.0)
'@vue/language-core': 1.8.27(typescript@5.7.2)
debug: 4.3.7
@@ -7152,27 +7157,37 @@ snapshots:
typescript: 5.7.2
vue-tsc: 1.8.27(typescript@5.7.2)
optionalDependencies:
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
transitivePeerDependencies:
- '@types/node'
- rollup
- supports-color
vite-plugin-externalize-deps@0.8.0(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))):
vite-plugin-externalize-deps@0.8.0(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))):
dependencies:
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
vite-tsconfig-paths@4.3.2(typescript@5.7.2)(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))):
vite-tsconfig-paths@4.3.2(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))):
dependencies:
debug: 4.3.7
globrex: 0.1.2
tsconfck: 3.1.4(typescript@5.7.2)
optionalDependencies:
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
transitivePeerDependencies:
- supports-color
- typescript
vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)):
dependencies:
esbuild: 0.21.5
postcss: 8.4.49
rollup: 4.25.0
optionalDependencies:
'@types/node': 22.10.0
fsevents: 2.3.3
sugarss: 4.0.1(postcss@8.4.49)
vite@5.4.11(@types/node@22.9.0)(sugarss@4.0.1(postcss@8.4.49)):
dependencies:
esbuild: 0.21.5
@@ -7183,20 +7198,10 @@ snapshots:
fsevents: 2.3.3
sugarss: 4.0.1(postcss@8.4.49)
vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)):
dependencies:
esbuild: 0.21.5
postcss: 8.4.49
rollup: 4.25.0
optionalDependencies:
'@types/node': 22.9.3
fsevents: 2.3.3
sugarss: 4.0.1(postcss@8.4.49)
vitest@2.1.5(@types/node@22.9.3)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49)):
vitest@2.1.5(@types/node@22.10.0)(jsdom@25.0.1)(sugarss@4.0.1(postcss@8.4.49)):
dependencies:
'@vitest/expect': 2.1.5
'@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49)))
'@vitest/mocker': 2.1.5(vite@5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49)))
'@vitest/pretty-format': 2.1.5
'@vitest/runner': 2.1.5
'@vitest/snapshot': 2.1.5
@@ -7212,11 +7217,11 @@ snapshots:
tinyexec: 0.3.1
tinypool: 1.0.2
tinyrainbow: 1.2.0
vite: 5.4.11(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite-node: 2.1.5(@types/node@22.9.3)(sugarss@4.0.1(postcss@8.4.49))
vite: 5.4.11(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
vite-node: 2.1.5(@types/node@22.10.0)(sugarss@4.0.1(postcss@8.4.49))
why-is-node-running: 2.3.0
optionalDependencies:
'@types/node': 22.9.3
'@types/node': 22.10.0
jsdom: 25.0.1
transitivePeerDependencies:
- less