Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
221 changes: 1 addition & 220 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ swc_atoms = "7.0.0"
swc_cached = "2.0.0"
swc_common = "15.0.0"
swc_core = "45.0.1"
swc_css_ast = "15.0.0"
swc_css_codegen = "15.0.0"
swc_css_compat = "15.0.0"
swc_css_minifier = "15.0.0"
swc_css_parser = "15.0.0"
swc_css_prefixer = "18.0.0"
swc_css_visit = "15.0.0"
swc_ecma_ast = "16.0.0"
swc_ecma_codegen = "18.0.0"
swc_ecma_minifier = "34.0.1"
Expand Down
9 changes: 7 additions & 2 deletions contrib/graphql-codegen-client-preset/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ impl VisitMut for GraphQLVisitor {

let platform_specific_path = self.get_relative_import_path("graphql");

// Find the position after any directive prologue (e.g., "use strict", "use cache")
// Find the position after any directive prologue (e.g., "use strict", "use
// cache")
let mut insert_position = 0;
for (index, item) in module.body.iter().enumerate() {
match item {
Expand All @@ -198,7 +199,11 @@ impl VisitMut for GraphQLVisitor {
}
}

for (i, operation_or_fragment_name) in self.graphql_operations_or_fragments_to_import.iter().enumerate() {
for (i, operation_or_fragment_name) in self
.graphql_operations_or_fragments_to_import
.iter()
.enumerate()
{
module.body.insert(
insert_position + i,
ModuleItem::ModuleDecl(ModuleDecl::Import(ImportDecl {
Expand Down
6 changes: 6 additions & 0 deletions packages/styled-jsx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @swc/plugin-styled-jsx

## 10.0.0

### Major Changes

- 90c4f87: Drop swc_css mode

## 9.5.0

### Minor Changes
Expand Down
6 changes: 6 additions & 0 deletions packages/styled-jsx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# @swc/plugin-styled-jsx

## 10.0.0

### Major Changes

- 90c4f87: Drop swc_css mode

## 9.5.0

### Minor Changes
Expand Down
Loading
Loading