From 23905abc596b1f33515d83bbf65369495d73ada8 Mon Sep 17 00:00:00 2001 From: owjs3901 Date: Mon, 7 Apr 2025 11:30:03 +0900 Subject: [PATCH 1/2] Change breakpoint keyword --- Cargo.lock | 152 +++++------ bindings/devup-ui-wasm/src/lib.rs | 4 +- ...p_ui_wasm__tests__deserialize_theme-2.snap | 2 +- ...p_ui_wasm__tests__deserialize_theme-3.snap | 2 +- libs/extractor/Cargo.toml | 13 +- libs/extractor/src/lib.rs | 2 +- libs/extractor/src/style_extractor.rs | 8 +- libs/extractor/src/visit.rs | 5 +- libs/sheet/src/lib.rs | 4 +- .../snapshots/sheet__tests__deserialize.snap | 2 +- libs/sheet/src/theme.rs | 34 +-- package.json | 2 +- packages/next-plugin/package.json | 2 +- packages/react/package.json | 2 +- packages/vite-plugin/package.json | 2 +- packages/webpack-plugin/package.json | 2 +- pnpm-lock.yaml | 235 ++++++++++-------- 17 files changed, 249 insertions(+), 224 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 37dd3d7f..95424235 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -29,12 +29,6 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" -[[package]] -name = "assert-unchecked" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7330592adf847ee2e3513587b4db2db410a0d751378654e7e993d9adcbe5c795" - [[package]] name = "autocfg" version = "1.4.0" @@ -83,9 +77,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.17" +version = "1.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fcb57c740ae1daf453ae85f16e37396f672b039e00d9d866e07ddb24e328e3a" +checksum = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c" dependencies = [ "shlex", ] @@ -150,9 +144,9 @@ checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "compact_str" -version = "0.8.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b79c4069c6cad78e2e0cdfcbd26275770669fb39fd308a752dc110e83b9af32" +checksum = "3fdb1325a1cece981e8a296ab8f0f9b63ae357bd0784a9faaf548cc7b480707a" dependencies = [ "castaway", "cfg-if", @@ -312,6 +306,7 @@ dependencies = [ "once_cell", "oxc_allocator", "oxc_ast", + "oxc_ast_visit", "oxc_codegen", "oxc_parser", "oxc_span", @@ -429,9 +424,9 @@ checksum = "fbd780fe5cc30f81464441920d82ac8740e2e46b29a6fad543ddd075229ce37e" [[package]] name = "indexmap" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" +checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ "equivalent", "hashbrown", @@ -599,9 +594,9 @@ checksum = "1036865bb9422d3300cf723f657c2851d0e9ab12567854b1f4eba3d77decf564" [[package]] name = "oxc-miette" -version = "1.0.2" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e03e63fd113c068b82d07c9c614b0b146c08a3ac0a4dface3ea1d1a9d14d549e" +checksum = "b8c278d00ecc50ee84aba4768a7ab74eb325dff4dca8c0581495b850d53480ba" dependencies = [ "cfg-if", "owo-colors", @@ -613,9 +608,9 @@ dependencies = [ [[package]] name = "oxc-miette-derive" -version = "1.0.2" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e21f680e8c5f1900297d394627d495351b9e37761f7bbf90116bd5eeb6e80967" +checksum = "4c0c893f53900e3fe01eca3d6d3b54085573c3e48fe25af9d57dd94ef600dcd3" dependencies = [ "proc-macro2", "quote", @@ -624,28 +619,29 @@ dependencies = [ [[package]] name = "oxc_allocator" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf460405a383f3f7ac134a0e06afdb3525c8fa8f119453167f179ea6b12faaf6" +checksum = "fef6db9c542af8b1b0889c4fdbc4dfd0a13c5bec0f94ef39bb826084465d6b1e" dependencies = [ "allocator-api2", "bumpalo", "hashbrown", + "oxc_data_structures", "rustc-hash", "simdutf8", ] [[package]] name = "oxc_ast" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b273094a3e96e84d3d8ce82190fd7113f70bb2a8dcb652c78b46df79fdd156cc" +checksum = "c269cf713bed18d74e957045d2b1cf57827333a66aad2b2c136c9f8b79940bd2" dependencies = [ "bitflags", "cow-utils", - "nonmax", "oxc_allocator", "oxc_ast_macros", + "oxc_data_structures", "oxc_estree", "oxc_regular_expression", "oxc_span", @@ -654,20 +650,32 @@ dependencies = [ [[package]] name = "oxc_ast_macros" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab1dff20655433e64452ee12a9c87dba5d307a47fc8e155b4e37d746d66b37dd" +checksum = "d1d8afe9d7e4aed37d6e8906250db4872f514c15a244268ce3da09ccb4017900" dependencies = [ "proc-macro2", "quote", "syn", ] +[[package]] +name = "oxc_ast_visit" +version = "0.62.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d360f012f970b3e79f8f9863abb83b373014eb9d1a23fecd7ce33e555cc3151" +dependencies = [ + "oxc_allocator", + "oxc_ast", + "oxc_span", + "oxc_syntax", +] + [[package]] name = "oxc_cfg" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f289d7b40c97d1b7d2a8cf1528cd5af0f3f4e832dffdec20b6485b9d6240de0b" +checksum = "17a48085dd0ca7e8f3ad946a131d8229af783be65cbf4965ff6379e432f6b625" dependencies = [ "bitflags", "itertools 0.14.0", @@ -680,11 +688,10 @@ dependencies = [ [[package]] name = "oxc_codegen" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8aa20c10288eacf1a8ec93981198c1428c7c9d0436ae7e0f0037a02e87535c94" +checksum = "f1e6d4e1c953205c62effeb61c1da684dd1668feaf21b4fe15c2b603526355f6" dependencies = [ - "assert-unchecked", "bitflags", "cow-utils", "nonmax", @@ -702,19 +709,15 @@ dependencies = [ [[package]] name = "oxc_data_structures" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e902c119eca30d0016d3d2aed31052d6e3ef1f594d71ca3fe193286771a8088d" -dependencies = [ - "assert-unchecked", - "ropey", -] +checksum = "4e2866696e6bb90151c5687a961c3ff1fa2726436869d42eea14cf2d5c663590" [[package]] name = "oxc_diagnostics" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "640a5f40eb0e09725a5e9c90e88727272c999d9805403747e2140cab2a742b6e" +checksum = "5d7800336d376a2baeafb9d2bcdc9fbef254863c33810e6d1cc4a431cd0048ef" dependencies = [ "cow-utils", "oxc-miette", @@ -722,9 +725,9 @@ dependencies = [ [[package]] name = "oxc_ecmascript" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87543a59fd0d2d27102ccd8eee9f954564f7e82124992cc21975bbbe75851ce4" +checksum = "0edf650adfacf84768cdfeca874d8f5ffebfd108ee8a44959c0eca82b04321c6" dependencies = [ "cow-utils", "num-bigint", @@ -736,26 +739,22 @@ dependencies = [ [[package]] name = "oxc_estree" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1efeb3bb8ce6bced1e382e49d3978a2e5067cdc3881584f1cdef5aaf52d28b4" -dependencies = [ - "itoa", -] +checksum = "fd77f6588d373c1b753588b784de380a7418f8e46776e25c4564739994b9a5a6" [[package]] name = "oxc_index" -version = "2.0.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5eca5d9726cd0a6e433debe003b7bc88b2ecad0bb6109f0cef7c55e692139a34" +checksum = "2fa07b0cfa997730afed43705766ef27792873fdf5215b1391949fec678d2392" [[package]] name = "oxc_parser" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f5195b60a980baf22e34c801c8a37901ee21149e523d2a2fc68111991dd0b6" +checksum = "b8eaebe1ac01073b2a43a8848ae7ec24fdad3813855d72bb1942908632654f94" dependencies = [ - "assert-unchecked", "bitflags", "cow-utils", "memchr", @@ -763,6 +762,7 @@ dependencies = [ "num-traits", "oxc_allocator", "oxc_ast", + "oxc_data_structures", "oxc_diagnostics", "oxc_ecmascript", "oxc_regular_expression", @@ -774,9 +774,9 @@ dependencies = [ [[package]] name = "oxc_regular_expression" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6b7199022f1e8a071a118737884cdf75bd3ba869471fd500f00dd4612a4faeb" +checksum = "c9ad8833ffba010e9f4cced1482297282728b0dc1c410cd716f206d214250f3f" dependencies = [ "oxc_allocator", "oxc_ast_macros", @@ -790,14 +790,14 @@ dependencies = [ [[package]] name = "oxc_semantic" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55da371ce5345676e602719ce048eb2343b3e7b1798c6275e06ea431917340af" +checksum = "0523c9521e3ee63d6e0b463941e030b482977d7c323ee802eebacac8e5227bc8" dependencies = [ - "assert-unchecked", "itertools 0.14.0", "oxc_allocator", "oxc_ast", + "oxc_ast_visit", "oxc_cfg", "oxc_data_structures", "oxc_diagnostics", @@ -812,9 +812,9 @@ dependencies = [ [[package]] name = "oxc_sourcemap" -version = "1.0.9" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcb048fad7eee078b23dc3f3be7aba94eeba596c892c9255fc2646fba232a2ec" +checksum = "6665c417b2aa1c426a7b142bcc0d2f47d9fee9e6f88610f054cfa7ce6623001e" dependencies = [ "base64-simd", "cfg-if", @@ -826,9 +826,9 @@ dependencies = [ [[package]] name = "oxc_span" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3cbaec227f5bb91e52a04f9028915973cbb7522b123b41af2d3189eb1ce41d8" +checksum = "2bcfa55b4e3de93d39528b4ac616c00918dc73b6f6828403b3c56a7dde7af23b" dependencies = [ "compact_str", "oxc-miette", @@ -839,16 +839,16 @@ dependencies = [ [[package]] name = "oxc_syntax" -version = "0.52.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91bd42fae0c0e6212ea704ed533df47748002abc0af5496911fdb09735028a77" +checksum = "7bc0d1f63b254791867280db5e582d7411c112f0798eee50bfdb8cdd2ef80c93" dependencies = [ - "assert-unchecked", "bitflags", "cow-utils", "nonmax", "oxc_allocator", "oxc_ast_macros", + "oxc_data_structures", "oxc_estree", "oxc_index", "oxc_span", @@ -1048,9 +1048,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.10" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1" +checksum = "d2f103c6d277498fbceb16e84d317e2a400f160f46904d5f5410848c829511a3" dependencies = [ "bitflags", ] @@ -1084,16 +1084,6 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" -[[package]] -name = "ropey" -version = "1.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93411e420bcd1a75ddd1dc3caf18c23155eda2c090631a85af21ba19e97093b5" -dependencies = [ - "smallvec", - "str_indices", -] - [[package]] name = "rustc-hash" version = "2.1.1" @@ -1276,9 +1266,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.14.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcf8323ef1faaee30a44a340193b1ac6814fd9b7b4e88e9d4519a3e4abe1cfd" +checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" [[package]] name = "smawk" @@ -1292,12 +1282,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "str_indices" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d08889ec5408683408db66ad89e0e1f93dff55c73a4ccc71c427d5b277ee47e6" - [[package]] name = "syn" version = "2.0.100" @@ -1322,18 +1306,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.69" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.69" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" dependencies = [ "proc-macro2", "quote", diff --git a/bindings/devup-ui-wasm/src/lib.rs b/bindings/devup-ui-wasm/src/lib.rs index 564fa736..6673309f 100644 --- a/bindings/devup-ui-wasm/src/lib.rs +++ b/bindings/devup-ui-wasm/src/lib.rs @@ -1,6 +1,6 @@ use css::{get_class_map, set_class_map}; use extractor::extract_style::ExtractStyleValue; -use extractor::{extract, ExtractOption, StyleProperty}; +use extractor::{ExtractOption, StyleProperty, extract}; use once_cell::sync::Lazy; use sheet::StyleSheet; use std::collections::HashSet; @@ -331,7 +331,7 @@ mod tests { }"##, ) .unwrap(); - assert_eq!(theme.break_points, vec![0, 480, 768, 992, 1280]); + assert_eq!(theme.breakpoints, vec![0, 480, 768, 992, 1280]); assert_debug_snapshot!(theme.to_css()); } { diff --git a/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-2.snap b/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-2.snap index 9bca570c..c4e92f52 100644 --- a/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-2.snap +++ b/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-2.snap @@ -15,7 +15,7 @@ Theme { }, ), }, - break_points: [ + breakpoints: [ 0, 480, 768, diff --git a/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-3.snap b/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-3.snap index 8f09df48..15bedb5d 100644 --- a/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-3.snap +++ b/bindings/devup-ui-wasm/src/snapshots/devup_ui_wasm__tests__deserialize_theme-3.snap @@ -4,7 +4,7 @@ expression: theme --- Theme { colors: {}, - break_points: [ + breakpoints: [ 0, 480, 768, diff --git a/libs/extractor/Cargo.toml b/libs/extractor/Cargo.toml index b0c78213..f2e67a82 100644 --- a/libs/extractor/Cargo.toml +++ b/libs/extractor/Cargo.toml @@ -4,12 +4,13 @@ version = "0.1.0" edition = "2024" [dependencies] -oxc_parser = "0.52.0" -oxc_syntax = "0.52.0" -oxc_span = "0.52.0" -oxc_allocator = "0.52.0" -oxc_ast = "0.52.0" -oxc_codegen = "0.52.0" +oxc_parser = "0.62.0" +oxc_syntax = "0.62.0" +oxc_span = "0.62.0" +oxc_allocator = "0.62.0" +oxc_ast = "0.62.0" +oxc_ast_visit = "0.62.0" +oxc_codegen = "0.62.0" css = { path = "../css" } once_cell = "1.21.3" diff --git a/libs/extractor/src/lib.rs b/libs/extractor/src/lib.rs index c750a2fc..8b059780 100644 --- a/libs/extractor/src/lib.rs +++ b/libs/extractor/src/lib.rs @@ -9,8 +9,8 @@ mod visit; use crate::extract_style::ExtractStyleValue; use crate::visit::DevupVisitor; use oxc_allocator::Allocator; -use oxc_ast::VisitMut; use oxc_ast::ast::Expression; +use oxc_ast_visit::VisitMut; use oxc_codegen::Codegen; use oxc_parser::{Parser, ParserReturn}; use oxc_span::SourceType; diff --git a/libs/extractor/src/style_extractor.rs b/libs/extractor/src/style_extractor.rs index 728e47f5..333461fc 100644 --- a/libs/extractor/src/style_extractor.rs +++ b/libs/extractor/src/style_extractor.rs @@ -378,19 +378,19 @@ pub fn extract_style_from_expression<'a>( ast_builder.vec_from_array([ ast_builder.template_element( SPAN, - false, TemplateElementValue { raw: ast_builder.atom("typo-"), cooked: None, }, + false, ), ast_builder.template_element( SPAN, - true, TemplateElementValue { raw: ast_builder.atom(""), cooked: None, }, + true, ), ]), ast_builder.vec_from_array([ @@ -432,19 +432,19 @@ pub fn extract_style_from_expression<'a>( ast_builder.vec_from_array([ ast_builder.template_element( SPAN, - false, TemplateElementValue { raw: ast_builder.atom("typo-"), cooked: None, }, + false, ), ast_builder.template_element( SPAN, - true, TemplateElementValue { raw: ast_builder.atom(""), cooked: None, }, + true, ), ]), ast_builder.vec_from_array([ diff --git a/libs/extractor/src/visit.rs b/libs/extractor/src/visit.rs index a333cfc4..cebf2396 100644 --- a/libs/extractor/src/visit.rs +++ b/libs/extractor/src/visit.rs @@ -16,13 +16,14 @@ use oxc_ast::ast::{ ImportOrExportKind, JSXElement, JSXElementName, Program, PropertyKey, Statement, VariableDeclarator, WithClause, }; -use oxc_ast::visit::walk_mut::{ +use oxc_ast_visit::VisitMut; +use oxc_ast_visit::walk_mut::{ walk_call_expression, walk_expression, walk_import_declaration, walk_jsx_element, walk_program, walk_variable_declarator, }; use crate::utils::get_number_by_jsx_expression; -use oxc_ast::{AstBuilder, VisitMut}; +use oxc_ast::AstBuilder; use oxc_span::SPAN; use std::collections::{HashMap, HashSet}; diff --git a/libs/sheet/src/lib.rs b/libs/sheet/src/lib.rs index 9d625899..5f57e192 100644 --- a/libs/sheet/src/lib.rs +++ b/libs/sheet/src/lib.rs @@ -188,13 +188,13 @@ impl StyleSheet { } else { Some( self.theme - .break_points + .breakpoints .iter() .enumerate() .find(|(idx, _)| (*idx as u8) == *level) .map(|(_, bp)| *bp) .unwrap_or_else(|| { - self.theme.break_points.last().cloned().unwrap_or(0) + self.theme.breakpoints.last().cloned().unwrap_or(0) }), ) }; diff --git a/libs/sheet/src/snapshots/sheet__tests__deserialize.snap b/libs/sheet/src/snapshots/sheet__tests__deserialize.snap index 527c94a1..509cf5a8 100644 --- a/libs/sheet/src/snapshots/sheet__tests__deserialize.snap +++ b/libs/sheet/src/snapshots/sheet__tests__deserialize.snap @@ -18,7 +18,7 @@ StyleSheet { css: {}, theme: Theme { colors: {}, - break_points: [ + breakpoints: [ 0, 480, 768, diff --git a/libs/sheet/src/theme.rs b/libs/sheet/src/theme.rs index 0979c2ee..f4eff29f 100644 --- a/libs/sheet/src/theme.rs +++ b/libs/sheet/src/theme.rs @@ -89,13 +89,13 @@ impl<'de> Deserialize<'de> for Typographies { pub struct Theme { #[serde(default)] pub colors: BTreeMap, - #[serde(default = "default_break_points")] - pub break_points: Vec, + #[serde(default = "default_breakpoints")] + pub breakpoints: Vec, #[serde(default)] pub typography: BTreeMap, } -fn default_break_points() -> Vec { +fn default_breakpoints() -> Vec { vec![0, 480, 768, 992, 1280] } @@ -103,20 +103,20 @@ impl Default for Theme { fn default() -> Self { Self { colors: Default::default(), - break_points: vec![0, 480, 768, 992, 1280], + breakpoints: vec![0, 480, 768, 992, 1280], typography: BTreeMap::new(), } } } impl Theme { - pub fn update_break_points(&mut self, break_points: Vec) { - for (idx, value) in break_points.iter().enumerate() { - let prev = self.break_points.get_mut(idx); + pub fn update_breakpoints(&mut self, breakpoints: Vec) { + for (idx, value) in breakpoints.iter().enumerate() { + let prev = self.breakpoints.get_mut(idx); if let Some(prev) = prev { *prev = *value; } else { - self.break_points.push(*value); + self.breakpoints.push(*value); } } } @@ -193,7 +193,7 @@ impl Theme { let mut css = theme_declaration; let mut level_map = BTreeMap::>::new(); for ty in self.typography.iter() { - for (idx, t) in ty.1 .0.iter().enumerate() { + for (idx, t) in ty.1.0.iter().enumerate() { if let Some(t) = t { let css_content = format!( "{}{}{}{}{}", @@ -235,7 +235,7 @@ impl Theme { if level == 0 { css.push_str(css_vec.join("").as_str()); } else if let Some(media) = self - .break_points + .breakpoints .get(level as usize) .map(|v| format!("(min-width:{}px)", v)) { @@ -421,13 +421,13 @@ mod tests { } #[test] - fn update_break_points() { + fn update_breakpoints() { let mut theme = Theme::default(); - theme.update_break_points(vec![0, 480, 768, 992, 1280]); - assert_eq!(theme.break_points, vec![0, 480, 768, 992, 1280]); - theme.update_break_points(vec![0, 480, 768, 992, 1280, 1600]); - assert_eq!(theme.break_points, vec![0, 480, 768, 992, 1280, 1600]); - theme.update_break_points(vec![0, 480, 768, 992, 1280, 1600, 1920]); - assert_eq!(theme.break_points, vec![0, 480, 768, 992, 1280, 1600, 1920]); + theme.update_breakpoints(vec![0, 480, 768, 992, 1280]); + assert_eq!(theme.breakpoints, vec![0, 480, 768, 992, 1280]); + theme.update_breakpoints(vec![0, 480, 768, 992, 1280, 1600]); + assert_eq!(theme.breakpoints, vec![0, 480, 768, 992, 1280, 1600]); + theme.update_breakpoints(vec![0, 480, 768, 992, 1280, 1600, 1920]); + assert_eq!(theme.breakpoints, vec![0, 480, 768, 992, 1280, 1600, 1920]); } } diff --git a/package.json b/package.json index d0902230..64423939 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "devDependencies": { "eslint-plugin-devup": "^2.0.5", - "eslint": "^9.23.0", + "eslint": "^9.24.0", "vitest": "^3.1.1", "@vitest/coverage-v8": "^3.1.1", "@changesets/cli": "^2.28.1", diff --git a/packages/next-plugin/package.json b/packages/next-plugin/package.json index fe78389a..fd530592 100644 --- a/packages/next-plugin/package.json +++ b/packages/next-plugin/package.json @@ -30,7 +30,7 @@ "vite": "^6.2.5", "vite-plugin-dts": "^4.5.3", "vitest": "^3.1.1", - "typescript": "^5.8.2" + "typescript": "^5.8.3" }, "peerDependencies": { "@devup-ui/webpack-plugin": "*", diff --git a/packages/react/package.json b/packages/react/package.json index 8ffc3ee7..b0852895 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -31,7 +31,7 @@ "vite": "^6.2.5", "vite-plugin-dts": "^4.5.3", "vitest": "^3.1.1", - "typescript": "^5.8.2", + "typescript": "^5.8.3", "@types/react": "^19" }, "peerDependencies": { diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index b57ad8ed..0cac9b12 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -27,7 +27,7 @@ }, "devDependencies": { "vite-plugin-dts": "^4.5.3", - "typescript": "^5.8.2" + "typescript": "^5.8.3" }, "peerDependencies": { "vite": "*", diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index 63cbc3a5..993577ca 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -42,6 +42,6 @@ "@types/webpack": "^5.28.5", "vite-plugin-dts": "^4.5.3", "vitest": "^3.1.1", - "typescript": "^5.8.2" + "typescript": "^5.8.3" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5879d82a..78d1a435 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,11 +24,11 @@ importers: specifier: ^3.1.1 version: 3.1.1(vitest@3.1.1(@types/debug@4.1.12)(@types/node@22.14.0)(happy-dom@17.4.4)(terser@5.39.0)) eslint: - specifier: ^9.23.0 - version: 9.23.0 + specifier: ^9.24.0 + version: 9.24.0 eslint-plugin-devup: specifier: ^2.0.5 - version: 2.0.5(@types/eslint@9.6.1)(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2) + version: 2.0.5(@types/eslint@9.6.1)(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3) happy-dom: specifier: ^17.4.4 version: 17.4.4 @@ -310,14 +310,14 @@ importers: version: 15.2.4(@babel/core@7.26.10)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) devDependencies: typescript: - specifier: ^5.8.2 - version: 5.8.2 + specifier: ^5.8.3 + version: 5.8.3 vite: specifier: ^6 version: 6.2.5(@types/node@22.14.0)(terser@5.39.0) vite-plugin-dts: specifier: ^4.5.3 - version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.2)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) + version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.3)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) vitest: specifier: ^3.1.1 version: 3.1.1(@types/debug@4.1.12)(@types/node@22.14.0)(happy-dom@17.4.4)(terser@5.39.0) @@ -338,14 +338,14 @@ importers: specifier: ^0.4.0 version: 0.4.0(rollup@4.39.0) typescript: - specifier: ^5.8.2 - version: 5.8.2 + specifier: ^5.8.3 + version: 5.8.3 vite: specifier: ^6 version: 6.2.5(@types/node@22.14.0)(terser@5.39.0) vite-plugin-dts: specifier: ^4.5.3 - version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.2)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) + version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.3)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) vitest: specifier: ^3.1.1 version: 3.1.1(@types/debug@4.1.12)(@types/node@22.14.0)(happy-dom@17.4.4)(terser@5.39.0) @@ -360,11 +360,11 @@ importers: version: 6.2.5(@types/node@22.14.0)(terser@5.39.0) devDependencies: typescript: - specifier: ^5.8.2 - version: 5.8.2 + specifier: ^5.8.3 + version: 5.8.3 vite-plugin-dts: specifier: ^4.5.3 - version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.2)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) + version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.3)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) packages/webpack-plugin: dependencies: @@ -376,14 +376,14 @@ importers: specifier: ^5.28.5 version: 5.28.5 typescript: - specifier: ^5.8.2 - version: 5.8.2 + specifier: ^5.8.3 + version: 5.8.3 vite: specifier: ^6 version: 6.2.5(@types/node@22.14.0)(terser@5.39.0) vite-plugin-dts: specifier: ^4.5.3 - version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.2)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) + version: 4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.3)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)) vitest: specifier: ^3.1.1 version: 3.1.1(@types/debug@4.1.12)(@types/node@22.14.0)(happy-dom@17.4.4)(terser@5.39.0) @@ -1356,8 +1356,8 @@ packages: resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/config-array@0.19.2': - resolution: {integrity: sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==} + '@eslint/config-array@0.20.0': + resolution: {integrity: sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/config-helpers@0.2.1': @@ -1376,8 +1376,8 @@ packages: resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@eslint/js@9.23.0': - resolution: {integrity: sha512-35MJ8vCPU0ZMxo7zfev2pypqTwWTofFZO6m4KAtdoFhRpLJUpHTZZ+KB3C7Hb1d7bULYwO4lJXGCi5Se+8OMbw==} + '@eslint/js@9.24.0': + resolution: {integrity: sha512-uIY/y3z0uvOGX8cp1C2fiC4+ZmBhp6yZWkojtHL1YEMnRt1Y63HB9TM17proGEmeG7HeUY+UP36F0aknKYTpYA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/object-schema@2.1.6': @@ -1717,8 +1717,8 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@pkgr/core@0.2.0': - resolution: {integrity: sha512-vsJDAkYR6qCPu+ioGScGiMYR7LvZYIXh/dlQeviqoTWNCVfKTLYD/LkNWH4Mxsv2a5vpIRc77FN5DnmK1eBggQ==} + '@pkgr/core@0.2.1': + resolution: {integrity: sha512-VzgHzGblFmUeBmmrk55zPyrQIArQN4vujc9shWytaPdB3P7qhi0cpaiKIr7tlCmFv2lYUwnLospIqjL9ZSAhhg==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} '@rollup/pluginutils@5.1.4': @@ -2912,8 +2912,8 @@ packages: resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint@9.23.0: - resolution: {integrity: sha512-jV7AbNoFPAY1EkFYpLq5bslU9NLNO8xnEeQXwErNibVryjk67wHVmddTBilc5srIttJDBrB0eMHKZBFbSIABCw==} + eslint@9.24.0: + resolution: {integrity: sha512-eh/jxIEJyZrvbWRe4XuVclLPDYSYYYgLy5zXGGxD6j8zjSAxFEzI2fL/8xNq6O2yKqVt+eF2YhV+hxjV6UKXwQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true peerDependencies: @@ -4394,8 +4394,8 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - synckit@0.11.1: - resolution: {integrity: sha512-fWZqNBZNNFp/7mTUy1fSsydhKsAKJ+u90Nk7kOK5Gcq9vObaqLBLjWFDBkyVU9Vvc6Y71VbOevMuGhqv02bT+Q==} + synckit@0.11.2: + resolution: {integrity: sha512-1IUffI8zZ8qUMB3NUJIjk0RpLroG/8NkQDAWH1NbB2iJ0/5pn3M8rxfNzMz4GH9OnYaGYn31LEDSXJp/qIlxgA==} engines: {node: ^14.18.0 || >=16.0.0} tapable@2.2.1: @@ -4507,6 +4507,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@5.8.3: + resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} + engines: {node: '>=14.17'} + hasBin: true + ufo@1.5.4: resolution: {integrity: sha512-UsUk3byDzKd04EyoZ7U4DOlxQaD14JUKQl6/P7wiX4FNvUfm3XL246n9W5AmqwW5RSFJ27NAuM0iLscAOYUiGQ==} @@ -5914,14 +5919,14 @@ snapshots: '@esbuild/win32-x64@0.25.2': optional: true - '@eslint-community/eslint-utils@4.5.1(eslint@9.23.0)': + '@eslint-community/eslint-utils@4.5.1(eslint@9.24.0)': dependencies: - eslint: 9.23.0 + eslint: 9.24.0 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.1': {} - '@eslint/config-array@0.19.2': + '@eslint/config-array@0.20.0': dependencies: '@eslint/object-schema': 2.1.6 debug: 4.4.0 @@ -5953,7 +5958,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@eslint/js@9.23.0': {} + '@eslint/js@9.24.0': {} '@eslint/object-schema@2.1.6': {} @@ -6330,7 +6335,7 @@ snapshots: '@pkgjs/parseargs@0.11.0': optional: true - '@pkgr/core@0.2.0': {} + '@pkgr/core@0.2.1': {} '@rollup/pluginutils@5.1.4(rollup@4.39.0)': dependencies: @@ -6440,10 +6445,10 @@ snapshots: dependencies: tslib: 2.8.1 - '@tanstack/eslint-plugin-query@5.71.5(eslint@9.23.0)(typescript@5.8.2)': + '@tanstack/eslint-plugin-query@5.71.5(eslint@9.24.0)(typescript@5.8.3)': dependencies: - '@typescript-eslint/utils': 8.29.0(eslint@9.23.0)(typescript@5.8.2) - eslint: 9.23.0 + '@typescript-eslint/utils': 8.29.0(eslint@9.24.0)(typescript@5.8.3) + eslint: 9.24.0 transitivePeerDependencies: - supports-color - typescript @@ -6578,32 +6583,32 @@ snapshots: - uglify-js - webpack-cli - '@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2)': + '@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.29.0(eslint@9.23.0)(typescript@5.8.2) + '@typescript-eslint/parser': 8.29.0(eslint@9.24.0)(typescript@5.8.3) '@typescript-eslint/scope-manager': 8.29.0 - '@typescript-eslint/type-utils': 8.29.0(eslint@9.23.0)(typescript@5.8.2) - '@typescript-eslint/utils': 8.29.0(eslint@9.23.0)(typescript@5.8.2) + '@typescript-eslint/type-utils': 8.29.0(eslint@9.24.0)(typescript@5.8.3) + '@typescript-eslint/utils': 8.29.0(eslint@9.24.0)(typescript@5.8.3) '@typescript-eslint/visitor-keys': 8.29.0 - eslint: 9.23.0 + eslint: 9.24.0 graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 2.1.0(typescript@5.8.2) - typescript: 5.8.2 + ts-api-utils: 2.1.0(typescript@5.8.3) + typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2)': + '@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3)': dependencies: '@typescript-eslint/scope-manager': 8.29.0 '@typescript-eslint/types': 8.29.0 - '@typescript-eslint/typescript-estree': 8.29.0(typescript@5.8.2) + '@typescript-eslint/typescript-estree': 8.29.0(typescript@5.8.3) '@typescript-eslint/visitor-keys': 8.29.0 debug: 4.4.0 - eslint: 9.23.0 - typescript: 5.8.2 + eslint: 9.24.0 + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -6612,20 +6617,20 @@ snapshots: '@typescript-eslint/types': 8.29.0 '@typescript-eslint/visitor-keys': 8.29.0 - '@typescript-eslint/type-utils@8.29.0(eslint@9.23.0)(typescript@5.8.2)': + '@typescript-eslint/type-utils@8.29.0(eslint@9.24.0)(typescript@5.8.3)': dependencies: - '@typescript-eslint/typescript-estree': 8.29.0(typescript@5.8.2) - '@typescript-eslint/utils': 8.29.0(eslint@9.23.0)(typescript@5.8.2) + '@typescript-eslint/typescript-estree': 8.29.0(typescript@5.8.3) + '@typescript-eslint/utils': 8.29.0(eslint@9.24.0)(typescript@5.8.3) debug: 4.4.0 - eslint: 9.23.0 - ts-api-utils: 2.1.0(typescript@5.8.2) - typescript: 5.8.2 + eslint: 9.24.0 + ts-api-utils: 2.1.0(typescript@5.8.3) + typescript: 5.8.3 transitivePeerDependencies: - supports-color '@typescript-eslint/types@8.29.0': {} - '@typescript-eslint/typescript-estree@8.29.0(typescript@5.8.2)': + '@typescript-eslint/typescript-estree@8.29.0(typescript@5.8.3)': dependencies: '@typescript-eslint/types': 8.29.0 '@typescript-eslint/visitor-keys': 8.29.0 @@ -6634,19 +6639,19 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.7.1 - ts-api-utils: 2.1.0(typescript@5.8.2) - typescript: 5.8.2 + ts-api-utils: 2.1.0(typescript@5.8.3) + typescript: 5.8.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.29.0(eslint@9.23.0)(typescript@5.8.2)': + '@typescript-eslint/utils@8.29.0(eslint@9.24.0)(typescript@5.8.3)': dependencies: - '@eslint-community/eslint-utils': 4.5.1(eslint@9.23.0) + '@eslint-community/eslint-utils': 4.5.1(eslint@9.24.0) '@typescript-eslint/scope-manager': 8.29.0 '@typescript-eslint/types': 8.29.0 - '@typescript-eslint/typescript-estree': 8.29.0(typescript@5.8.2) - eslint: 9.23.0 - typescript: 5.8.2 + '@typescript-eslint/typescript-estree': 8.29.0(typescript@5.8.3) + eslint: 9.24.0 + typescript: 5.8.3 transitivePeerDependencies: - supports-color @@ -6769,6 +6774,19 @@ snapshots: optionalDependencies: typescript: 5.8.2 + '@vue/language-core@2.2.0(typescript@5.8.3)': + dependencies: + '@volar/language-core': 2.4.12 + '@vue/compiler-dom': 3.5.13 + '@vue/compiler-vue2': 2.7.16 + '@vue/shared': 3.5.13 + alien-signals: 0.4.14 + minimatch: 9.0.5 + muggle-string: 0.4.1 + path-browserify: 1.0.1 + optionalDependencies: + typescript: 5.8.3 + '@vue/shared@3.5.13': {} '@webassemblyjs/ast@1.14.1': @@ -7932,44 +7950,44 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@10.1.1(eslint@9.23.0): + eslint-config-prettier@10.1.1(eslint@9.24.0): dependencies: - eslint: 9.23.0 + eslint: 9.24.0 - eslint-plugin-devup@2.0.5(@types/eslint@9.6.1)(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2): + eslint-plugin-devup@2.0.5(@types/eslint@9.6.1)(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3): dependencies: - '@eslint/js': 9.23.0 - '@tanstack/eslint-plugin-query': 5.71.5(eslint@9.23.0)(typescript@5.8.2) - eslint: 9.23.0 - eslint-config-prettier: 10.1.1(eslint@9.23.0) - eslint-plugin-prettier: 5.2.6(@types/eslint@9.6.1)(eslint-config-prettier@10.1.1(eslint@9.23.0))(eslint@9.23.0)(prettier@3.5.3) - eslint-plugin-react: 7.37.5(eslint@9.23.0) - eslint-plugin-react-hooks: 5.2.0(eslint@9.23.0) - eslint-plugin-simple-import-sort: 12.1.1(eslint@9.23.0) - eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0) + '@eslint/js': 9.24.0 + '@tanstack/eslint-plugin-query': 5.71.5(eslint@9.24.0)(typescript@5.8.3) + eslint: 9.24.0 + eslint-config-prettier: 10.1.1(eslint@9.24.0) + eslint-plugin-prettier: 5.2.6(@types/eslint@9.6.1)(eslint-config-prettier@10.1.1(eslint@9.24.0))(eslint@9.24.0)(prettier@3.5.3) + eslint-plugin-react: 7.37.5(eslint@9.24.0) + eslint-plugin-react-hooks: 5.2.0(eslint@9.24.0) + eslint-plugin-simple-import-sort: 12.1.1(eslint@9.24.0) + eslint-plugin-unused-imports: 4.1.4(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0) prettier: 3.5.3 - typescript-eslint: 8.29.0(eslint@9.23.0)(typescript@5.8.2) + typescript-eslint: 8.29.0(eslint@9.24.0)(typescript@5.8.3) transitivePeerDependencies: - '@types/eslint' - '@typescript-eslint/eslint-plugin' - supports-color - typescript - eslint-plugin-prettier@5.2.6(@types/eslint@9.6.1)(eslint-config-prettier@10.1.1(eslint@9.23.0))(eslint@9.23.0)(prettier@3.5.3): + eslint-plugin-prettier@5.2.6(@types/eslint@9.6.1)(eslint-config-prettier@10.1.1(eslint@9.24.0))(eslint@9.24.0)(prettier@3.5.3): dependencies: - eslint: 9.23.0 + eslint: 9.24.0 prettier: 3.5.3 prettier-linter-helpers: 1.0.0 - synckit: 0.11.1 + synckit: 0.11.2 optionalDependencies: '@types/eslint': 9.6.1 - eslint-config-prettier: 10.1.1(eslint@9.23.0) + eslint-config-prettier: 10.1.1(eslint@9.24.0) - eslint-plugin-react-hooks@5.2.0(eslint@9.23.0): + eslint-plugin-react-hooks@5.2.0(eslint@9.24.0): dependencies: - eslint: 9.23.0 + eslint: 9.24.0 - eslint-plugin-react@7.37.5(eslint@9.23.0): + eslint-plugin-react@7.37.5(eslint@9.24.0): dependencies: array-includes: 3.1.8 array.prototype.findlast: 1.2.5 @@ -7977,7 +7995,7 @@ snapshots: array.prototype.tosorted: 1.1.4 doctrine: 2.1.0 es-iterator-helpers: 1.2.1 - eslint: 9.23.0 + eslint: 9.24.0 estraverse: 5.3.0 hasown: 2.0.2 jsx-ast-utils: 3.3.5 @@ -7991,15 +8009,15 @@ snapshots: string.prototype.matchall: 4.0.12 string.prototype.repeat: 1.0.0 - eslint-plugin-simple-import-sort@12.1.1(eslint@9.23.0): + eslint-plugin-simple-import-sort@12.1.1(eslint@9.24.0): dependencies: - eslint: 9.23.0 + eslint: 9.24.0 - eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0): + eslint-plugin-unused-imports@4.1.4(@typescript-eslint/eslint-plugin@8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0): dependencies: - eslint: 9.23.0 + eslint: 9.24.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2) + '@typescript-eslint/eslint-plugin': 8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3) eslint-scope@5.1.1: dependencies: @@ -8015,15 +8033,15 @@ snapshots: eslint-visitor-keys@4.2.0: {} - eslint@9.23.0: + eslint@9.24.0: dependencies: - '@eslint-community/eslint-utils': 4.5.1(eslint@9.23.0) + '@eslint-community/eslint-utils': 4.5.1(eslint@9.24.0) '@eslint-community/regexpp': 4.12.1 - '@eslint/config-array': 0.19.2 + '@eslint/config-array': 0.20.0 '@eslint/config-helpers': 0.2.1 '@eslint/core': 0.12.0 '@eslint/eslintrc': 3.3.1 - '@eslint/js': 9.23.0 + '@eslint/js': 9.24.0 '@eslint/plugin-kit': 0.2.8 '@humanfs/node': 0.16.6 '@humanwhocodes/module-importer': 1.0.1 @@ -9892,9 +9910,9 @@ snapshots: supports-preserve-symlinks-flag@1.0.0: {} - synckit@0.11.1: + synckit@0.11.2: dependencies: - '@pkgr/core': 0.2.0 + '@pkgr/core': 0.2.1 tslib: 2.8.1 tapable@2.2.1: {} @@ -9945,9 +9963,9 @@ snapshots: trough@2.2.0: {} - ts-api-utils@2.1.0(typescript@5.8.2): + ts-api-utils@2.1.0(typescript@5.8.3): dependencies: - typescript: 5.8.2 + typescript: 5.8.3 ts-morph@19.0.0: dependencies: @@ -9993,18 +10011,20 @@ snapshots: possible-typed-array-names: 1.1.0 reflect.getprototypeof: 1.0.10 - typescript-eslint@8.29.0(eslint@9.23.0)(typescript@5.8.2): + typescript-eslint@8.29.0(eslint@9.24.0)(typescript@5.8.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.23.0)(typescript@5.8.2))(eslint@9.23.0)(typescript@5.8.2) - '@typescript-eslint/parser': 8.29.0(eslint@9.23.0)(typescript@5.8.2) - '@typescript-eslint/utils': 8.29.0(eslint@9.23.0)(typescript@5.8.2) - eslint: 9.23.0 - typescript: 5.8.2 + '@typescript-eslint/eslint-plugin': 8.29.0(@typescript-eslint/parser@8.29.0(eslint@9.24.0)(typescript@5.8.3))(eslint@9.24.0)(typescript@5.8.3) + '@typescript-eslint/parser': 8.29.0(eslint@9.24.0)(typescript@5.8.3) + '@typescript-eslint/utils': 8.29.0(eslint@9.24.0)(typescript@5.8.3) + eslint: 9.24.0 + typescript: 5.8.3 transitivePeerDependencies: - supports-color typescript@5.8.2: {} + typescript@5.8.3: {} + ufo@1.5.4: {} unbox-primitive@1.1.0: @@ -10136,6 +10156,25 @@ snapshots: - rollup - supports-color + vite-plugin-dts@4.5.3(@types/node@22.14.0)(rollup@4.39.0)(typescript@5.8.3)(vite@6.2.5(@types/node@22.14.0)(terser@5.39.0)): + dependencies: + '@microsoft/api-extractor': 7.52.2(@types/node@22.14.0) + '@rollup/pluginutils': 5.1.4(rollup@4.39.0) + '@volar/typescript': 2.4.12 + '@vue/language-core': 2.2.0(typescript@5.8.3) + compare-versions: 6.1.1 + debug: 4.4.0 + kolorist: 1.8.0 + local-pkg: 1.1.1 + magic-string: 0.30.17 + typescript: 5.8.3 + optionalDependencies: + vite: 6.2.5(@types/node@22.14.0)(terser@5.39.0) + transitivePeerDependencies: + - '@types/node' + - rollup + - supports-color + vite@6.2.5(@types/node@22.14.0)(terser@5.39.0): dependencies: esbuild: 0.25.2 From 05036f7c09587eed120251e3a61749efd9f8df8e Mon Sep 17 00:00:00 2001 From: owjs3901 Date: Mon, 7 Apr 2025 11:31:28 +0900 Subject: [PATCH 2/2] Change breakpoint keyword --- .changeset/vast-knives-tell.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/vast-knives-tell.md diff --git a/.changeset/vast-knives-tell.md b/.changeset/vast-knives-tell.md new file mode 100644 index 00000000..d534d308 --- /dev/null +++ b/.changeset/vast-knives-tell.md @@ -0,0 +1,5 @@ +--- +"@devup-ui/wasm": patch +--- + +Change breakpoint key