Skip to content

Commit

Permalink
chore: Organize package metadata (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Mar 26, 2024
1 parent 8ad7339 commit c7ef5ed
Show file tree
Hide file tree
Showing 58 changed files with 716 additions and 306 deletions.
4 changes: 4 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# https://taplo.tamasfe.dev/configuration/formatter-options.html
[formatting]
align_entries = true
reorder_keys = true
18 changes: 9 additions & 9 deletions Cargo.lock

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

10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,21 @@ members = [
"packages/styled-jsx",
"packages/swc-magic",
"packages/transform-imports",

]


resolver = "2"


[workspace.package]
authors = ["강동윤/Donny <[email protected]>"]
edition = "2021"
homepage = "https://github.com/swc-project/plugins"
license = "Apache-2.0"
repository = "https://github.com/swc-project/plugins.git"
rust-version = "1.70"


[profile.release]
codegen-units = 1
# debug = true
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"packageManager": "[email protected]",
"private": true,
"devDependencies": {
"@changesets/cli": "^2.27.1"
"@changesets/cli": "^2.27.1",
"@taplo/cli": "^0.7.0"
}
}
12 changes: 12 additions & 0 deletions packages/emotion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @swc/plugin-emotion

## 2.5.123

### Patch Changes

- c88b22b: Align package metadata

## 2.5.122

### Patch Changes

- a3cc4fb: Organize pacakge metadata

## 2.5.121

### Patch Changes
Expand Down
36 changes: 20 additions & 16 deletions packages/emotion/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
[package]
authors = ["강동윤 <[email protected]>"]
description = "SWC plugin for https://www.npmjs.com/package/babel-plugin-transform-imports"
edition = "2021"
license = "Apache-2.0"
name = "swc_plugin_emotion"
publish = false
version = "0.18.5"
authors = { workspace = true }
description = "SWC plugin for https://www.npmjs.com/package/babel-plugin-transform-imports"
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
name = "swc_plugin_emotion"
publish = false
repository = { workspace = true }
rust-version = { workspace = true }
version = "0.18.5"


[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
serde = "1"
serde_json = "1.0.79"
swc_common = { version = "0.33.19", features = ["concurrent"] }
swc_core = { version = "0.90.22", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.112.5"
swc_ecma_utils = "0.127.12"
swc_ecma_visit = "0.98.6"
swc_emotion = { path = "./transform" }
serde = "1"
serde_json = "1.0.79"
swc_common = { version = "0.33.19", features = ["concurrent"] }
swc_core = { version = "0.90.22", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.112.5"
swc_ecma_utils = "0.127.12"
swc_ecma_visit = "0.98.6"
swc_emotion = { path = "./transform" }
swc_plugin_macro = "0.9.16"
swc_plugin_proxy = "0.41.5"
tracing = { version = "0.1.37", features = ["release_max_level_off"] }
tracing = { version = "0.1.37", features = ["release_max_level_off"] }
12 changes: 12 additions & 0 deletions packages/emotion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ Source code for plugin itself (not transforms) are copied from https://github.co
# @swc/plugin-emotion
## 2.5.123
### Patch Changes
- c88b22b: Align package metadata
## 2.5.122
### Patch Changes
- a3cc4fb: Organize pacakge metadata
## 2.5.121
### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/emotion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-emotion",
"version": "2.5.121",
"version": "2.5.123",
"description": "SWC plugin for emotion css-in-js library",
"main": "swc_plugin_emotion.wasm",
"scripts": {
Expand Down
55 changes: 29 additions & 26 deletions packages/emotion/transform/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,35 +1,38 @@
[package]
authors = ["강동윤 <[email protected]>"]
description = "AST Transforms for emotion"
edition = "2021"
license = "Apache-2.0"
name = "swc_emotion"
repository = "https://github.com/swc-project/plugins.git"
version = "0.72.6"
authors = { workspace = true }
description = "AST Transforms for emotion"
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
name = "swc_emotion"
repository = { workspace = true }
rust-version = { workspace = true }
version = "0.72.7"


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
base64 = "0.13"
byteorder = "1"
fxhash = "0.2.1"
once_cell = "1.13.0"
radix_fmt = "1"
regex = "1.5"
serde = "1"
sourcemap = "6.0.1"
swc_atoms = "0.6.5"
swc_common = "0.33.19"
swc_ecma_ast = "0.112.5"
base64 = "0.13"
byteorder = "1"
fxhash = "0.2.1"
once_cell = "1.13.0"
radix_fmt = "1"
regex = "1.5"
serde = "1"
sourcemap = "6.0.1"
swc_atoms = "0.6.5"
swc_common = "0.33.19"
swc_ecma_ast = "0.112.5"
swc_ecma_codegen = "0.148.11"
swc_ecma_utils = "0.127.12"
swc_ecma_visit = "0.98.6"
swc_trace_macro = "0.1.3"
tracing = { version = "0.1.37" }
swc_ecma_utils = "0.127.12"
swc_ecma_visit = "0.98.6"
swc_trace_macro = "0.1.3"
tracing = { version = "0.1.37" }

[dev-dependencies]
serde_json = "1"
swc_ecma_parser = "0.143.9"
swc_ecma_transforms_react = "0.183.16"
serde_json = "1"
swc_ecma_parser = "0.143.9"
swc_ecma_transforms_react = "0.183.16"
swc_ecma_transforms_testing = "0.140.15"
testing = "0.35.20"
testing = "0.35.20"
12 changes: 12 additions & 0 deletions packages/jest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @swc/plugin-jest

## 1.5.120

### Patch Changes

- c88b22b: Align package metadata

## 1.5.119

### Patch Changes

- a3cc4fb: Organize pacakge metadata

## 1.5.118

### Patch Changes
Expand Down
34 changes: 19 additions & 15 deletions packages/jest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
[package]
authors = ["강동윤 <[email protected]>"]
description = "Jest plugin for https://swc.rs"
edition = "2021"
license = "Apache-2.0"
name = "swc_plugin_jest"
publish = false
version = "0.31.4"
authors = { workspace = true }
description = "Jest plugin for https://swc.rs"
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
name = "swc_plugin_jest"
publish = false
repository = { workspace = true }
rust-version = { workspace = true }
version = "0.31.4"


[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
phf = { version = "0.10.0", features = ["macros"] }
serde = { version = "1.0.130", features = ["derive"] }
swc_common = { version = "0.33.19", features = ["concurrent"] }
swc_core = { version = "0.90.22", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.112.5"
swc_ecma_utils = "0.127.12"
swc_ecma_visit = "0.98.6"
phf = { version = "0.10.0", features = ["macros"] }
serde = { version = "1.0.130", features = ["derive"] }
swc_common = { version = "0.33.19", features = ["concurrent"] }
swc_core = { version = "0.90.22", features = ["ecma_plugin_transform"] }
swc_ecma_ast = "0.112.5"
swc_ecma_utils = "0.127.12"
swc_ecma_visit = "0.98.6"
swc_plugin_macro = "0.9.16"
tracing = { version = "0.1.37", features = ["release_max_level_off"] }
tracing = { version = "0.1.37", features = ["release_max_level_off"] }
12 changes: 12 additions & 0 deletions packages/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

# @swc/plugin-jest

## 1.5.120

### Patch Changes

- c88b22b: Align package metadata

## 1.5.119

### Patch Changes

- a3cc4fb: Organize pacakge metadata

## 1.5.118

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/plugin-jest",
"version": "1.5.118",
"version": "1.5.120",
"description": "SWC plugin for jest",
"main": "swc_plugin_jest.wasm",
"scripts": {
Expand Down
12 changes: 12 additions & 0 deletions packages/loadable-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @swc/plugin-loadable-components

## 0.3.120

### Patch Changes

- c88b22b: Align package metadata

## 0.3.119

### Patch Changes

- a3cc4fb: Organize pacakge metadata

## 0.3.118

### Patch Changes
Expand Down
Loading

0 comments on commit c7ef5ed

Please sign in to comment.